We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36920
    • 3 Posts
    Hi
    Have just inherited the job of looking after our Club's Web Site. It uses MODx though I have no idea of the version nor how to find that out. (The only number I can see is 1.0.4 to the immediate right of the logout link when I log into Manager.)

    My problem. We have a right hand sidebar. It has an image and a "login form" and only appears on the Home page. There is no apparent link I can see to this sidebar nor can I find its content.

    In the Manager, there is a Sidebar Resource that is marked as a container, and it has two resources - one named right and one named left. The left is fine in that I can edit it, and understand its linkage as it is mentioned under the Home Page's Left Sidebar content as @Document 9. The page I edit to update this area has an id of (9). Great!

    However, the other resource there, with a title of Main Page Right has no content at all when I edit it - yet the actual sidebar has information being displayed.

    I have also had a bit of a look though the back end on the ISPs site, but that is not much use - no search abilities nor means of downloading everything to allow me to search locally. It wouldn't be much use either if this 'missing' content is somewhere in a database.

    Any suggestions?

    Thanks...Andrew
      • 3749
      • 24,544 Posts
      You're using MODX Evolution 1.0.4.

      Look at the template used by the the resource (if should be listed when you edit the resource and you'll find it on the Elements tab under the Templates heading). The content may be there or, more likely, you'll see a chunk tag like the one below in that part of the template. In that case look on the elements tab for a chunk with that name.

      {{ChunkName}}


      Typically, the template contains chunk tags for all reusable content that are replaced by the contents of the named chunk. The page's unique content is represented by a content tag like the one below. It's replaced by the content field of the resource that was requested by the browser.

      [*content*]


      People sometimes organize MODX sites in weird ways, however. Inheriting such a site is always a challenge.
        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
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        You also might want to check for Template Variables [*Tvname*]

        Each resource that uses a TV will have the TV fields under the main content field.

        TVs themselves are also in the Elements section.

        http://sottwell.com/how-template-variables-work.html
          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
          • 36920
          • 3 Posts
          Thanks for your quick responses. Version wise, not as bad as I feared.

          OK, it appears the page in question is using the 'Home' Template (screen shot Definition.png).

          Bob - Unfortunately, the Elements Tab only has one menu item - Manage Files - i.e., there is no Templates Heading (screen shot Elements.png). This is, however, showing an apparent error - Invalid path, that might be causing problems. Unfortunately, it does not include an edit option so I'll have a poke around at the back end.

          Susan - Thanks for your link - strangely there is no Resources Tab. Is this a version thing? According to the Manage Users, my login is an Admin role, and is a member of the three groups - Developers, News Editors and Site Managers.

          Any hints VERY welcome!
          Thanks....Andrew
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            The Elements menu should have two items, Manage Elements and Manage Files. If it doesn't that means the user that you logged in with does NOT have an Administrator role.

            Resources (documents, pages) are listed in the Resource tree on the left.

            The terminology has been changed to more closely correspond to standard web terminology. What used to be Resources in the main menu has been changed to Elements, Resources apply to what will become pages according to the request using a URL - Universal Resource Locator. [ed. note: sottwell last edited this post 15 years ago.]
              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
              • 36920
              • 3 Posts
              Susan.
              Thanks for your quick response. As shown attached, the user has an allocated role of Admin. There are only three roles - Admin, News Article Editor and Editor. Is it possible to amend the actual permissions that underlie a role - ie. could someone previously have removed certain privileges? If so, do you know how do I go about adding them back!

              I could not find anything much in the back end. Though I found the DB details - now just need to find out how to look inside (and hope that the password I found is not encrypted smiley ).
              Thanks...Andrew