Page 1 of 1

Menu with <strong> word

Posted: Mon Dec 04, 2006 8:50 pm
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

Re: Menu with <strong> word

Posted: Tue Dec 05, 2006 10:48 am
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?...

Re: Menu with <strong> word

Posted: Tue Dec 05, 2006 2:16 pm
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.

Re: Menu with <strong> word

Posted: Tue Dec 05, 2006 6:24 pm
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}

Re: Menu with <strong> word

Posted: Tue Dec 12, 2006 10:58 am
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