Menu with <strong> word

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
aozuas

Menu with <strong> word

Post by aozuas »

First of all: CMSMS is the best

Hello everyone,

I'm running CMS Made Simple 1.0.2 "Maui" with PHP Version 4.4.3, MySQL 4.1.21 and apache.

I made that site using CMSMS:

http://www.las.ufsc.br

But I am having a little problem that I can't solve: the menu has the departments description plus its acronym. But the acronyms need to be in bold. I couldn't manage to apply bold using the field "Menu Text:" in the admin area (seems that the field didn't accept html tags), than I did the menu by hand, but the problem is that now the menu is not dynamic.

How can I solve my problem?

Thank You,

Aleph Ozuas
http://www.ciberarte.com.br
Last edited by aozuas on Mon Dec 04, 2006 9:10 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu with <strong> word

Post by Dr.CSS »

Put the acronym in as the page title and call it in the menu manager with a class and a
before it then you can style it in CSS...

Which menu did you want to use?...
Last edited by Anonymous on Tue Dec 05, 2006 5:29 pm, edited 1 time in total.
aozuas

Re: Menu with <strong> word

Post by aozuas »

I will use the minimal_menu.tpl, but I will style it.

But, your solution didn't solve my problem. Seems that the menu is not dynamic yet. Lets suppose that the users want to add a new department with a new acronym, then I will need to edit the tpl again. Or, lets suppose that the users change one page title, again, I will need to edit the tpl.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Menu with <strong> word

Post by Dr.CSS »

If you use the menu manager to make your menus then it will be come dynamic...

Go to Menu Manager and the second tab if template files click the little icon on the right to copy it, rename and submit now you have a menu template that you can customize...

url}"{if $node->target ne ""} target="{$node->target}"{/if}> {$node->menutext}
id}"{$node->alias}


Something like this, id}"{$node->alias},  could give you a class of acro15 for Home and you can use the alias on the option tab in content edit mode to put your acronym in that is used in {node->alias}
aozuas

Re: Menu with <strong> word

Post by aozuas »

Mark, you are a genius!

I was traveling and just arrived. Tried your solution and work like a charm!

Thank you again,

Aleph Ozuas
http://www.ciberarte.com.br
Locked

Return to “Layout and Design (CSS & HTML)”