We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18367
    • 834 Posts
    I’ve been all over the forum, tutes and documentation and I can’t find anything that actually explains how to do this.

    I want to write my own meta data for each document - author, description, expires etc.

    I found the Manage Meta tags and keywords page and created all the ones I wanted.

    But when I go to the document, there’s no way of actually filling in the meta content I want. It just says select the Meta tags you want for this document which I do, but nothing happens.

    Where do I actually put in the real meta data? Am I missing something here, or is the Manage Meta Tags function completely bogus?

    Thanks in advance. grin
      Content Creator and Copywriter
      • 4041
      • 788 Posts
      You’ll have to add a snippet which grabs the desired info from the database and then adds it to the template (this is not done automatically). Best bet is to have a glance here at the documentation pages first:
      http://modxcms.com/documentation.html

      Then I would recommend to head over to the repository and grab this snippet, install and configure as per instructions included.
      http://modxcms.com/MetaTagsExtra-1.5m-932.html
        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 18367
        • 834 Posts
        But how and where do I get the info into the database in the first place?
          Content Creator and Copywriter
          • 18367
          • 834 Posts
          Thanks Breezer,

          Just creating a TV seemed to be the easiest.

          here’s what I did.

          Typed the following code into my template:

          <meta name="description" content="[*description*]" />

          Or whatever other tag I want "author" etc.

          Created TVs called "description" "author" etc


          That’s it, it works, problem solved, the fields are now where I expect them to be on my individual documents, and I can enter whatever I want.

          No need to download anything. smiley

          Although I’m still at a loss as to what the actual manage meta tags function in Modx actually does.









            Content Creator and Copywriter
            • 29181
            • 480 Posts
            Although I’m still at a loss as to what the actual manage meta tags function in Modx actually does.

            I think you will find that most people take a similar approach to you.

            Under Manage META tags and keywords you can do just that, create new ones, delete the default ones etc.
            Then for each page you select the META tags such as author and description (multiple are possible) and the keywords for that document.

            It would then appear that they are thrown into the Template directly after the opening <head> tag.

            I prefer a simple text TV on each page where I can add a comma separated list of keywords.
            I also use MetaTagsExtra, because it works so well. I have also incorporated MetaDescription (I think it was called that) into it, so that should I have no description one is automagically generated from the content.

            Cheers,
            Taff
              Adrian Lawley: www.adrianlawley.com
              • 18367
              • 834 Posts
              Quote from: Taff at May 16, 2008, 04:54 AM

              Under Manage META tags and keywords you can do just that, create new ones, delete the default ones etc.
              Then for each page you select the META tags such as author and description (multiple are possible) and the keywords for that document

              NO YOU CAN’T, there’s nowhere on the page settings to actually do that. That’s what’s been driving me up the wall.

              It tells you, you can and asks yo to select the tags you want, but there’s no way of actually selecting them or populating them.
                Content Creator and Copywriter
                • 22303 MODX Staff
                • 10,725 Posts
                markg:

                There is a global META tags and keywords interface where you manage the lists of possible values. Then, on individual pages in the tree when you edit them, there is a tab where you can select from those values to assign to a specific page. The intuitiveness of that interface is very low, so, it tends to confused folk more often than not.

                But, as you discovered, using TV’s can provide you a lot more flexibility and power on how you manage your meta data anyway.
                  • 25663 MODX Staff
                  • 12,272 Posts
                  Quote from: markg at May 16, 2008, 07:38 AM

                  NO YOU CAN’T, there’s nowhere on the page settings to actually do that. That’s what’s been driving me up the wall.

                  It tells you, you can and asks yo to select the tags you want, but there’s no way of actually selecting them or populating them.

                  Manager > Resources > Manage META Tags and Keywords
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                    • 18367
                    • 834 Posts
                    Ryan, Open Geek,

                    I don’t think you’ve understood what I’ve been saying.

                    I already know that there is a
                    Manager > Resources > Manage META Tags and Keywords

                    And I already know that there is a tab on the pages where you are supposed to be able to select them.

                    But there is no way of being able to select them let alone populate them once you’re on the individual page.

                    All I get is a list of tags with no way of being able to select them.

                    I said all this at the start, but maybe I’m not being clear enough.
                      Content Creator and Copywriter
                      • 25663 MODX Staff
                      • 12,272 Posts
                      Command/control/shift click them (depending on which platform you’re on). If that’s not working then sounds like a browser incompatibility. Which browser are you using?

                      (Regardless, it’s infinitely more productive to use TVs with @INHERIT bindings for this application.)
                        Ryan Thrash, MODX Co-Founder
                        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me