We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4120
    • 21 Posts
    I created a CSS TV to allow for page specific CSS to be saved along with page content. However, when you finish editing the page and save it the CSS is not saved. All of the page templates for this site have been allowed access to this TV. The TV works for some and not for others. Below is an example of how the TV is called on all of my templates.

    <style type="text/css">
    [*pageCSS*]
    </style>
      • 7231
      • 4,205 Posts
      what is the TV type? If it is a RichText TV it may be cleaning out the code.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don&#39;t know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 3749
        • 24,544 Posts
        If they’re not Rich Text fields, have you looked in the DB to confirm that they’re not saved? Is it possible that there are errors in the CSS of the ones that don’t function?

          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 4120
          • 21 Posts
          The TV type is ’textarea’, and the content is not being saved to the DB. The CSS is being cut and pasted out of the original site so I know it works. I have been able to get the CSS into the TV by editing the pages from the front end.