Trying to link to a record

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

Very new to CMSbuilder, my problem is I've generated a list for all my news articles for the site, but I need the CMSbuilder to publish my articles to some sort of page that I can link to.
My List Page:
(http://www.flkarting.com/iframe/php_test.php )

Now my next question/thought is what is it trying to point to on this page for "_link" part: http://www.flkarting.com/iframe/php_test2.php

I think I configured it right on what detail page to pull up, but I don't know how to get the program to create a new "detail page" (article) each time a submission is sent in?

Any help would be greatly appreciated!

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/