how can I use the same source on two different pages?

3 posts by 3 authors in: Forums > CMS Builder
Last Post: September 14, 2009   (RSS)

Does anyone know if I can use the same data source in CMSB on two different pages?

Here is the situation. I have a site with both a public part and a password protected section. They have slightly different templates and of course one page is secure and the other is not.

I have a multi-record section that I want to use on two different templates - because I need to put the URL path in the cmsb record section I am not sure if I could do this let alone how.

The public part of the website is here: http://www.tpschool.org the private part is the parent portal referenced on that page (but not live yet). Under "who we are" is a section called family diversity @tps and I want to have that same information included in the parent portal but with the parent portal template.

The parent portal in its undone state is here: http://www.tpschool.org/pptl/index.php

any help is appreciated.

Thanks

craig
Thanks

Craig

Re: [craighodges] how can I use the same source on two different pages?

By Donna - September 14, 2009

Hi Craig!

Definitely do-able -- the URL in the back end part simply automates a few things for you... but you can definitely do those parts manually.

For example, instead of using the _link option (ie, <a href="<?php echo $record['_link'] ?>">)

...you could instead do this:

<a href="newfilename.php?<?php echo $record['num'] ?>">

Since CMS Builder uses the number on the end of the record to figure out which record to pull in, you just need to make sure the record number is listed there.

Does that make sense? Let me know if you need more help with that. :)
Donna

--
support@interactivetools.com