• 0

[CMS] Looking for a "timed content" module


Question

I'm looking for a feature for a CMS.

I'm working with a client, a local church, to redo their Web site from static XHTML to something more modern and easy to maintain.

As I've talked with the staff members who have some stake in the Web site its become obvious that they need a CMS, they are not technically oriented and do not have anyone readily available to maintain the site anymore, so they need a simple way of updating the site themselves. I am just there for this project with no prospect of staying on.

I've never worked with a CMS before, I've done other Web sites using hand-coded HTML and PHP. I've restricted my search for a CMS to 3: Drupal, WordPress and Joomla! I've spent a few days each with Drupal and WordPress running of my local machine. I'm very impressed with Drupal for its extendability and WordPress for simplicity.

They have a need that to me seems rather basic but I cannot find in either of those CMSs so far, what I'm calling "timed content", a simple way of displaying content on a schedule, with an optional "coming soon" message beforehand and a "The event/relevance has passed" afterward without needing a database. This features allows the queuing of content with known deadlines months ahead of time, as well as not displaying the content after it is no longer relevant. I am the Webmaster for another church's site, and have implemented this features for them using a simple PHP function with ifs.

Most of the pages on the site consist of static content with the exception of a few sections on many pages where this concept would be helpful.

I've searched Drupal's modules and spent hours Googling for an equivalent for WordPress. I have found modules/extensions that allow for a post to appear on a schedule, but no any way of having the same content cease being displayed on a schedule, displaying it on an existing static page, or the before and after messages.

I haven?t looked into Joomla! yet, but it seems to fall between Drupal and WordPress on extendability vs. simplicity so perhaps it will have an extension that provides this functionality.

This is the only missing feature for this project that I have not found some way of implementing via either of the CMSs I've looked at so far; if one CMS supports this feature and the others do not, I will go with the CMS that does support it.

Thanks!

4 answers to this question

Recommended Posts

  • 0

If you can do it with PHP, you can do it with Wordpress or Drupal or Joomla!

I don't see why you wouldn't use a database, considering you already have one for any of these CMSs. With Wordpress you can assign posts to dates in the future, then just do a simple date check on a loop to ensure only things from the future appear.

  • 0

For reference, in Wordpress something like:


// Create a new filtering function that will add our where clause to the query
function filter_where( $where = '' ) {
// posts in the last 30 days
$where .= " AND post_date > '" . date('Y-m-d', strtotime('+30 days')) . "'";
return $where;
}
add_filter( 'posts_where', 'filter_where' );
$query = new WP_Query( $query_string );
remove_filter( 'posts_where', 'filter_where' );
[/CODE]

Will give you posts from today to 30 days in the future.

  • 0

You can set post dates in Joomla! as well. Dunno about the "upcoming.." feature though, but it has got to be an extension for that.

I prefer Joomla! over Wordpress and Drupal for multiple reasons, but two differences is that Worpress is pretty basic and Drupal way too advanced for my projects. Joomla! seems to be a perfect fit for most of my projects. Tiny projects, but still.

