We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34197
    • 138 Posts

    Hi.


    I’ve been using articles on my websites so far, I wanted to give a shot to Collections, but the documentation is poor sad,


    Is there a way to pull Collection subpages with getResources ?


    I just want to list all posts on the parent blog page.


    Tks
      Webdesigner and musician.
      • 4172
      • 5,888 Posts
      sure, a Collections - Collection are just normal resources.

      So you can use getResources or pdoResources or any other snippet, which can list resources to show them.
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 34197
        • 138 Posts
        Quote from: Bruno17 at Jun 29, 2017, 03:04 AM
        sure, a Collections - Collection are just normal resources.

        So you can use getResources or pdoResources or any other snippet, which can list resources to show them.


        Hi Bruno.


        You’re right, I made a mistake in the code. But it’s working now. Tks

        By the way, do you know how to make Collections works like Articles ( the plugin ).

        Ex:
        - Wordpress like url for posts ( dd/mm/yyy/XXXXXXX )
        - Author Page
        - Tag page



        I’m thinking about switching to Articles, but I’m struggling to find a complete documentation about Collection.
          Webdesigner and musician.
          • 4172
          • 5,888 Posts
          you can use Archivist for date - urls
          For Tagging use the Tagger - Extra

          What do you mean with Author - Page?
            -------------------------------

            you can buy me a beer, if you like MIGX

            http://webcmsolutions.de/migx.html

            Thanks!
            • 17301
            • 932 Posts
            Sounds like he means a user profile page. You can use the Login extra for that.
              ■ email: [email protected] | ■ website: https://alienbuild.uk

              The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
              • 34197
              • 138 Posts
              I mean when you are reading a post, you can click on a tag, and you are redirected to a page ( which is created automatically by Articles ).
              Same thing for the author page.

              Just like wordpress.

              I am not sure if Collections does it.


              I have read somewhere that articles is not maintained anymore, and Collections should replace it.

              Is that correct ?
                Webdesigner and musician.
                • 17301
                • 932 Posts
                Yeah as Bruno suggested tagger will do that. Articles used tagger too, it was just installed with Articles. Collections is just a collection of resources so if you had some 2000 news resources, or recipes or something of that nature, then you dont have to expand the tree and sort through all the resources to find the one you're after.

                Articles isn't maintained but still works, though it does have its limits and Collections is a good alternative.
                  ■ email: [email protected] | ■ website: https://alienbuild.uk

                  The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
                  • 4172
                  • 5,888 Posts
                  I think articles didn't use Tagger. Didn't it just use a tag-TV?
                  But Tagger is way better, than using a TV for tagging.

                  Articles are just (special) Resources.
                  Collections are usual Resources, listed in a nice grid instead of the tree.

                  Articles does a lot automatically under the hood, which makes it much less flexible.

                  Everything what Articles does, can be done with Collections + some Extras, too.
                  But in a much more flexible way.
                  You choose by yourself, which Extras to use for different parts and you are free how you set them up.
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 34197
                    • 138 Posts
                    Thank you for your answers.


                    I have installed Collections with Mamp, and I’ll make some test. If Articles is not maintained anymore, I guess I’ll have to make the switch sooner or later.

                    Is there a support for custom role ( Author, Editor, Contributor, just like wordpress ) ?


                    I am also worried about most of the plugins I have been using with modx.

                    Getresources last update is from 2013, articles from 2015, quip last updated is from 2012…. same thing from rampart archivist, tagLister….


                    Sooner or later we will all have to make the switch to php 7, and I don’t even know if these plugins are compatible...

                      Webdesigner and musician.
                      • 17301
                      • 932 Posts
                      MODX really is more of a framework than content management system and you just add in what you want. Out of the box no there is no support for author/editor/contributor etc but it's possible to add it in, or anything else, with a little mediation smiley

                      Most of those plugins are pretty rock solid and don't need to be updated and from my experience they're all fine with PHP 7 (haven't tested rampart though).
                        ■ email: [email protected] | ■ website: https://alienbuild.uk

                        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.