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

    this snippet will output content depending on time settings in the snippet call. Links, images, snippets, and chunks can all be shown/hidden depending on the hour-minute setting in the snippet.

    Installation:
    1. copy the attached file (TimedPublisher_##.MODx.txt) and create a new snippet called TimedPublisher.

    2. copy the attached file (frsfunctions.php.txt) and rename it to "frsfunctions.php". on your server, in the assets folder, create a new folder named "frsfunctions". Upload the new "frsfunctions.php" file into the new folder, your path should look like this:
    assets/frsfunctions/frsfunctions.php

    there are some example snippet calls in the top of the snippet, and I’ll get some documentation together in the next couple days and post a link here... try it out and give me a little feedback please  wink

    I have updated the attached file again, condensed and cleaned up the code a bit so please whoever grabbed it before be sure and get the newest version.

    8/07/06 - added feature where you can pass parameters to the internal snippet

    file is updated
      xforum
      http://frsbuilders.net (under construction) forum for evolution