0
Welcome Guest! Login
0 items Join Now

Hide Sidebar Menu Title

  • Hide Sidebar Menu Title

    Posted 14 years 8 months ago
    • I am using a splitmenu with 3 levels and everything works fine except that the sidebar menu (level 3) is always using a category title + menu for its title.

      Ideally, I would like to turn the entire title off because it is not really needed since the title is also the selected submenu item (level 2). How can I do that?

      Last, but not least, why does it append the word "menu"? That seems to be unnecessary. Can that be changed as well?

      Thanks,
      Jens
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Hide Sidebar Menu Title

    Posted 14 years 8 months ago
    • Hi Jens,

      Which template are you using for this site?

      Also, if the site is live it is a good idea to include the URL in a post asking for assistance. If it is not online then it is a good idea to provide screen shots with arrows pointing to the concerned area.
  • Re: Hide Sidebar Menu Title

    Posted 14 years 8 months ago
    • Hi,

      This problem is the same for all templates. Since the problem happens for any sidebar menu I don't think a screen shot is needed.

      If needed I can PM you a site link.

      Thanks,
      Jens
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Hide Sidebar Menu Title

    Posted 14 years 8 months ago
    • sure PM the URL. :D
  • Re: Hide Sidebar Menu Title

    Posted 14 years 8 months ago
    • Please ignore my PM.

      I found that I can change (or remove) the title of sidebar menus here in file /templates/rt_kinetic_j15/html/modules.php:
       
      <div class="module-title"><h2 class="title"><?php echo $menu_title_item->name.' '.JText::_('Menu'); ?></h2></div>
       

      If I am not mistaken, similar code can be found in the respective file for other templates as well.

      It would be nice if this could be included in the gantry configuration in a future release.

      One problem resolved... ;)

      Thanks,
      Jens
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Hide Sidebar Menu Title

    Posted 14 years 8 months ago
    • Hi,

      Have you already set the Show Title option (in the module manager for the respective menu) to "No"?
      This image is hidden for guests.
      Please log in or register to see it.
  • Re: Hide Sidebar Menu Title

    Posted 14 years 8 months ago
    • Title display is set to "No" in the menu item and in the module as well, but it still displays anyhow.

      I just removed the title from my page using the method above. While doing so I found that it looks nicer when I actually just remove the following code:
      <h2 class="title"><?php echo $menu_title_item->name.' '.JText::_('Menu'); ?></h2>

      This way you get to keep the small frame if you are using the box style. :)

      Thanks,
      Jens
    • Last Edit: 14 years 8 months ago by Jens Straten.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Hide Sidebar Menu Title

    Posted 14 years 8 months ago
    • Hi,

      If you like you can PM me super admin login info so that we can take a closer look.
  • Re: Hide Sidebar Menu Title

    Posted 14 years 8 months ago
    • Just sent you a PM.

Time to create page: 0.088 seconds