File Upload Descriptions
3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 5, 2008 (RSS)
By s2smedia - November 5, 2008
I was wondering if there is a way to add a title and caption to uploaded files that can be used to display on the website. I know it allows for a title and caption but is only used for cms purposes.
Thanks!!
Thanks!!
Re: [s2smedia] File Upload Descriptions
By Dave - November 5, 2008
Hi s2smedia,
The title and caption fields are stored as info1, info2, etc in the uploads database. They can be displayed like this:
Hope that helps!
The title and caption fields are stored as info1, info2, etc in the uploads database. They can be displayed like this:
<?php foreach ($newsRecord['uploads'] as $upload): ?>
...
Title: <?php echo $upload['info1'] ?><br/>
Caption: <?php echo $upload['info2'] ?><br/>
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com