We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21671
    • 244 Posts
    Hi All,

    I am having problems with Tiny and my resource browser. I just sent the site from one host to Hostgator. I changed settings in the resource path, URL, but I don’t know how to put the correct path info. When I go to insert an image it opens the image dialog window. When I click on the brose icon it opens the fck editor without any images in the directory. I’m assuming I don’t have the resources setup correctly. Ho do I find out what the correct resource path to enter is? The website is located @ http://gti.websitewelcome.com/~thebox/ I have read through the forums and don’t see how to systematically fix the problem. Should I do a fresh install of these plugins?

    Noah
      • 27330
      • 884 Posts
      go to Reports>>System Info>> and click to view PHP info ()

      scrool down to "include_path" and use that as ur path, just indtead of manager/includes/ @ the end use /assets/
        • 21671
        • 244 Posts
        So I entered the code as suggested into the reources path. Do I put that in the resource URL too? Also I am getting this error message when the fck editor opens:

        line: 159
        Char: 2
        Error: Object Required

        Code: 0
        URL: http://gti.websitewelcome.com/~thebox/manager/media/browser/mcpuk/frmfolders.html

        Any advice?
          • 27330
          • 884 Posts
          yes you’ll need to have same path in the resource URL too. basically it just tells modx what is the real/complete path on the server. with every host you’ll have different path. not sure about the FCKeditor thing, but you defiantly need to have the correct path in the resource path.

          for example, under Interface & features I have in the Resource Path this:
          /home/.tune/sinbad/mydomain.com/assets/

          and under ’File Manager > File Manager Path’ I have this:
          /home/.tune/sinbad/mydomain.com/

          then I just need to decide which folders are allowed to upload to and change their permission with chmod.

            • 8790
            • 526 Posts
            Hi,


            I need some help because I’m not able to make some buttons to come up :
            in configuration (custom)
            I have this in row4
            tablecontrols,separator,hr,removeformat,visualaid,separator,sub,sup,separator,charmap


            But whatever I try those nerver appears. I really needa to deal correctly with tables in rte..
            I just uptade to the last 3.13 release, and it’s the same.

            What’s wrong ?
            Thank you

            edit: the plugins "table" declaration was missing... why this is not by default ?
              Schtroumpf Grognon - Grouchy Smurf
              ---------------------------------
              Faites pas attention.. - Don't pay attention
              http://www.dzi-neo.net
              • 8790
              • 526 Posts
              Does anybody knows if it’s pssible to have a ’caption’ management within tiny ?

              this is really badly missing. undecided

              thak for any suggestions.

                Schtroumpf Grognon - Grouchy Smurf
                ---------------------------------
                Faites pas attention.. - Don't pay attention
                http://www.dzi-neo.net
                • 4018
                • 1,131 Posts
                @sinbad: Looks like the anchor plugin did it for you! And, no, you’re not stupid. wink

                @rasc: Good to hear! I’ll probably add the blockquote button to the default Custom and Content Editor themes. Others will probably have need of it as well. smiley

                @elz64 The default configuration of the Custom theme is based off of the Content Editor theme and is just a starting point for folks who want to have a custom configuration setup. The tables plugin was left out because it didn’t make sense to load it if it wasn’t being used. Every plugin you load takes up resources so it’s best to only load what you need.

                Caption management? I’m sorry, I don’t follow. Are you talking about captions on tables? If so, that’s a question best left for Moxiecode (http://tinymce.moxiecode.com/).
                  Jeff Whitfield

                  "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
                  • 8790
                  • 526 Posts
                  Caption management? I’m sorry, I don’t follow

                  Hi,

                  Thank you.

                  No, I was not clear, and I was talking about images’s caption.
                  Right now I do not know where (and if it’s possible) to manage to have into the image’s dialog box a ’caption’ line.

                  When you add an img to a content, you enter the ALT and the TITLE, but nothing seams to be ready to tell Tiny to display a caption under the img (a first step could be to add the TITLE’s string, checking the right button )

                  I’m sorry if this is a RTE Newbie’s question, but this is a standard stuff within Typo3 (Yes I know, not the same philosophy...) and a redactor task is not to deal with creating for instance table to be able to add himself a text under an image, if you see what I mean.

                  Of course every thing can be done specifically with MODx, but to give the capability for any img, only with the Tiny’s functions would be really appreciate
                  Hope this could be done

                  Thanks again.
                    Schtroumpf Grognon - Grouchy Smurf
                    ---------------------------------
                    Faites pas attention.. - Don't pay attention
                    http://www.dzi-neo.net
                    • 24495
                    • 407 Posts
                    MODx is a framework. You can use many different individual templates. Therefore you can’t get a "standard" solution for image captions. How they should set by MODx? Template-dependent the "caption" can be set as a paragraph/a paragraph with a special CSS class/a span/a dd (and the image in a dt)/and so on. Which version do you prefer? wink
                      • 8790
                      • 526 Posts
                      Humm...
                      I’d prefer a solution for end user who DECIDES if he puts an img or not, and if this img should have or not a caption when writing a content, as a standard writer.

                      This has nothing to do with developer’s concern afaik, and it must not be template dependent. It’s just a matter of RTE, exactly at the same level as "width, height, position, etc." settings and so on, that Tiny already offers.
                      I’m ready to listen to a fully useable way to emulate such a behavior.
                      I’m not a real ’coder’ so I guess this should be done by php or js. (so it could be added to Tiny naturally - ? )

                      To emulate this I only see: to define a special class for img (let’s say ".caption-img") the writer will choose, and then a specific snippet will recheck the html code on prerender (?) to detect those class and modify the img envelopment’s, and add the img title’s into some span or something..

                      Difficult to defend Modx when such function are demanded... and obviously I’d like so much I could easily have the right arguments to push Modx. Terrible it could be rejected by the client for such a "detail".

                      I just can believe noone had this request before

                        Schtroumpf Grognon - Grouchy Smurf
                        ---------------------------------
                        Faites pas attention.. - Don't pay attention
                        http://www.dzi-neo.net