How to Add three different menu

General project discussion. NOT for help questions.
Post Reply
robert_rajan
New Member
New Member
Posts: 5
Joined: Thu Jul 02, 2009 11:45 am

How to Add three different menu

Post by robert_rajan »

Hi every one,

i am very much new in CMS Made Simple. I am using CMS MLE 1.5.3 and want to add three different menu in my site.
But problem is that whenever i create new page and give Menutext then this menutext  apeers in all three menus. But i want to define pages or menu item  on menu basis.

I hope u can understand my problem, so pls help me...............

???  ???  ???  ???
robert_rajan
New Member
New Member
Posts: 5
Joined: Thu Jul 02, 2009 11:45 am

Re: How to Add three different menu

Post by robert_rajan »

pls help me because i am very much in trouble
alby

Re: How to Add three different menu

Post by alby »

robert_rajan wrote: I hope u can understand my problem...............
No
What you want?
1. Menutext of that page different for different menu? Maybe you want a "alias" of this page, same content but a different menutext, title, in other tree part ....

2. Menutext of that page different for any "language" menu? Maybe you have a wrong MLE installation, try with 1.6 MLE

3. ?

Alby
robert_rajan
New Member
New Member
Posts: 5
Joined: Thu Jul 02, 2009 11:45 am

Re: How to Add three different menu

Post by robert_rajan »

First of all thank u for your response.

Actualy i am having three menu. One top menu, one left menu and one footer menu. i want to  add a page on every menu item.
In Top menu i am having 6 menu item, in left menu i am having three menu item and in footer i am having three menu item.
But whenever i create a page and give respective menu text for top menu it also displayed in left menu and footer menu.

Pls help me immediately because i have to deliver this site today itself but i am able not to create menus.  
Last edited by robert_rajan on Thu Jul 02, 2009 2:21 pm, edited 1 time in total.
alby

Re: How to Add three different menu

Post by alby »

robert_rajan wrote: Actualy i am having three menu. One top menu, one left menu and one footer menu. i want to  add a page on every menu item.
In Top menu i am having 6 menu item, in left menu i am having three menu item and in footer i am having three menu item.
But whenever i create a page and give respective menu text for top menu it also displayed in left menu and footer menu.
I think that you have not understand what do {menu} tag (or MenuManager module)
MenuManager display your partial or full tree (that you display in List Content page of admin part)

I advice you to read and try:
http://wiki.cmsmadesimple.org/index.php ... nu_Manager

Alby
robert_rajan
New Member
New Member
Posts: 5
Joined: Thu Jul 02, 2009 11:45 am

Re: How to Add three different menu

Post by robert_rajan »

Sorry for my poor understanding but i ma not able to define menus and add page link on menus.

Suppose I have create one page for my top menu  HOME and give the menu tet Home. But this Home Menu text also appear in my left menu. pls Suggest me how can i avoid this.
This is the the code  i have used to display top menu item but client is not happy with this approach.

{if $count > 0}
{php} $page = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];$this->assign('page',$page);{/php}
{foreach from=$nodelist item=node}
{if $node->id != 65 && $node->id !=66 && $node->id !=67 && $node->id !=68 && $node->id !=69 && $node->id != 70 && $node->id != 71 && $node->id != 72}
{php} global $count_item; $count_item=3; $this->assign('varX',$count_items); {/php}

{ if $varX is not odd }

{ /if }
url eq $page}  class="back"  {/if}>url}" {if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}

{ if $varX is not even}

{ /if }
{php}$count_items=$count_items+1; {/php}
{/if}

{/foreach}

{/if}


Following are node ids who belongs to my left and footer menu.

{if $node->id != 65 && $node->id !=66 && $node->id !=67 && $node->id !=68 && $node->id !=69 && $node->id != 70 && $node->id != 71 && $node->id != 72}
Last edited by robert_rajan on Fri Jul 03, 2009 5:35 am, edited 1 time in total.
alby

Re: How to Add three different menu

Post by alby »

robert_rajan wrote: Sorry for my poor understanding but i ma not able to define menus and add page link on menus.
...........
Move because is not MLE related.

??? I can say: I'm glad to see a vivid imagination but sorry it's not right way .....
(logic in presentation and ... next time that you add a new page or delete page id 66 and re-add a new page??? you must following always your editors ...)
Follow my advices:
- DROP php tag from template and use smarty sintax
- READ MenuManager documentation and look for examples
- READ MenuManager help for usefull params

Alby
robert_rajan
New Member
New Member
Posts: 5
Joined: Thu Jul 02, 2009 11:45 am

Re: How to Add three different menu

Post by robert_rajan »

ok thank you for your kind support. I think first i have to learn deeply then go for development.
But i am joomla 1.5 developer and certainly shifted in this cms with a live project. so i am little bit worry.

OK anyway thanks alot for your quick replies.
Post Reply

Return to “General Discussion”