Displaying “info1" in ListPage Fields
7 posts by 3 authors in: Forums > CMS Builder
Last Post: November 29, 2010 (RSS)
By gkornbluth - November 27, 2010 - edited: November 29, 2010
I’m sure I missed it in my search.
Is there a way to display the information contained in the “info1" field of an upload named “list_page_image” in the Section Editor ListPage Fields? I’m using it for the title of the image.
Thanks,
Jerry Kornbluth
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Displaying “info1" in ListPage Fields
The section the may help you with this is located at:
http://www.interactivetools.com/docs/cmsbuilder/uploads.html
Here is an example of the info1 being used:
<?php foreach ($record['images'] as $upload): ?>
<?php if ($upload['hasThumbnail']): ?>
<img src="<?php echo $upload['thumbUrlPath'] ?>" width="<?php echo $upload['thumbWidth'] ?>"
height="<?php echo $upload['thumbHeight'] ?>" alt="<?php echo $upload[info1] ?>" title="<?php echo $upload[info2] ?>"/>
<?php endif ?>
<?php endforeach ?>
You can show the info1 wherever you want using the same technique. Hope this helps. If not it might be good to post an example of your code here :)
Paul
Re: [Pixels & Beats] Displaying “info1" in ListPage Fields
By gkornbluth - November 29, 2010 - edited: November 29, 2010
Sorry for the confusion, but that's not what I meant.
I wanted to list the info1 information in the Section Editor ListPage fields, not in a viewer.
I've attached an example.
Thanks,
Jerry
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Displaying “info1" in ListPage Fields
No problem :) However I am unable to see your example [:(]
Re: [Pixels & Beats] Displaying “info1" in ListPage Fields
Try now
Jerry
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] Displaying “info1" in ListPage Fields
By Chris - November 29, 2010
I'm afraid that's not currently possible, although we could get that working for you with a little custom programming. Please let me know if that's something you're interested in.
Chris
Re: [chris] Displaying “info1" in ListPage Fields
Thanks for the update.
I wish that custom programming was possible on this, but it isn't.
Might make an interesting addition to an updated version down the road though.
best,
Jerry
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php