Trying to link to a record

2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 26, 2012   (RSS)

Re: [gpeterson] Trying to link to a record

By Jason - August 26, 2012

Hi,

On your first page, you need to put in some code to actually output a link.

For example, something like:

<a href = "<?php $article['_link'];?>"><?php echo $article['title'];?></a>

Please note that this is an example, and you'll need to change names to match what's on your page.

You control how _link is produced by changing the value in your section for Viewer Urls. If you edit your section, click on the Viewer Urls page and edit the value for "Detail Page". Right now, your links are not pointing to any page.

Give that a try and let me know if you run into any problems.

Thanks,
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/