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

Hi all,

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
The first CMS Builder reference book is now available on-line!







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

Hi Gkornbluth,

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

Thanks Paul,

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
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Attachments:

info1.jpg 284K

Re: [Pixels & Beats] Displaying “info1" in ListPage Fields

Oops.

Try now

Jerry
The first CMS Builder reference book is now available on-line!







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

Hi Jerry,

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.
All the best,
Chris

Re: [chris] Displaying “info1" in ListPage Fields

Hi Chris,

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
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php