Sidebar
4 posts by 3 authors in: Forums > CMS Builder
Last Post: August 7, 2009 (RSS)
By maartenvr - July 31, 2009
I have a sidebar that needs to be identical on all pages. So I created a new section for it. But when I generate the code, how do I integrate it into pages that are already showing code?
Maarten Van Ruitenburg
Dreamweaver Lessons
Dreamweaver Lessons
Re: [maartenvr] Sidebar
By Dave - July 31, 2009
Hi Maarten,
Basically you can just add it. A few tips: If your exist pages use the same variables (such as $record) just change the variables on your newly generated code. Also, if you put it in an include it will be easier to insert one line to add it to the pages.
But basically you just add the code in. Give it a try and let me know how it goes.
Basically you can just add it. A few tips: If your exist pages use the same variables (such as $record) just change the variables on your newly generated code. Also, if you put it in an include it will be easier to insert one line to add it to the pages.
But basically you just add the code in. Give it a try and let me know how it goes.
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com
Re: [Dave] Sidebar
By maartenvr - August 6, 2009
OK. This was working for me, until I got to a multi-record page. On the detail page, where the sidebar code appears, it shows "Record Not Found"...
How can I solve this?
How can I solve this?
Maarten Van Ruitenburg
Dreamweaver Lessons
Dreamweaver Lessons
Re: [maartenvr] Sidebar
By Chris - August 7, 2009
Hi maartenvr,
Can you attach the PHP code for the page you have that isn't working? We should be able to sort this out for you in short order.
Can you attach the PHP code for the page you have that isn't working? We should be able to sort this out for you in short order.
All the best,
Chris
Chris