MENUS FOR MULTIPLE PAGE RECORDS + PHOTO UPLOAD
2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 5, 2010 (RSS)
By csdesign - August 5, 2010
MENU:
On the multiple record pages, it is possible to have a self generated drop down list menu at the top or something similar to that?
I'm open to suggestions. I'd like to do that on the recipes section: http://www.aubriericheson.com/recipes.php
I'd like to split the recipes/records up into categories: Breakfast, Lunch, Dinner & Protein Shakes. Is that possible or would I need to create a separate Multi Record Section for each category? I would also like to have a record count for each category ( breakfast (12), Lunch (6), etc. )
PHOTO UPLOAD:
I'd like to give her the option of adding a single photo to each recipe and on other text pages such as the contact page where I added one manually, I'd prefer for her to be able to use the upload since she won't be ftping. I know I should add that field in the Section Editor but then how do I get that single image to display on the page
as a thumbnail size with a link to the enlargement when clicked on (I'm using lightbox)
On the multiple record pages, it is possible to have a self generated drop down list menu at the top or something similar to that?
I'm open to suggestions. I'd like to do that on the recipes section: http://www.aubriericheson.com/recipes.php
I'd like to split the recipes/records up into categories: Breakfast, Lunch, Dinner & Protein Shakes. Is that possible or would I need to create a separate Multi Record Section for each category? I would also like to have a record count for each category ( breakfast (12), Lunch (6), etc. )
PHOTO UPLOAD:
I'd like to give her the option of adding a single photo to each recipe and on other text pages such as the contact page where I added one manually, I'd prefer for her to be able to use the upload since she won't be ftping. I know I should add that field in the Section Editor but then how do I get that single image to display on the page
as a thumbnail size with a link to the enlargement when clicked on (I'm using lightbox)
Re: [csdesign] MENUS FOR MULTIPLE PAGE RECORDS + PHOTO UPLOAD
By Chris - August 5, 2010
Hi csdesign,
Yes, you can generate drop down lists. What did you want to list?
Check out the [url http://www.interactivetools.com/forum/gforum.cgi?post=77230]Sub-categories Tutorial[/url] for some options on how to split up your records into categories.
I think the simplest way to get record-counts-per-category would be with an SQL query. Something like SELECT categories.title, COUNT(*) FROM articles JOIN categories ON articles.category = categories.num GROUP BY articles.category; Let me know when you've got your table and field names all figured out and I can help you out with this.
Regarding the photo uploads, can you show me an example of what the HTML is supposed to look like for your lightbox script? I can show you what PHP to use to get the same HTML output.
Hope this helps! Please let me know if you have any questions.
Yes, you can generate drop down lists. What did you want to list?
Check out the [url http://www.interactivetools.com/forum/gforum.cgi?post=77230]Sub-categories Tutorial[/url] for some options on how to split up your records into categories.
I think the simplest way to get record-counts-per-category would be with an SQL query. Something like SELECT categories.title, COUNT(*) FROM articles JOIN categories ON articles.category = categories.num GROUP BY articles.category; Let me know when you've got your table and field names all figured out and I can help you out with this.
Regarding the photo uploads, can you show me an example of what the HTML is supposed to look like for your lightbox script? I can show you what PHP to use to get the same HTML output.
Hope this helps! Please let me know if you have any questions.
All the best,
Chris
Chris