Information of one section into another

5 posts by 3 authors in: Forums > CMS Builder
Last Post: April 15, 2009   (RSS)

By kovali - April 7, 2009

Hi there,

I have one section called "Projects" that allows me to enter the names of different projects, then I have a 2nd section called "Buildings" were the first field is a list that pulls all the names of the projects from the "Projects" section. So buildings can be linked to one specific project, for example:

Project: NAME1 --> Buildings: A1, A2, A3, ...
Project: NAME2 --> Buildings: B1, B2, B3, ...
Project: NAME3 --> Buildings: C1, C2, C3, ...
...

Next, I have a list page where all the projects are listed with short info about each project:
NAME1 (short info)
NAME2 (short info)
NAME3 (short info)

Question: From the projects list page, how can I jump to the (Buildings)detailpage that will show me all the buildings that belong to the selected project ?? Like:
NAME1
Building A1 (detailed info)
Building A2 (detailed info)
Buiding A3 (detailed info)

In other words, how should the URL be setup in such a case pls ?

Thx for helping me out...

Koen

Re: [kovali] Information of one section into another

By ross - April 8, 2009

Hi Koen

Thanks for posting!

Do you already have the list page setup for your projects:

NAME1
Building A1 (detailed info)
Building A2 (detailed info)
Buiding A3 (detailed info)

Could you post a copy of your project list page so I can see how your code is set up?

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Information of one section into another

By kovali - April 8, 2009

Hi Ross,

see attachements pls

projects.php is the projects list page, with short description of the project and link to details (every project contains one ore more buildings)
(clicking "details" here should result into something like the next page - buildings.php)
buildings.php is a page where all the buildings of a project are listed with short info, again link to details here for every building (buildingDetail.php?)

Also see these examples:
http://www.vdwprojects.be/new/projects.php and http://www.vdwprojects.be/new/buildings.php

Thx again Ross,

Koen
Attachments:

projects.php 8K

buildings.php 8K

Re: [kovali] Information of one section into another

By Dave - April 15, 2009

Hi Koen,

I replied in this other thread. Hope that helps!

http://www.interactivetools.com/forum/gforum.cgi?post=71101#71101
Dave Edis - Senior Developer
interactivetools.com