Adding description to PrettyPhoto in Grandeur theme
Permalink
Hello all,thanks to all who have helped me to date - feel like I'm coming on leaps and bounds with my C5 skills.
Your collective help would be appreciated again! My site,http://auction-direct.local-creative.co.uk/index.php/portfolio/all-... features a portfolio, but rather than linking to a specific page, I want to use the lightbox function (prettyphoto) alone.
That's fine, and set up, and the title is showing up in the description area. The title is set when setting up a new 'portfolio;' item and completing a field with the id cName. At this point, I also fill in a field with id cDescription. I would like this text to appear under the title in the lightbox.
To achieve this so far, I have set up a new class (.pp_description_full) and added all the necessary styles, then added to jquery.prettyPhoto.js - this is working as I can see it when viewing the source in Chrome. However, I don't know how I can populate that div with the pre-entered content. I presume I need to now call that data from the database ( getCollectionDescription(); )?
I am using the grandeur theme for C5. Look forward to your suggestions, thank you.
Your collective help would be appreciated again! My site,http://auction-direct.local-creative.co.uk/index.php/portfolio/all-... features a portfolio, but rather than linking to a specific page, I want to use the lightbox function (prettyphoto) alone.
That's fine, and set up, and the title is showing up in the description area. The title is set when setting up a new 'portfolio;' item and completing a field with the id cName. At this point, I also fill in a field with id cDescription. I would like this text to appear under the title in the lightbox.
To achieve this so far, I have set up a new class (.pp_description_full) and added all the necessary styles, then added to jquery.prettyPhoto.js - this is working as I can see it when viewing the source in Chrome. However, I don't know how I can populate that div with the pre-entered content. I presume I need to now call that data from the database ( getCollectionDescription(); )?
I am using the grandeur theme for C5. Look forward to your suggestions, thank you.