We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    $symbol = ($modx->config['friendly_urls'] == 1) ? '?' : '&';
    

    can be used in a snippet to dynamically determine which symbol to use.
      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
      • 8895
      • 76 Posts

      if i want to use tags to display pics/movies etc in a gallery, which is the easiest way to set that up?
      basicly i have the tags -> movies, pics, funny and sad
      prefferebly i would want to set the tags dynamicly through a db.
        • 26435
        • 1,193 Posts
        take a look at this thread.
        Does that describe what you wanted it to do?

        I have set up a "Tip" on the wiki with all the details for making this work.
        http://wiki.modxcms.com/index.php/Tagged_blogging_with_Ditto

        I set up a blog for my wife [ http://sometwittery.com ] using the tagging method described in that post.  The tags are listed at the bottom of each article (by the comments count), separated by comma,  and there are links to the various categories on the right side.  I set it up as a checkbox TV so when she is writing her blog entries, she can click as many of the tags as she wants and they are all applied.

        feel free to contact me if you need specific details, although I would prefer to keep the conversation in the forum so that all can benefit.

        -sD-
        Dr. Scotty Delicious, Scientist.
          Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
          All of the above... in no specific order.


          I send pointless little messages
          • 14557
          • 48 Posts
          Hi Scotty

          Any chance you could let us know how the month archive on the blog is implemented? Its been something I’ve been planning to get round to for a while.

          Thanks

          John
            • 12652
            • 228 Posts
            I’m just starting down the tagging path and would like to implement it into a site.

            In particular, does anyone have any examples or suggestions on free tagging? Most seem to deal with a pre-determined tag list. The original post mentioned the repository, which I haven’t posted to, but the announcement for it mentioned that it supported free tagging, but that is about the only reference I can find, and no tutorial seems to have been developed for it yet.

            sidenote: Drupal actually has a great AJAX tagging integration with auto-complete, which I’m sure helps eliminate multiple similar but not identical tags being created.

            Anyway, just trying to figure out where to begin?
              | Identity Developments delivers SEO focused web design and web presence services
              - it's not about websites, it's about your identity. |
              • 26435
              • 1,193 Posts
              Quote from: johnvb at Dec 12, 2006, 01:50 PM

              Hi Scotty

              Any chance you could let us know how the month archive on the blog is implemented? Its been something I’ve been planning to get round to for a while.

              Thanks

              John
              hi john.
              That is using Ditto 1.1 beta 2 and it’s new archive component called "Reflect"

              -sD-
                Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                All of the above... in no specific order.


                I send pointless little messages
                • 26435
                • 1,193 Posts
                Quote from: identity at Dec 19, 2006, 01:44 PM

                I’m just starting down the tagging path and would like to implement it into a site.

                In particular, does anyone have any examples or suggestions on free tagging? Most seem to deal with a pre-determined tag list. The original post mentioned the repository, which I haven’t posted to, but the announcement for it mentioned that it supported free tagging, but that is about the only reference I can find, and no tutorial seems to have been developed for it yet.

                sidenote: Drupal actually has a great AJAX tagging integration with auto-complete, which I’m sure helps eliminate multiple similar but not identical tags being created.

                Anyway, just trying to figure out where to begin?
                There is a wiki doc called Tagged Blogging with Ditto under "HOWTO".
                Follow that, but instead of checkbox, just use text. you can keep the widget as comma delimited list.

                -sD-
                  Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                  All of the above... in no specific order.


                  I send pointless little messages
                  • 12652
                  • 228 Posts
                  Excellent, as usuall sD!

                  Thanks, I’ll try that. I read the How To already (which appears excellent smiley ), just hadn’t thought how to implement straight text.
                    | Identity Developments delivers SEO focused web design and web presence services
                    - it's not about websites, it's about your identity. |
                    • 12652
                    • 228 Posts
                    Okay, unless I’m missing something, this partially gets us there.

                    Of course the issue with free tagging is you have no idea what tags will be created, so there is an issue when it comes to the category pages. They really need to be created dynamically, don’t they? Such as being able to create tags on the fly and then have the category pages created on the fly as well.

                    EDIT - Okay, I think I just peed my pants! I just came across some posts about the Ditto beta and the tags support with linking. Some realy quick experimentations seems to make it exactly what I was needing... the only touchy issue seems to be making sure not to have a space after the comma between tags.

                    You have to love something that continues to address your needs before you realize you have them, when everytime you think you’ve come up with something that MODx can’t handle, it’s sitting there like man’s best friend, ready and waiting for the next trick!
                      | Identity Developments delivers SEO focused web design and web presence services
                      - it's not about websites, it's about your identity. |
                      • 26435
                      • 1,193 Posts
                      Awesome!
                      now go change your pants wink

                      -sD-
                      Dr. Scotty Delicious, Scientist.
                        Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                        All of the above... in no specific order.


                        I send pointless little messages