Cascade keeps moving my head and body

weissm's Avatar

weissm

22 Nov, 2011 04:14 PM

In templates that is...

I'm not sure what causes this, but all of the templates in one of our sites will automatically be updated at some point (with no audit trail) to relocate our closing head and opening body tag to just below the stylesheet link tag and above our system keyword and description tags.

I've moved the head and body tags back, as well as the link tags to see if that helps.

  1. 1 Posted by Joel on 22 Nov, 2011 04:36 PM

    Joel's Avatar

    Hi Mike,

    Have you recently (or anyone on your team) edited all of your Templates? Please let me know.

    Thanks!

  2. 2 Posted by weissm on 22 Nov, 2011 05:01 PM

    weissm's Avatar

    Only to fix the issue. It's happening on the template I'm working on now also.

  3. 3 Posted by webteam on 22 Nov, 2011 07:56 PM

    webteam's Avatar

    I have seen this when messing with other elements in your head. Make sure all your elements are formatted properly like the quotes that are opened are closed and empty tags are closed. I recently posted a question about the meta charset. If I left the tag open like <meta charset="utf-8"> I found the markup would get very messed up including moving the head and body tag. By closing the meta tag like <meta charset="utf-8"/> it was fine. Hope this helps but it could be something else all-together.

  4. 4 Posted by Adam Griffis on 22 Nov, 2011 08:09 PM

    Adam Griffis's Avatar

    Cascade uses a utility called JTidy to fix invalid XHTML, and it will sometimes move elements it believes (incorrectly) from the head to the body, but JTidy is only used on a template when the XML is invalid (unclosed / unbalanced tags, etc). What's confusing about this issue is that it's usually only used when saving a template. Did you recently do some sort of bulk change operation on your templates (moving them, changing the metadata)?

  5. 5 Posted by Joel on 11 Jan, 2012 04:30 PM

    Joel's Avatar

    Hi,

    I'm going to go ahead and close this ticket out due to inactivity. If you should still want to discuss this problem further please feel free to reopen it.

    Thanks!

  6. Joel closed this discussion on 11 Jan, 2012 04:30 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM