Menu

General project discussion. NOT for help questions.
Post Reply
fadum

Menu

Post by fadum »

How could i put in a simple <a href menu, no bullets etc, just one href after another?

oh, and im sure its possible in pimenu, but without english instructions its useless to me.

thanks
westis

Re: Menu

Post by westis »

Hi fadum,

Do you want links below each other? Or beside each other? You can still use bulletmenu, but through the stylesheet select not to display the bullets (list-style: none for the li items).

All the three default menus that will be included with the CMSMS 0.11 (bulletmenu, CSSMenu and EllNav) use unordered lists to build the menus. You can see examples at http://svntest.cmsmadesimple.org
fadum

Re: Menu

Post by fadum »

just need a link then a link link etc, cant have

no problem ill hack a menu

Cheers
westis

Re: Menu

Post by westis »

fadum wrote: just need a link then a link link etc, cant have

no problem ill hack a menu

Cheers
Why can't you have ?
Piratos

Re: Menu

Post by Piratos »

oh, and im sure its possible in pimenu, but without english instructions its useless to me.
Use the translator service of google , altavista or so.

This is a simple template call it simple.tpl and place it in tmp/templates.

{foreach from=$rawmenu item=entry}
{if $entry->type neq 'separator'}
url}"{$entry->menutext}

{else}

{/if}
{/foreach}


to use it

{pimenu template="simple.tpl"} 
fadum

Re: Menu

Post by fadum »

Patricia wrote: of course you can have , but as westis mentioned, do not forget to have "list-style: none"  in your css for the li definition

then : no bullets :)

I understand that, just not very tidy.
Use the translator service of google , altavista or so.

This is a simple template call it simple.tpl and place it in tmp/templates.

{foreach from=$rawmenu item=entry}
{if $entry->type neq 'separator'}
url}"{$entry->menutext}

{else}

{/if}
{/foreach}


to use it

{pimenu template="simple.tpl"} 
will give it a go,

Thanks
fadum

Re: Menu

Post by fadum »

Thanks Piratos, works just fine
kazuki

Re: Menu

Post by kazuki »

Doesn't work for me :( I get a blank page.
fadum

Re: Menu

Post by fadum »

kazuki wrote: Doesn't work for me :( I get a blank page.
Typo, change this

Code: Select all

<a href="{$entry->url}"{$entry->menutext}</a><br />
to this

Code: Select all

<a href="{$entry->url}">{$entry->menutext}</a><br />
That should help
Post Reply

Return to “General Discussion”