-
1. Re: How to Allow Client to Update Menu on all pages from Master Template
Dominic MichaelJun 17, 2011 6:24 AM (in response to allan=ia)
1 person found this helpfulOne cannot edit the templates (.dwt) using Contribute. We can only play with the contents within inside editable region of the page created using the templates.
-
2. Re: How to Allow Client to Update Menu on all pages from Master Template
allan=ia Jun 17, 2011 6:41 AM (in response to Dominic Michael)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?
-
3. Re: How to Allow Client to Update Menu on all pages from Master Template
Dominic MichaelJun 17, 2011 12:23 PM (in response to allan=ia)
1 person found this helpfulPlease refer to the blog post on Editing included files, http://blogs.adobe.com/contribute/2010/08/easily-edit-included-file-without-navigating.htm l
-
4. Re: How to Allow Client to Update Menu on all pages from Master Template
allan=ia Jun 17, 2011 3:05 PM (in response to Dominic Michael)Thanks Dominic. Very useful.
-
5. Re: How to Allow Client to Update Menu on all pages from Master Template
allan=ia Jun 20, 2011 6:21 AM (in response to allan=ia)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.