Information of one section into another

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

  • Archived  

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: [ross] Information of one section into another

  • Archived  

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: [ross] Information of one section into another

  • Archived  

By kovali - April 14, 2009

Hi Ross,

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

  • Archived  

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