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

    Can I edit the Footer in the WYSIWYG interface? I need to customize that area if my site with web links and images, etc. Using that interface would make it much easier for me. Is that doable?

    thank you,
    Daniel
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You can use a resource for it, and use a TV in your template with @DOCUMENT binding.

        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
        • 6696
        • 145 Posts
        Sorry . . . that does TV stand for? Is that a display device for editing? Is that easy to do or would it be better to create some html and drop that in?
          • 23299
          • 1,161 Posts
          You need to spend some studying TV’s, otherwise known as Template Variables.

          TV’s can seem confusing at first but you should try experimenting adding them to your templates. TV’s are one of the most powerful and biggest attractions with using MODx in the first place...
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Ah, sorry. What I meant was, use a regular resource (document) with your footer content in its content field. Then create a Template Variable named Footer, using @DOCUMENT xx (where xx is the resource ID of the one you use for your footer content) as its default value. In your template, where your footer goes, put the TV’s tags [*Footer*].

            If you haven’t yet learned about TVs, you haven’t touched on half of the power and flexibility of MODx!

            http://sottwell.com/how-template-variables-work.html

            In almost all of my sites I’ll have a resource (unpublished) that acts as a container for other resources that I call "Tools". It will be the parent container for resources that I use for utility purposes, such as processors for AJAX requests, or pages for manager users to do editing tasks from the front-end, or anything else that will not ever be shown in a menu or be used as a part of the actual front-end site that visitors see. It’s just another one of the ways MODx can be used to make your life much easier.
              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