0
Welcome Guest! Login
0 items Join Now

Random order.

    • Alex's Avatar
    • Alex
    • Newbie
    • Posts: 16
    • Thanks: 0

    Random order.

    Posted 8 years 5 months ago
    • Hi,
      How to display articles in a random order using Particle Joomla Article
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Random order.

    Posted 8 years 5 months ago
    • There's no "random" order on that particle only the options shown in the dropdown.

      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.
    • Alex's Avatar
    • Alex
    • Newbie
    • Posts: 16
    • Thanks: 0

    Re: Random order.

    Posted 8 years 5 months ago
    • Yes I know there is no such option. How to make?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Random order.

    Posted 8 years 5 months ago
    • Well You'd need to create an override for the contentarray particle ("joomla article") and alter the twig code to do that. Quite what you would have to change I don't know but you could always ask in github Gantry 5 chat - that's where other developers hang out for Gantry 5 https://gitter.im/gantry/gantry5 . You will need a good knowledge of PHP, HTML, TWIG, YAML, and Joomla interface APIs to achieve this.

      To learn how to override a particle in Gantry 5 please see our documentation here http://docs.gantry.org/gantry5/tutorials/overriding-particle-settings#overriding-particle-source-files .


      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.054 seconds