Posted by : admin in (Featured Articles)
URL Parameters - Creating Master/Detail Pages
Tagged Under : Dreamweaver, dynamic web development, php, tutorials, URL Parameters
Something that pops up from time to time on the WZ2K Forums is how to create your own master/detail pages in Dreamweaver. I know for many people, myself included; this was a source of much head scratching and frustration.
So, I’ve put together this little guide to show you how easy it really is. And with a little experimentation you’ll be surprised how sophisticated the whole process can make your web pages.
To start off with you’ll need to create a master page that will show the basic information required and allow us to create the link that will pass the relevant search string to the detail page via the URL.
Create a new page in Dreamweaver and ensure it is a dynamic page (e.g. php or ASP) and save your file as master.php or master.asp.
Open the Bindings tab on the Applications panel (right side of Dreamweaver) and click the arrow in the top left of the panel – choose Recordset (Query) and you will be presented with the Recordset dialogue box (see image 1).
What we need to do is create a list of information that will be used as our overview and later we will create a link to show us the full information based upon which record we choose.
For this example I am going to create a list of articles (showing title and date added) that the user can browse and when they spot an article that looks interesting they can click to view it. Read the rest of this entry »
