0
Welcome Guest! Login
0 items Join Now

Retrieving articles bound to multiple categories

    • V-Web's Avatar
    • V-Web
    • Rocketeer
    • Posts: 90
    • Thanks: 0

    Retrieving articles bound to multiple categories

    Posted 1 month 3 days ago
    • First of all: this question is related the CW Multicats extension. Our client is relying heavily on this extensions and pretty much every article is added to several categories. When using a custom particle that retrieves these articles we notice, not to our suprise, that no articles are being retrieved. Mostly because it is the thrid category where the article is bound on.

      Now comes the part where we need to find a way to be able to retrieve these categories as well. Does someone have any experience on doing this? Should we be looking at custom function or some sort?
    • V-Web's Avatar
    • V-Web
    • Rocketeer
    • Posts: 90
    • Thanks: 0

    Re: Retrieving articles bound to multiple categories

    Posted 1 month 3 days ago
    • I've searched a bit further I came across a page where the developer of the extension says that the G5 platform needs some simple adjustments in order to be able to work with the multicats. Send out a ticket and see what happens...
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 91575
    • Thanks: 11992
    • Web Designer/Developer

    Re: Retrieving articles bound to multiple categories

    Posted 1 month 2 days ago
    • Please note that by answering your own post you take yourself out of the MODS "unanswered posts" queue and therefore might have to wait longer for a response - it's better to edit your original post so this does not happen.

      We can't really help with your custom development for a third-party extension but the relevant documentation for retrieving content from the CMS within a particle can be found here http://docs.gantry.org/gantry5/advanced/content-in-particles though I suspect that you may also need to develope other PHP classes to call from TWIG too http://docs.gantry.org/gantry5/advanced/php-functions .

      Regards, Mark.
    • Last Edit: 1 month 2 days ago by MrT.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • V-Web's Avatar
    • V-Web
    • Rocketeer
    • Posts: 90
    • Thanks: 0

    Re: Retrieving articles bound to multiple categories

    Posted 1 month 13 hours ago
    • Hi Mark,

      Noted about the reply, thanks!

      Fully aware of the fact that support for third party extensions is very limited. Creating a new function would be possible. On the other hand I'm looking into the possibilities of retrieving articles based on Joomla "tags". Is that something that is supported by default in G5 and can be used in particles?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 91575
    • Thanks: 11992
    • Web Designer/Developer

    Re: Retrieving articles bound to multiple categories

    Posted 1 month 13 hours ago
    • No, tags are not supported by default when retrieving Joomla CMS content. In fact, it's an outstanding feature request https://github.com/gantry/gantry5/issues/1631 .

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.066 seconds