Page 1 of 1

How to remove "1,2,3" on the left side of menu?

Posted: Fri Sep 15, 2006 7:05 am
by jimmychuang
How to remove "1,2,3" on the left side of menu?

Chek out here: www.casinobonuswatch.net


Also, how to remove "current page 1" on the left side of "HOME"?

Re: How to remove "1,2,3" on the left side of menu?

Posted: Fri Sep 15, 2006 7:45 am
by Russ
Have a look in the Menu Manager Templates in Modules. I'm not sure which one you are using, but it is usually the

Code: Select all

<dfn>{$node->hierarchy}: </dfn>
That display the numbers, so carefully remove it and save the template. (You may want to save it with a different name or make a backup first.)

I thought there was a way to do this from the calling tag? But I can't seem to see it. Can anybody else help here?

Russ

Re: How to remove "1,2,3" on the left side of menu?

Posted: Fri Sep 15, 2006 3:27 pm
by jimmychuang
Russ wrote: Have a look in the Menu Manager Templates in Modules. I'm not sure which one you are using, but it is usually the

Code: Select all

<dfn>{$node->hierarchy}: </dfn>
That display the numbers, so carefully remove it and save the template. (You may want to save it with a different name or make a backup first.)

I thought there was a way to do this from the calling tag? But I can't seem to see it. Can anybody else help here?

Russ
Menu Manager Templates in Modules?  I don't know where to edit it?

I use the default module of the latest CMSMS 1.01

Re: How to remove "1,2,3" on the left side of menu?

Posted: Fri Sep 15, 2006 5:22 pm
by westis
jimmychuang,

In the default templates/stylesheets the tag is hidden with CSS. It is there because of accessibility, to make it easier for blind users to understand wehre they are in the hierarchy.

To hide it with CSS, add this to any stylesheet that is attached to your template:
dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}


Or simply attach the stylesheet "Accessibility and cross-browser tools" that comes with the default installation of 1.0.


If you rather want to remove the tags entirely, as Russ suggests, you have to edit the template file for MenuManager (the module that creates the menus). You find those templates in /modules/MenuManager/templates. If you haven't actively selected another menu template you are using simple_navigation.tpl.

For more info, read the help for MenuManager.

Hope that helps.

Re: How to remove "1,2,3" on the left side of menu?

Posted: Sun Oct 01, 2006 3:32 pm
by tigercat
Hi westis Thank you That helped me a lot Regards tigercat.