-
AuthorPosts
-
ddrinkal Friend
ddrinkal
- Join date:
- May 2007
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 7 times in 1 posts
November 8, 2007 at 1:29 am #123670Is anyone using virtuemart with this template and having it layout properly when you are on the shopping cart page? If so, how did you do it? My development site is at http://www.stop21.com/~lastfirs/index.php?page=shop.cart&option=com_virtuemart&Itemid=26 – any suggestions??
ddrinkal Friendddrinkal
- Join date:
- May 2007
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 7 times in 1 posts
November 8, 2007 at 6:03 am #232471thanks for all your replies :p … its fine now … I found the problem … not really a joomlart template problem … just me being a bit dim
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
November 8, 2007 at 6:17 am #232472It would be nice if you posted what you did to make it work?
December 6, 2007 at 7:54 am #234017Hi Ddrinkal,
Can you please tell us how you fixed the layout ? The site : http://www.stop21.com/~lastfirs/inde…rt&Ite mid=26 Looks really nice and i would like to be able to do that ?
December 6, 2007 at 12:20 pm #234033Hi People,
Having a few problems with JA Mageia & VirtueMart. The logical thing to do in my mind was to try make it look like JA Larix as this is a very nice shopping cart layout. So i have gone about it this way. I looked at Laryx index.php file and noticed there is a VirtueMart Hack in the file :
<?php
//////////////////////////////////////
/// Hack for Virtuemart shop browse///
global $option, $category_id, $page;
if ($option == ‘com_virtuemart’){
$cols = 0;
if (!empty($category_id)) {
$cols = 2;
$sql = “select products_per_row from #__vm_category where category_id=$category_id”;
$database->setQuery($sql);
$cols = $database->loadResult();
}
if (!$cols) $cols = PRODUCTS_PER_ROW;
?>
<script language=”javascript” type=”text/javascript”>function initAdjustVM () {
adjustVMCatList (‘ja-productwrap’, <?php echo $cols; ?>);
}jaAddEvent (window, ‘load’, initAdjustVM);
</script>
<?php
}
/// End Hack for Virtuemart shop browse///
//////////////////////////////////////////
?>So i copied this into the header of the Mageia index.php file.
Then i took all these files ad put them in the relevant folders on the server :
ja-vm.css
ja_vm_cat_browse.php
images – all the VM images i could find in the Laryx template that are used for Virtuemart.The browse page looks like its working but i am having problems with the Flypage.
Actually even prior to trying to make it look like the Laryx template it displayed like this and that is why i decided to do this little mod.Could you please advise me what to do ?
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by terence 16 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum