How can you create a dyamic <select> tag menu?

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
winzippy

How can you create a dyamic <select> tag menu?

Post by winzippy »

This is how the site is set up:

Home

Dept 1
    Category 1
        Product 1
        Product 2
        Product 3
    Category 2
        Product 1


Dept 2
    Category 1
        Product 1
        Product 2


Basically, I want to put a menu in the category with options to click on the products. I could code this manually, but this need be built dynamically by cmsms.

Any ideas?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How can you create a dyamic <select> tag menu?

Post by Dr.CSS »

Not sure what you mean by this do you have an example?...

You can use, when editing/adding a page, Content Type: 'link'...
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: How can you create a dyamic <select> tag menu?

Post by hexdj »

if I understand correctly what you mean is, sort of a dropdown menu, but using the tag that is usually found in forms?

You'll have to go to Menu Manager and edit your default template. You basically have to replace the tags for and the tags for . I am not exactly sure how to trigger the link when its selected though.
Post Reply

Return to “Developers Discussion”