-
AuthorPosts
-
sfpkent Friend
sfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
October 18, 2008 at 3:39 am #134543Hi,
I want to remove category at the top of each page. attached with picture file. I know we can comment it out but I want to know how to do it?
Thanks ang God bless!
Kent
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
October 18, 2008 at 2:49 pm #276011Hi Kent,
I don’t have this particular template loaded but I’ll take an educated guess.
In your VirtueMart control area where categories are listed…click on the category you are wanting to hide…and then look at the parameters. There should be a “Show Category Title” area…and select “hide” or “no”.If you would share a URL of your site…I could pin point other ways to get rid of it.
Thanks,
John.shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
October 19, 2008 at 1:25 am #276067that must be a code included in the template and you must find in the particular document to see waht line of code it is.
tell me it is in the products flypage or in the browse category page that you have this???
i ha ve made some tweekings yet with one sites i work for and i will point you in the right direction
the way to comment in php is as it
if you want to comment one line use the following
//
if you want to comment a block of code use the following
/* */
mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
October 19, 2008 at 3:57 am #276075did you install the VM theme that came with mesolite?
sfpkent Friendsfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
October 19, 2008 at 5:59 am #276077Hi,
I have already install VM theme for JA Mesolite.
Shertmann is right. I have actually done it once before but I forgot which file I should go for to comment out. I login to virtuemart.com, but the stupid website doesn’t load.
Honestly speaking, joomlart is more active and more helpful than virtuemart.com.
Anyway, I will search for it and get back here.
Kent
sfpkent Friendsfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
October 20, 2008 at 4:50 am #276168Hi,
I used the same way to comment out and delete the codes below, it worked on other template but not on JA Mesolite.
<?php
defined( ‘vmToolTipCalled’) or define(‘vmToolTipCalled’, 1);
echo $vendor_store_desc.”<br />”;
echo “<br /><h4>”.$VM_LANG->_(‘PHPSHOP_CATEGORIES’).”</h4>”;
echo $categories; ?>
<div class=”vmRecent”>
<?php echo $recent_products; ?>
</div>
<?phpchange to
<?php
defined( ‘vmToolTipCalled’) or define(‘vmToolTipCalled’, 1);
echo $vendor_store_desc.”<br />”;
//echo “<br /><h4>”.$VM_LANG->_(‘PHPSHOP_CATEGORIES’).”</h4>”;
//echo $categories; ?>
<div class=”vmRecent”>
<?php echo $recent_products; ?>
</div>
<?phpeven delete them:
<?php
defined( ‘vmToolTipCalled’) or define(‘vmToolTipCalled’, 1);
echo $vendor_store_desc.”<br />”;<div class=”vmRecent”>
<?php echo $recent_products; ?>
</div>
<?phpbut not worked on JA Mesolite, it worked on other templates, any advice?
Thanks!
Kentsfpkent Friendsfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
October 20, 2008 at 4:52 am #276170Hi,
Forgot to tell, the file I edited is shopIndex.tpl.php, file location at:
mywebsitecomponentscom_virtuemartthemesja-mesolitetemplatescommon
Thanks!
Kentsfpkent Friendsfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
October 20, 2008 at 5:39 am #276174Hi,
I have tried another way but still not working (because the code is not there at all), I believe that the JA Mesolite VM theme has been changed.
Here is another way I found, the code is not in this file:
Edit the file ps_product_category.php, located at:
administrator/components/com_virtuemart/classes
So, what can I do now?
Thanks!
Kentsfpkent Friendsfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
October 20, 2008 at 5:41 am #276175Hi,
Sorry forgot to attached the code, I am really headache because of this, already few days, keep wasting time only looking for this solution:
In that file, around line 884 comment out or delete the line that says:-
$html .=$VM_LANG->_PHPSHOP_MORE_CATEGORIES.'<br />’;Kent
sfpkent Friendsfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
October 20, 2008 at 5:47 am #276176Hi shertmann,
Here is the link, I just uploaded to my hosting:
Kent
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 4 voices, and was last updated by sfpkent 16 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to remove categories of top of each page?
Viewing 10 posts - 1 through 10 (of 10 total)