-
1. Re: Templates not updating. Is it a CS5 bug? Urgent.
mookie blaylock Jun 12, 2011 9:12 AM (in response to mookie blaylock)Thought it worth mentioning when I view source on products.html FF/osX the so-called editable region is formatted as a comment.
-
2. Re: Templates not updating. Is it a CS5 bug? Urgent.
SnakEyez02 Jun 12, 2011 9:14 AM (in response to mookie blaylock)We might need to see the templates. If you can post them online as DWT files that would be great.
Additionally there are 2 invalid comments on your page and a missing div and I wonder if the invalid code is causing the issue with the template regions (eg: maybe DW is missing it because it's looking but because the code is invalid it can't see it). You can see what I mean by running your page through the validator:
2 invalid comments and one div tag is unclosed in somewhere in the body (counting now but it may take a few minutes).
-
3. Re: Templates not updating. Is it a CS5 bug? Urgent.
mookie blaylock Jun 12, 2011 10:45 AM (in response to SnakEyez02) -
4. Re: Templates not updating. Is it a CS5 bug? Urgent.
mookie blaylock Jun 12, 2011 11:06 AM (in response to mookie blaylock)thanks for your help, snakeyez
I ran the validator using : XHTML 1.0 Transitional, but did not see the same errors. only a couple of alt tags missing and misuse of tabindex. The missing div tag IS a problem but I can't locate it. What doctype are you validating?
-
5. Re: Templates not updating. Is it a CS5 bug? Urgent.
SnakEyez02 Jun 12, 2011 12:48 PM (in response to mookie blaylock)You have run some updates to the page from what I originally saw. There was originally a long comment like this that was coming up invalid:
<!---------------------------------------------------------------------------------word--- ---------------------------------------------------------------->
I've tried playing around with the page and there is nothing that I can really see wrong with the structure of the template that would cause the issue. I'll keep looking a little more to see if there's anything else that could be at the root of this issue.
-
6. Re: Templates not updating. Is it a CS5 bug? Urgent.
mookie blaylock Jun 12, 2011 4:30 PM (in response to SnakEyez02)Yes. Running the validator was a good idea. (Just updated from cs3 -- I miss the built in validator.)
I think I've got it working now. It might have simply been operator error. Thank you for helping inspire me to find the solution I needed. I will re-post here if I am still having difficulty.
-
7. Re: Templates not updating. Is it a CS5 bug? Urgent.
MurraySummers Jun 13, 2011 6:12 AM (in response to mookie blaylock)Just to add - nested templates are (in my opinion, and I think demonstrably) a bad idea. I can think of no scenario I've encountered in over 13 years of free-lance development work that cannot be accomplished easier by using other approaches. If you'd like me to elaborate, I'll be glad to....
-
8. Re: Templates not updating. Is it a CS5 bug? Urgent.
John Waller Jun 13, 2011 1:47 PM (in response to MurraySummers)Please elaborate, Murray.
Be good to get a definitive response from the Template Jedi.
-
9. Re: Templates not updating. Is it a CS5 bug? Urgent.
MurraySummers Jun 13, 2011 2:18 PM (in response to John Waller)Nested templates are almost always used to cover one of the following three scenarios:
- Sites with sections which require section-specific navigation on groups of pages.
- Sites with menus that need 'you-are-here' breadcrumbs.
- Sites with sections (or simply pages) that have different layout schemes.
Can you contribute any other scenarios?
#1 is easily managed without nesting your templates by using one of the following approaches (in order of descending utility):
- Place the section navigation in an editable region. Use a server-side include to drop the desired navigation element in to that editable region.
- As above, except use a Library item instead of SSI.
- Create a template conditional region that can toggle the display of the desired navigation element.
#2 and #3 are both easily handled with CSS. The CSS can be embedded or linked in the head editable region. To change the layout on the page, you can use the CSS to toggle the display and change the widths of various containers on the page. To highlight the breadcrumb you can give each menu button a unique ID and use the embedded/linked CSS to change the color properties or the background images of those unique ID items.
Am I omitting your favorite application or solution?
-
10. Re: Templates not updating. Is it a CS5 bug? Urgent.
mookie blaylock Jun 15, 2011 7:35 AM (in response to mookie blaylock)The answer was in my original post. Obviously, any changes to the Editable Region on the .dwt would not show in the child files. It's my first time using templates... Working nicely now.
Thanks, all. Nice to meet you.
-
11. Re: Templates not updating. Is it a CS5 bug? Urgent.
mookie blaylock Jun 15, 2011 7:37 AM (in response to mookie blaylock)Inspiring discussion. I figured out what I was doing wrong.
-
12. Re: Templates not updating. Is it a CS5 bug? Urgent.
MurraySummers Jun 15, 2011 8:23 AM (in response to mookie blaylock)That's always the best way to do it. Good luck!
-
13. Re: Templates not updating. Is it a CS5 bug? Urgent.
jessicadasch Apr 10, 2012 10:51 PM (in response to mookie blaylock)I'm new to this too and trying to update an editible region not being able to figure out why when I update the main template the child pages aren't updating as well.
If you can't update with an editable region then how do I change from an "editable region" to whatever it needs to be changed to, what do I change it to? so frustrating



