We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30497
    • 245 Posts
    I just upgraded a site from 0.9.6.3 to 1.0.4. Everything seems great except the path to CSS file for Tiny MCE is not working.

    I have a resource called textEditor.css that is in the "path to CSS File" setting under tools\configuration\interface&features

    The new installation can’t find this file, and when I view the Manager source, I see TinyMCE looking for the file here:
    content_css                      : '/assets/plugins/tinymce/style/content.css,/textEditor.css',


    Any ideas on what is going on here?
      • 30497
      • 245 Posts
      Hi,

      So, I just did a clean install for another site, of evo 1.0.4, and I see this is a problem for a clean install as well, not just for upgrades.

      Has anyone encountered this, or found a fix?

      thanks,

      paul.
        • 17959 ☆ A M B ☆
        • 57 Posts
        Magnatron [Maarten Wolzak] Reply #3, 16 years, 2 months ago
        Don’t know why but while traversing through the DOM I noticed the CSS link showed:
        <link href="http://assets/...

        so I filled the seemingly missing domain name in the config box.
        That actually doubled the domain making the href read:
        http://www.domain.com/www.domain.com/assets/... 

        No use either.
        Then I tried to leave out the domain and the prefix slash in the config box making it read (opposed to the accompanying suggestion)

        assets/templates/<etcetera>... (notice the missing slash at the beginning?!)

        And, tadaa, my styles were back!

        Hope it works for you as well.
          • 18174
          • 116 Posts
          didn’t work for me.. EDIT:..because the initially attached "/assets/plugins/tinymce/style/content.css" overrules my desired style definitions.
          BUT:
          setting
          content_css : "/assets/templates/myTemplate/css/content.css" 

          in the plugin custom parameters
          did the job!
          modx 1.0.4, tinyMCE 3.3.5.1
            • 30497
            • 245 Posts
            towerofbabel Reply #5, 16 years ago
            Quote from: manu37 at Sep 14, 2010, 09:28 AM

            didn’t work for me.. EDIT:..because the initially attached "/assets/plugins/tinymce/style/content.css" overrules my desired style definitions.
            BUT:
            setting
            content_css : "/assets/templates/myTemplate/css/content.css" 

            in the plugin custom parameters
            did the job!
            modx 1.0.4, tinyMCE 3.3.5.1

            Hallelujah!

            Thanks manu37, that works a treat!