0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

How to post date/time in module?

  • How to post date/time in module?

    Posted 16 years 2 months ago
    • I see on some of the templates a date/time. How do I get that into a module?
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: How to post date/time in module?

    Posted 16 years 2 months ago
    • A custom module drawing on the PHP date function? Something Javascripty that echoes the user's local date/time back at them? The possibilities are many and varied.
    • Ragdata's Rubber Duck
      www.ragdata.net/
  • Re: How to post date/time in module?

    Posted 16 years 2 months ago
    • Ragdata wrote:
      A custom module drawing on the PHP date function? Something Javascripty that echoes the user's local date/time back at them? The possibilities are many and varied.

      I was thinking maybe the php date function in the index. But putting it in a module i'd have to use JS. The editors dont like that stuff, everytime you edit it, it goes away. I'm leaning towards the php in the index at the moment. Just curious of other ways, extensions or anything relatively easy.
    • Ragdata's Avatar
    • Ragdata
    • Elite Rocketeer
    • Posts: 614
    • Thanks: 0
    • Software Engineer

    Re: How to post date/time in module?

    Posted 16 years 2 months ago
    • Blow the editors (and if you don't want to lose stuff on save - turn them off) ... create a custom module. Honestly, in the time it's taken to participate in this discussion, you could have created 3 of them with funky graphical displays and a cool little fireworks display at the top of each hour.

      Take the plunge mate - you'll enjoy yourself to boot.
    • Ragdata's Rubber Duck
      www.ragdata.net/
  • Re: How to post date/time in module?

    Posted 16 years 2 months ago
    • It's 3am here... i'm gonna tackle this tomorrow. haha

      on a side note, i watched Australia the movie tonight. GREAT movie!

Time to create page: 0.089 seconds