Forgive me if this has been asked before but I could not find the answer anywhere. I have some familiarity with Contribute CS3 but not CS5.
I am developing an HTML site for a client in Dreamweaver CS5 which has a main template and sub-templates. The menu structure is contained in the master template.
I need for my clients to be able to add to the menu structure in the Main template and then have it ripple through to all pages including those created with the sub-templates.
Can Contribute do this and what do I need to do to set up my site to allow for that?
Hi Dominic and thanks for your response. This is as I feared and, I think, a serious failing in contribute. I might add this to the wishlist for the next version.
Seems that the answer is here http://forums.adobe.com/thread/88028. Found it a little while ago, but was hoping that CS5 had a better solution available. Not my ideal solution to have php includes and make all pages PHP in that I can see it having a few traps to get it setup just right and it will make it harder for me to update the site locally and check things out before uploading to the live site but I can see that it's workable. Cut the widget code from the main template, put it in its own file and replace the widget code with the PHP include. Hmmm
Anyone see any issues with the solution I linked to above?
Please refer to the blog post on Editing included files, http://blogs.adobe.com/contribute/2010/08/easily-edit-included-file-wi thout-navigating.html
Just for completion and in case someone else finds this in the future...
Having played around with this, I really don't think there is a workable way to do it with the Spry Menu Object. Basically for the spry object component to be editable in its own file it needs code which will end up in the Body of the HTML, when it needs to be in the Head part of the HTML file. The more I played with trying to get it to work, the more complicated it became....
It is possible to put the list component of the Spry menu into an include file and tell the client to add to the list at the right <UL> level, but that is not really a satisfactory solution.