|
Creating drilldown links in the publishing wizard
Drilldown links allow you to build pages with summary - detail relationships.
In this example I have created a publish profile that will display a page of car listings with pictures, I have created a summary page that will display a summary of each car in my content bin including a small picture. Users will then be able to click on the picture to display a details page that includes more information about the car and a bigger picture.
First I created the summary listing page, it includes wildcards to display the car make and model and an imageof the car.
Figure 1. Creating the Summary Page Layout
Note: I have not made the image a link yet, later on once I have created the drilldown page I will come back here and make the image a link that will drill down to our details page.
Once the summary page layout is designed we want to build the drilldown page.
At the publish profile menu select "Create Drill Down Link & Page" to begin building the drilldown page
Figure 2. Click Create Drilldown Link & Page
Next we select the drilldown type, I selected "Drill Down to Data within the current database/table" because all the information is contained in the same content bin, I am simply going to display more infomation on my details page and include a few more of the fields.
Figure 3. Define how the drilldown page will link to the data
When defining how the drilldown page will link with the data on the summary page I select where record id = record id this is because the data is in the same table and the same record.
Figure 4. Define how the drilldown page will link to the data
Next I will create the drilldown page layout, This will include all of the fields from my content bin and a large picture. This is similar to building the summary page and not shown here.
We have now built two pages, a summary page and details page and we have defined how they are related, the final step is to create the link in the summary page so that when clicked it will display the details page.
From the publish menu, I select my Summary page and click "Edit Layout"
Figure 6. Click Edit Layout for the Drilldown (details) Page
Next I select the image or text that I want to become the link to the details page, and click on the Link button.
Figure 7. Click the Add Link button
Finally I select the page that I want to link to from the Link/Anchors window.
Figure 8. Select the page you want to link to
We have now linked our summary page with our details page.
To test this working preview the summary page and try clicking on any of the links that we just added.
|