We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38552
    • 17 Posts
    All right, thanks for the tip.

    I have one final question; I want to make an easy way for my client to update her, say, mail adress so that it changes at the contact page, footer and mail form at the same time.

    What element can I use for this?
      • 3749
      • 24,544 Posts
      On the blank Manager, try turning off the compress_css and compress_js System Settings (go to System -> System Settings and type compress in the search box at the upper right.

      If you can't get into the Manager, even after clearing the cache, you'll have to edit them in the modx_system_settings table in the DB in PhpMyAdmin from cPanel ((change the 1 to a 0).


      ---------------------------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
      MODx info for everyone: http://bobsguides.com/modx.html
        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
        • 19369
        • 1,098 Posts
        Quote from: nilskaspersson at Feb 08, 2012, 05:05 PM
        All right, thanks for the tip.

        I have one final question; I want to make an easy way for my client to update her, say, mail adress so that it changes at the contact page, footer and mail form at the same time.

        What element can I use for this?

        There are many ways to accomplish this, here is what I do:
        1. Create a template for the Home Page, then apply that template for the website Home Page.
        2. Add a Template Variable "settings-email" and give it access to the Home Page template.
        3. Install the Snippet GetResourceField from Package Management.
        4. Add the GetResourceField Call where I want my email to appear, for example:
        <div id="footer">
        My email is: [[getResourceField? &id=`1` &field=`settings-email` &processTV=`1`]]
        </div>
        

        The &id=`1` is the id of my Home Page, so what I need to do is just open the Home Page and edit my email, and it will change in the footer and anywhere else I want it to change.