We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4280
    • 22 Posts
    ]It seems like integrating/building a blog with features like WordPress, etc. into MODx is a commonly sought-after solution.  I’m not sure if anyone’s written an EASY TO USE complete tutorial on how to do this with the existing snippets available for MODx. So, I’ve put together a list of features that I’d like to implement as I begin creating my own blog to integrate into my MODx build. As far as I understand, this would include snippets like Ditto, Jot, WebLogin, etc.

    If someone has already written a post like this, please point me to it, as I don’t want to clutter up the forum with redundancy, but if not, then this should be a huge blessing to others.

    I’ll search the forums to see if I can find some solutions for these—and will post them here as I find them/figure them out—but in the meantime, anybody have any ideas on how to implement the following features? And by all means add your own wishlist as well. I’d love for this to be a sticky post for folks wanting to integrate a blog into their MODx install.

    When providing solutions, please use the MODx demo as your playground, so we all have the same point of refence:  http://trymodx.com/


    • a. Have login/logout widget show in a sidebar on ALL blog pages.
      [Solved] Use WebLogin or WebLoginPE

    • b. If a registered user desires to reset their password, they have the ability to change it to what they want it to be, rather than the default of they get a random generated one. Just like when signed up for an account, they got to choose their password, likewise, they should be able to change their password at a later date to anything they want it to be.
      [Solved] Use WebLoginPE

    • c. Each registered user has a user page with info about them—at the least the ability to choose a photo to use to represent them—or have a default image icon to be associated with registered users.
      [Solved] Use WebLoginPE

    • d. When logged in, a small thumbnail photo appears next to their name.
      [Solved] Use WebLoginPE

    • e. Have recent articles show in a sidebar on ALL blog pages.
      [Solved] Use Ditto

    • f. Have recent article comments show in a sidebar on ALL blog pages. This is a mix of all recent comments - when a user makes a comment, that comment having been considered recent, shows amongst other recent comments in the sidebar. Not from just one blog, but recent comments can be pulled from any available blog entry that has a recent comment. The comment is clickable, and takes the user to the blog page from which the comment originated.
      [Gave up] Too hard. No efficient solution within MODx

    • g. A recent readers module in the sidebar on ALL blog pages which shows how may people are logged in at any given time (5 of 100 users logged in). Perhaps this info appears below a photo montage (comprised of small thumbnails - 5 per row, etc.) which shows all available user’s photos. Their photos are grayed out if they’re not currently logged in.
      [Gave up] Too hard. No efficient solution within MODx

    • h. When leaving comments, the user’s photo appears next to their name.
      [Solved] Use WebLoginPE

    • i. Ability to add a "bookmark this page" link to each blog page

    • j. Integrate a search box on ALL blog pages which displays a results page.
      [Solved] Use AjaxSearch

    • k. Display an archive on ALL blog pages in the following format:
      - Monthly - a pulldown with all available month/year archives listed
      - Categories - a pulldown with all available tags that have been added to blog entries, sorted alphabetically
      [Working] Trying TvTagCloud…
      • 4280
      • 22 Posts
      a. The solution is to use the snippet WebLogin on your template pages.

      This sends the user to the site’s homepage upon login
      [!WebLogin? &tpl=`FormLogin` &loginhomeid=`[(site_start)]`!]

      This sends the user to a specific page based on a page ID from within the manager - replace 00 with your page ID
      [!WebLogin? &tpl=`FormLogin` &loginhomeid=`00`!]

      This sends the user back to the same page that they logged in from
      [!WebLogin? &tpl=`FormLogin`!]
        • 20413
        • 2,877 Posts
          @hawproductions | http://mrhaw.com/

          Infograph: MODX Advanced Install in 7 steps:
          http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

          Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
          http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
        • b and c should be addressable by WebloginPE. d should be as well I think, though it’s not clear where their name is supposed to appear.

          h: Jot should handle this, I think, already just needs to be pointed to the right spot in WLPE.

          i: any sharethis/addthis snippet of JS code should do this. Just make a chunk out of it or place it directly in your template.

          j: AjaxSearch (latest version)

          k: Reflect config that would need some tweaking for the months, and a separate custom snippet for the tags drop down, probably based on the tag cloud snippet.

            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 4429
            • 429 Posts
            Quote from: mrhaw at Mar 05, 2009, 10:58 PM

            I’m a weblogin friend...
            http://modxcms.com/forums/index.php?topic=29749.0
            http://modxcms.com/forums/index.php/topic,32717.msg199087.html#msg199087

            But sure webloginpe rocks and I must recommend it!
            http://modxcms.com/extras.html?view=package/view&repository=10&package=495

            The first two of those links are down - so there is now no howto on this
              • 20413
              • 2,877 Posts
              Most of the links is pointing to this information --> http://svn.modxcms.com/docs/display/MODx096/Home
              Get a hang over document and user permissions inside modx, than add a webuser, assign home-page and see how weblogin on the
              demopage is set up. Weblogin calls FormLogin chunk as "tpl" snippet-template...
                @hawproductions | http://mrhaw.com/

                Infograph: MODX Advanced Install in 7 steps:
                http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
                • 14795
                • 7 Posts
                Hey guys,

                Has anyone had anymore luck with k? I think it would be one of the most useful features but I’m unfortunately too much of a n00b to know how to do it.

                Cheers
                  • 22840
                  • 1,572 Posts
                  It is possible to call the latest comments from across the site to the sidebar (f) but only downgrading jot to 1.1.2
                  I do this on one of my own sites but it’s not live yet but you just need to add &docid=`*` and call it uncashed.

                  For some reason this was removed from the latest version of the snippet but I have not found any restrictions from downgrading.
                    • 40518
                    • 1 Posts
                    Being new to developing websites in general, how would you adapt:
                    "e. Have recent articles show in a sidebar on ALL blog pages.
                    [Solved] Use Ditto"

                    To instead show the latest images to be uploaded to the site, maybe even scrolling through them?

                    Thanks