Constructing an URL from another section

3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 27, 2010   (RSS)

Re: [videopixel] Constructing an URL from another section

By Chris - September 26, 2010

Hi videopixel,

Since your filenames contain only the title, and your List Field has that set as its "label", you can do this to get the filename:

<?php
$filenameValue = getFilenameFieldValue(array('title' => $blogRecord['related_photogallery:label']), 'title');
?>
<a href="photogallery.php?<?php echo $filenameValue ?><?php echo $blogRecord['related_photogallery'] ?>">View related photogallery</a>


I hope this helps! Please let me know if you have any questions.
All the best,
Chris

Re: [chris] Constructing an URL from another section

Thumbs UP! ;-)