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
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
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
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
Re: [ross] Information of one section into another
By kovali - April 14, 2009
Maybe my first explanation of the situation wasn't very clear, I'll have another go :-)
[font "Verdana"]I have 2 sections (in the CMS for a real estate website were different Projects are presented each containing different types or amounts of buildings): "Projects" and "Buildings". In the first section "Projects" I can enter a title, description and 1 picture for every new project, then in the 2nd section "Buildings" I can select the projectnames from a dropdown menu, so a building can be divided into one of the previously created projects, and enter other detailed info about the building . This works perfect in the cms, but i have a problem with how to connect the results in the front-end of the website...
The front-end of the website should have following pages:
1. Listing of all Projects (Title - small description - picture - [>Details])
2. Next, clicking on one of the above projects [>Details] link should open a simple overview of all the buildings for that Project, like:
Project Name
Building Name 1 - Price - Rooms - [>Details]
Building Name 2 - Price - Rooms - [>Details]
Building Name 3 - Price - Rooms - [>Details]
...
3. Next, clicking on one of the [>Details] links here should open the complete details page for that building.
As i said before, i don't know how to setup the url's that will connect and open the data from "Projects" to the data of "Buildings", if possible at all.
Could you get me on the right track with this please ?
Thanks for your help,
Koen
Re: [kovali] Information of one section into another
By Dave - April 15, 2009
I replied in this other thread. Hope that helps!
http://www.interactivetools.com/forum/gforum.cgi?post=71101#71101
interactivetools.com