Author Topic: Remove category title from virtuemart category page  (Read 14006 times)

peteo

  • Beginner
  • *
  • Posts: 6
Remove category title from virtuemart category page
« on: June 25, 2010, 23:30:08 pm »
Hi,
I need to remove the Virtuemart category title from a page acting as my home page, can this be done without amendng html?

peteo

  • Beginner
  • *
  • Posts: 6
Re: Remove category title from virtuemart category page
« Reply #1 on: August 05, 2010, 09:45:22 am »
Left this issue a bit and now trying to resolve it.

When you point Joomla to a virtuemart product page, it displays a category title. I've looked in the phps on the site and can not see one which would allow me not to show the title or remove the area, none that seem to work. I've scoured the posts and the one that did reference the category title didnt work.

Any ideas?
Thanks


AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3510
  • VirtueMart Version: 3.8.9
Re: Remove category title from virtuemart category page
« Reply #2 on: August 05, 2010, 12:11:01 pm »

Try

components
com_virtuemart
themes
Your theme
templates
browse
includes
browse_header_category.tpl.php

If not this then what flypage are you using?
Regards
A

Joomla 3.9.27
php 7.4

peteo

  • Beginner
  • *
  • Posts: 6
Re: Remove category title from virtuemart category page
« Reply #3 on: August 05, 2010, 15:00:11 pm »
Thanks Andrew, I finally got there just moments before I saw your post, good exercise though.

Exactly right, i removed <?php echo $browsepage_lbl; ?>  from the H3 block. Just remember to put it back if you add a second category and need to show the category title

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3510
  • VirtueMart Version: 3.8.9
Re: Remove category title from virtuemart category page
« Reply #4 on: August 05, 2010, 19:45:29 pm »
Glad to be of help!
Regards
A

Joomla 3.9.27
php 7.4

crazihel

  • Beginner
  • *
  • Posts: 43
Re: Remove category title from virtuemart category page
« Reply #5 on: October 26, 2010, 12:49:24 pm »
This is the exact same process I followed and it worked perfectly. Now, however, I want the category page titles back so I did the logical thing and put the code back.

The titles appear in the front end again, but no longer get modified when I apply design templates. Every other page title changes size, font & alignment as I have specified, but none of the category titles do anymore.

Can anyone suggest anything I can do? Any help very much appreciated :)

chiappa

  • Beginner
  • *
  • Posts: 32
Re: Remove category title from virtuemart category page
« Reply #6 on: March 14, 2012, 18:57:33 pm »
Was a pain finding it in Virtuemart 2.0.2 using Joomla! 2.5.2 so I'll post it here:

components/com_virtuemart/views/virtuemart/tmpl/default_categories.php

line:

Code: [Select]
<h4><?php echo JText::_('COM_VIRTUEMART_CATEGORIES'?></h4>
->

Code: [Select]
<!--    <h4><?php echo JText::_('COM_VIRTUEMART_CATEGORIES'?></h4> -->
cheers.

marcopais

  • Guest
Re: Remove category title from virtuemart category page
« Reply #7 on: March 18, 2012, 16:11:57 pm »
Thanks chiappa,

I have been searching this for a while :)

Nice job!

Marco