*edit* about the "Upcoming" feature, can't you (or someone) create one Article/page (or whatever it's called in whichever cms), set it to publish on a specific date and create an event in Google Calendar (or any other calendar app) (http://extensions.jo...ts-calendars/95 perhaps? first bing) with the same date? Perhaps youre looking for something automated. In that case, it has to be an extension for one of the CMSs

This topic is now closed to further replies.
  • Posts

    • Just for anyone reading, AdGuard (the free, standalone MV3 extension) is quite good now, a direct competitor to uBlock Origin Lite and much more built-out than it.
    • Microsoft Edge 149.0.4022.62 by Razvan Serea Microsoft Edge is a super fast and secure web browser from Microsoft. It works on almost any device, including PCs, iPhones and Androids. It keeps you safe online, protects your privacy, and lets you browse the web quickly. You can even use it on all your devices and keep your browsing history and favorites synced up. Built on the same technology as Chrome, Microsoft Edge has additional built-in features like Startup boost and Sleeping tabs, which boost your browsing experience with world class performance and speed that are optimized to work best with Windows. Microsoft Edge security and privacy features such as Microsoft Defender SmartScreen, Password Monitor, InPrivate search, and Kids Mode help keep you and your loved ones protected and secure online. Microsoft Edge has features to keep both you and your family protected. Enable content filters and access activity reports with your Microsoft Family Safety account and experience a kid-friendly web with Kids Mode. The new Microsoft Edge is now compatible with your favorite extensions, so it’s easy to personalize your browsing experience. Download: Microsoft Edge (64-bit) | 193.0 MB (Freeware) Download: Microsoft Edge (32-bit) | 170.0 MB Download: Microsoft Edge (ARM64) | 188.0 MB View: Microsoft Edge Website | Release History Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Yeah, when I saw that, I wanted to find the nearest nose. You can't find a good nose these days when you need one.
    • Anthropic launches Claude Fable 5, a state-of-the-art AI model that beats OpenAI's GPT-5.5 by Pradeep Viswanathan Back in April, Anthropic announced Claude Mythos Preview, a frontier model with state-of-the-art coding capabilities. Due to the cybersecurity implications that would occur due to the availability of such a powerful model, Anthropic made it available to only a select set of companies around the world. The company's plan was to prepare appropriate guardrails before releasing such a powerful model to everyone. Now, after nearly two months, Anthropic announced Claude Fable 5, its most capable AI model yet for general users. The company also announced Claude Mythos 5, the same underlying model as Fable 5, but with safeguards lifted, making it more suitable for selected cybersecurity and biology use cases. Claude Fable 5 sits a tier above its Opus models and it beats most other generally available models across areas including software engineering, knowledge work, vision, scientific research, and long-running autonomous tasks. To prevent model misuse, when Claude Fable 5 detects certain requests related to cybersecurity, biology, chemistry, or model distillation, the request will be routed to the Claude Opus 4.8 model. Anthropic claims that these safeguards trigger in less than 5% of sessions on average. However, for large organizations working on critical software, Claude Mythos 5 can be availed through Project Glasswing. Later, Anthropic has plans to expand access through a broader trusted access program. As you can notice in the benchmarks above, Fable 5 and Mythos 5 are state-of-the-art on most key AI benchmarks and they are well ahead of OpenAI's frontier model, GPT-5.5. For example, Fable 5 is the new state-of-the-art model for vision tasks. Also, Mythos 5 has the strongest cybersecurity capabilities of any model in the world. Claude Fable 5 and Claude Mythos 5 are priced at $10 per million input tokens and $50 per million output tokens, which is less than half the price of Claude Mythos Preview. Another big change is that Anthropic is making a change to the way they handle business customer data for both Fable 5 and Mythos 5 models. The company will now require 30-day retention for all traffic on both first- and third-party surfaces. Anthropic promises that it won't use the data to train Claude models, instead it will use it against complex and novel attacks. Claude Fable 5 is available today on the Claude API and consumption-based Enterprise plans. It is also included at no extra cost for Pro, Max, Team, and seat-based Enterprise customers from today through June 22. After that, users on those plans will need usage credits to continue using Fable 5, unless Anthropic extends the included access window based on capacity. Developers can access Fable 5 through the Claude API using the claude-fable-5 model name.
  • Recent Achievements

    • Week One Done
      rubentuben8 earned a badge
      Week One Done
    • Week One Done
      ARaclen earned a badge
      Week One Done
    • One Year In
      jojodbn earned a badge
      One Year In
    • One Month Later
      jojodbn earned a badge
      One Month Later
    • Week One Done
      jojodbn earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      530
    2. 2
      PsYcHoKiLLa
      234
    3. 3
      +Edouard
      128
    4. 4
      ATLien_0
      88
    5. 5
      Steven P.
      83
  • Tell a friend

    Love Neowin? Tell a friend!