working with templates....
6 posts by 2 authors in: Forums > CMS Builder
Last Post: August 9, 2010 (RSS)
By (Deleted User) - August 6, 2010
Any way to work with templated pages and the CMS builder? I want to be able to update menu's and what not without having to do it manually.....
Thanks,
-CF
Re: [cfdesign] working with templates....
By Chris - August 6, 2010
I'm not sure what you mean by templated pages. Can you give me an example of one?
Chris
Re: [chris] working with templates....
By (Deleted User) - August 6, 2010
I have detached this from the template but the original page is here.... http://www.littleurl.net/05733
When I work in dreamweaver... it locks all the header info so you cannot edit it unless you detach it from the template.
Thanks,
-CF
make sense?
Re: [cfdesign] working with templates....
By Chris - August 6, 2010
I'm not familiar with exactly how dreamweaver works, but yes: having a header that's included on a bunch of pages and under CMS Builder control is something that's done quite commonly.
Can you post the complete PHP source code for careers.php so I can see what's going on there?
Chris
Re: [chris] working with templates....
By (Deleted User) - August 6, 2010
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/2nd.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Title</title>
and it locks the code... I tried to cut and paste from another editor program.... and it would not let me cut and past back in the code.... it physically locks that part of the page since it's attached to a template.... and remains greyed out....
The other fix would be to figure out how to create a line item menu using the CMS.... any ideas on where I can learn to do that???
Thanks,
-Cheryl
Re: [cfdesign] working with templates....
By Chris - August 9, 2010
I was just talking with Damon, who seems to know a lot more than me about Dreamweaver.
I think the Templating feature of Dreamweaver is incompatible with CMS Builder. You can still use Dreamweaver to edit pages, but you'll want to use regular old PHP includes to include headers, etc. on your pages.
Damon also cautions that you should disable Dreamweaver's PHP rewriting feature.
---
Line item menus, now there's something I can help with! What exactly are you hoping to generate? Can you show me some example HTML?
Have you tried out the [url http://www.interactivetools.com/iforum/Products_C2/CMS_Builder_F35/Sub-categories_Tutorial_P77230/]Sub-categories Tutorial[/url]? That might be a little more than what you're looking for, but it's fairly easy to scale things back. It would also give you some good ideas about what is possible with CMS Builder.
I hope this helps! Please let me know if you have any questions.
Chris