Hello,
Sorry I know this is my second post today... but I am kind of trying to switch to cms I hope you all understand.
I need a custumized menu, and since i am not much of php programmer i would beg for help ;]
What I am looking for is a menu templete that would assign a constant id to every page -
meaning: let's say I have three pages: news, gallery, contact...
what would fit me if we could assign an id to () news as for instance x1, gallery -> x2, contact ->x3
They must have the same id no matter what page is open currently.
Plus they should be inside ordered list(but this is standard right)
I really really need your help.
I do not care about anything else cause they will be graphic anyway and will be positioned absolutely
The code should look like:
whatever
....
and should be constant for each site
menu problem
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: menu problem
id's can only be used once on a page, classes can be used numerous times..... id's have to be unique, but classes can be re-used.....
So, do you want every menu item to use the same class? and have different id's?
So, do you want every menu item to use the same class? and have different id's?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: menu problem
basically i want something that will assign a seperete value(id or class whatever) for each page.. and later on i can assign style for each li...
...
kind regards,
thank you all
...
kind regards,
thank you all
Re: menu problem
If you call your alias pages (see in option of pages): contacts, gallery and news
you have a unique value for this menu tag
you have a unique value for this menu tag
Alby
..MenuTextOfContacts..
..MenuTextOfGallery..
..MenuTextOfNews..
Re: menu problem
still with my programming skills i am not able to create a menu template that would generate such menu...if anyone could drop a few lines of code;] it would be more than great ;]
Re: menu problem
alias}"[/color] after every <li should give you the page alias for every page so you can style each li item diff. used in menus like this...
http://multiintech.com/cmsms1.1/chesshome.html
http://multiintech.com/cmsms1.1/chesshome.html
Re: menu problem
sorry for lame question... should i create a menu template for it... or should i paste it into template... cause if to the tenplate then i need a code for url for a hrefs
ś
ś
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: menu problem
Create a new menu manager template (done by clicking on one of the file templates, and providing a new name: mytemplatename
Then make your changes as mark described above,
and call it with {menu template='mytemplatename' ...}
Then make your changes as mark described above,
and call it with {menu template='mytemplatename' ...}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.