I need to create an index page which contains an alphabetical list of pages from a folder (sorted by their title) and a link to that particular page. Therefore when admin adds a new page in the sub-folder it automatically updates this ’index’ page.
I’m completely new to PHP so can’t figure it out via a new snippet, and can’t figure out if an exisiting one does this?
PHP version 4.4.3
MySQL version 4.0.27-standard
Operating System and version Apache 1.3.37 (Unix)
Browser name and version IE 6.0.29
Operating System and version Win XP
The DropMenu snippet allows you to set the orderBy value:
where the startDoc value is the ID of the folder containing the documents you want listed. This will generate a simple unordered list of links that you can style as you like.
Sorry... need to put a & in front of the startDoc!
Brilliant thank you very much for your help
I was wondering if anyone can help - I now have an alphabetical list - works brilliantly.
However on the site the ’pages’ are increasing and the client has decided, that yes, they want the alphabetical list, but they don’t want each page displayed on the side menu.
When I got to each page and unselect ’Show in Menu’, not only are they removed from the side-menu, they also disappear from the ’alphabetical’ page created with help above. I’ve tried refreshing the site but with no luck.
Any help please?
Managed to figure it out myself - woo hoo !
In the Snippet ’Drop Menu’ simply change the ’$maxLevels’ value from ’0’ which allows everything to be shown to ’1’ to allow just one level to be shown.
Thanks for looking, David