0
Welcome Guest! Login
0 items Join Now

SOLVED Semi-Dynamic Grid Statistic

  • SOLVED Semi-Dynamic Grid Statistic

    Posted 6 years 4 months ago
    • Hi,

      I did find a thread about this, but it was 2 years ago so I'm hoping things might have changed.

      I'd like to regulrly update the numbers in the gris statistic particle, but at the most daily. I was wondering if it would be possible to update these via a cron?

      it would be a few counts from the db to update, number of members, number of articles in certain category etc

      Is that possible at all?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Semi-Dynamic Grid Statistic

    Posted 6 years 4 months ago
    • Well anything is possible if you want to write the code to do it. All config is stored in /templates/TEMPLATENAME/custom/config

      Alternately you could create a particle override and alter the code in that to retrieve the stats number dynamically.

      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 .



      This is considered as a customization request which falls way beyond the scope of this support forum. You can always try to post your request in our The Marketplace forum and get (paid) support from someone that is willing to do this.


      Given that you want to change the stats once per day, you have to change them somewhere so why not just change them in the particle and avoid having to change anything?


      Regards, Mark.
    • Last Edit: 6 years 4 months ago by MrT.
    • The following users have thanked you: Willowtree

    • 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.
  • Re: SOLVED Semi-Dynamic Grid Statistic

    Posted 6 years 4 months ago
    • Perfect, Thank you.

Time to create page: 0.062 seconds