Viewers: in countries Watching now:
Covering diverse topics such as improving workflow and managing CSS styles, Dreamweaver CS3 Beyond the Basics is a hands-on course that teaches users how to move beyond standard, static websites. Instructor James Williamson explores how to increase productivity, interactivity, and accessibility with Dreamweaver. He also discusses how to extend the application's capabilities with XML and XSL. Exercise files accompany the tutorials.
So now we need to establish a link between our artist page and our bio page and to do that we are going to go back to our artist page and modify the Bio link. So if you are following along in the exercise files, we want to be on artist page. Now doing this is amazingly simple. So we are going to scroll down and we are going find a link to the Bio page and it's in our little artist detail set down here. So I am going to highlight that and a really easy way to this is just go ahead and click inside the Bio link anywhere and use your Tag Selector to choose the A tag and that works just fine. Our link dialog box right now and I am going to click on my Properties inspector so it sort of comes in over here and our Link dialog box has a really long string in right now because it has some PHP text inside of it.
Well we don't need to modify that we need to get rid of that all together. So instead of using a point default icon or something of that nature. I am going to go over here to the Browse for File icon. So I will click on that and it's asking me OK, well what file should I link to? Well we are going to link it to our bio.php file. So you are just going to browse to that as you would normally. So we are not using data sources like we did in the last exercise when we were browsing to a dynamic image. In this case however, whenever you choose Bio page, when we are working with dynamic pages, you are going to see you got the ability to pass Parameters. So I am going to click on Parameters and a dialog box comes up and it says okay, well, what parameter you want to pass in? Well the parameter value itself can be dynamic but ours is going to be static. We are going to type in artistID and remember ID is capitalized. So you are going make sure that your consistent with your naming conventions and that you really pay attention to how you spell something.
So it's the value that's going to change each time. So rather than typing in something here, remember every time we see this little lightening bolt symbol that is referencing some type of dynamic data. So I am going to click on that and it's going to bring up my recordset and it says Which of these items in the recordset corresponds to what you want the value of artistID to be? And that would be id so I am going to select that and click OK, click OK again. And I will click Choose and as I mentioned before that is amazingly simple.
So I am going to go up to File and I am going to choose Save All. We may need to upload a couple of pages before we can test this because when we created our Bio page we did a live data preview and we didn't test it in a server. So chances are it didn't get uploaded. So I am going to take my artist.php page and I am going to choose Put from my document toolbar. So right here on the document toolbar we have the ability to upload files and it's going to ask me if I want to put Dependant files. I am going to go ahead and click Yes because some things may have changed. And I will go to the Bio page and I am going to choose Put and once again I am going to go ahead and put the Dependant files just in case something has changed that I am not aware of.
Now go back to my artist.php and test that. So I am going to go ahead and preview this in my browser and it's going to ask me if I want to update the copy on the testing server or where we just uploaded it. So I am going to say No and we should see that inner browser there it is. Now this is our artist page, so as I scroll through I can see my various artists and now we will check my Bio link. So notice we are looking at artist.php. Here we will click Dan, we go to the bio.php. It's passing along Dan's artistID and as we scroll down to the page, we can see that Dan's painting is showing up on the page and if I click the artist gallery it goes to Dan's Gallery. Perfect.
So let's try one more just to make sure that everybody is working the way we expect them to. I will scroll down and we will find Williams and we will go to his Bio page. Once again we are still on the bio.php. So we are brought in to the exact same page, just passing a different parameter over, and there is William's painting and once again here is a link to William's Gallery and it's working beautifully. Fantastic.
Okay, well I am going create a Firefox and we are almost finished up, but there is one more thing I want to tackle. If I scroll over to the right hand side of the artist page we have a list of links over here and we had to create all those links by hand and we had to link them by hand, but we have all the information necessary to build this navigation menu in our database. So that's going to be the challenge of our next and final dynamic exercise.
Find answers to the most frequently asked questions about Dreamweaver CS3 Beyond the Basics .
Here are the FAQs that matched your search "" :
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.