Notice: CMS Builder v1.16 & v1.17 released! (June 5th)

2 posts by 1 authors in: Forums > CMS Builder
Last Post: June 5, 2008   (RSS)

Re: [Dave] Notice: CMS Builder v1.16 & v1.17 released! (June 5th)

By Dave - June 5, 2008

And only hours later... v1.17. Special thanks to Peter for reporting an error that appears when you erase a record on some servers.

If you just upgraded to v1.16 you only need to download the files attached to this thread: http://www.interactivetools.com/iforum/P62782/

Otherwise, you can use the download links in the above post.

Here's what's new:
- Section Editors: Fixed bug where erasing record caused error.
- Code Library: Added new function: getListOptions($tablename, $fieldname) to load pulldown list options

The getListOptions makes it easy to display the same list of values as you have in a list field but in a webpage. It works like this:

<?php foreach (getListOptions('tablename', 'fieldname') as $value => $label): ?>
... display $value and $label here as pulldown or something else ...
<?php endforeach; ?>


It's useful in cases such as when you have a list of categories and you want to display them as a pulldown in the editor, but also as menu choices on the website.

Hope that helps, any questions please let us know! :)
Dave Edis - Senior Developer
interactivetools.com