We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14198
    • 12 Posts
    I have a page where I’ve successfully done the following using just the "Document Content":
    President John Doe 555-1212 email: [email protected] (Using FSCKEditor link).

    I would like to do the same for something like:
    <a href="usage.html" title="Using this web site">Using this Web Site</a>.

    However, this causes the entire text to appear on the page. How can I just have the text "Using this web site"
    be a link to another page ?

    I’d also like to be able to click on a menu button (i.e. "Contact Us") and go straight to a mailto link like the follow does:

    <a href="mailto:[email protected]" title="Contact Us">Contact Us</a>

    Can I do this within the "Document Content" , or does html need to be in a chunk or a template ?

    At least my menus look nice at this point cool
      Thanks,

      Jim

      Apache 2.2.15 | Firefox 3.6.8 | MODx Revolution 2.0.0-pl
      MySQL 5.1.47 | PHP 5.2.13 | x86_64 GNU/Linux
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      If you try to write that HTML tag into the editor, it will encode the tags and you’ll end up with the text. If you want to insert links into your text, use the link button in the editor’s menu bar.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 14198
        • 12 Posts
        Thanks grin
          Thanks,

          Jim

          Apache 2.2.15 | Firefox 3.6.8 | MODx Revolution 2.0.0-pl
          MySQL 5.1.47 | PHP 5.2.13 | x86_64 GNU/Linux
          • 7231
          • 4,205 Posts
          You can also manually insert HTML by opening the editors HTML window. There is a button in the editor with html on it that when clicked will open a new window with the raw code so that you can insert straight html. You can also turn off the editor and work with html directly, I do this and only turn on the editor before delivering the site.
            [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]
            • 14198
            • 12 Posts
            I am using version 2.3.2 build 1082. There is a button marked source, but not HTML. Is it different in a later release ?
            Is version 2.5.1 compatible with MODx 0.9.6.1 ?
              Thanks,

              Jim

              Apache 2.2.15 | Firefox 3.6.8 | MODx Revolution 2.0.0-pl
              MySQL 5.1.47 | PHP 5.2.13 | x86_64 GNU/Linux
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              It’s HTML in TinyMCE, the default RTE now. Use The Source grin
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 14198
                • 12 Posts
                With TinyMCE I used "HTML", with FCKEditor I used "Source".
                In both cases, my nicely formatted xhtml was "rearranged."
                TinyMCE was "kinder" than FCKEditor wink

                Can I prevent either from "obfuscating" my code ?
                Can I install my own editor such as vim ?
                  Thanks,

                  Jim

                  Apache 2.2.15 | Firefox 3.6.8 | MODx Revolution 2.0.0-pl
                  MySQL 5.1.47 | PHP 5.2.13 | x86_64 GNU/Linux
                  • 7231
                  • 4,205 Posts
                  You can turn off the RTE editor for each document. THis is how I work, then only use it for clients to update certain documents.
                    [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]
                    • 4310
                    • 2,310 Posts
                    I’m with dev_cw.
                    The RTE is the devil in disguise!
                      • 14198
                      • 12 Posts
                      Thanks for all the replies and suggestions

                        Thanks,

                        Jim

                        Apache 2.2.15 | Firefox 3.6.8 | MODx Revolution 2.0.0-pl
                        MySQL 5.1.47 | PHP 5.2.13 | x86_64 GNU/Linux