First project with couchcms, and the help here has already been invaluable. Thanks.
I have been building a simple member directory or contact book for a site which will be maintained by an admin. (ie. all the details are added by the admin not a member) I set up a simple cloneable template, and a new page will be created for each individual.
After looking through all the tags I decided on the following plan.
1. Set up 26 virtual folders A-Z and so each member profile will rest in a folder based on the first letter of the last name.
2. Set up a page that out puts links A-Z (using zebra) to those individual folders.
3. Clicking on the letter for the desired last name, will load the page view, and using the page tag, will list the members and contact details sorting them alphabetically by last name. (I have the last name field set up to replace the title field so I can order the results by page_title.)
What do you think, is this the best way to do it, or is there a better way I have over looked?
Also is there any way of ordering the pages by alphabetical order in the admin panel rather than the order they were entered so if details need to be changed the name can be found more easily?
I have been building a simple member directory or contact book for a site which will be maintained by an admin. (ie. all the details are added by the admin not a member) I set up a simple cloneable template, and a new page will be created for each individual.
After looking through all the tags I decided on the following plan.
1. Set up 26 virtual folders A-Z and so each member profile will rest in a folder based on the first letter of the last name.
2. Set up a page that out puts links A-Z (using zebra) to those individual folders.
3. Clicking on the letter for the desired last name, will load the page view, and using the page tag, will list the members and contact details sorting them alphabetically by last name. (I have the last name field set up to replace the title field so I can order the results by page_title.)
What do you think, is this the best way to do it, or is there a better way I have over looked?
Also is there any way of ordering the pages by alphabetical order in the admin panel rather than the order they were entered so if details need to be changed the name can be found more easily?