Dynamic date based content feed?

Permalink
I have a client who runs a number of shows throughout the year and would like the upcoming 5 or 6 to display on the home page, but update when the date has passed to save them doing it manually.

Is this something that is already built into one of the block? I'm not a PHP guru so its beyond my skills to code it.

 
frz replied on at Permalink Reply
frz
Yes, you can do timed page releases in concrete5 is the advanced permission mode is on.

this helps a lot with press releases, but its not block level, just page level.

You could build something custom...

You could just make the other blocks they need, keep them on a hidden placeholder page somewhere, and make it easy for them to dump the changes in via the scrapbook the 5 or 6 times a year this needed to happen.
liminal replied on at Permalink Reply
Sounds a little beyond me, is there anyone who could give me a price to build something like this into as site?
frz replied on at Permalink Reply
frz
as i reread your message this morning i think i might have mis-read it...

do you mean you want a page list block that only shows pages with a date set in the future?
liminal replied on at Permalink Reply
The client is a theatre company with shows most nights at different venues. So they would like to show a list of the upcoming dates on the homepage.

If they did this manually, they would have to login every day, so they would like it to select the most recent dates automatically. If these could link to the relevant page it would also be very helpful.

I'm trying to get them to use C5 away from Drupal and they loved the visual content management element, but want some elements like the above.

I'm only costing it out at the moment, and would love to hear from anyone who can offer cost effective PHP development of items similar to the above.
Remo replied on at Permalink Reply
Remo
this sound like a custom page list template..

add a page attribute and a little check in a custom page_list template.

done in a few minutes.. Depending on the experience with c5 of course (:
Remo replied on at Permalink Reply
Remo
you could probably use the field "public date"...

building a custom page_list template's probably enough..
liminal replied on at Permalink Reply
Surly using the page list would mean they need to create a page for each date? They just want to put in a list of dates that feed through.

If I'm missing the point I'm really sorry. If its something that is easy to set-up, can you give me a rough estimate to do so? I'd feel much better having an expert do the coding bits if they are easy.

My knowledge of PHP is limited unfortunately.
Remo replied on at Permalink Reply
Remo
using the "standard page list" would indeed mean you have to create lots of pages (which are identical).

you could add a custom page attribute, but the problem is, that you can't have a dynamic number of page attributes (add one if you need another date).

I would solve this with a mix of a custom block that puts all the dates into a text attribute on a page and a page list template. This way you don't have to modify too much but are still quite flexibel...

This however would probably take more than an hour.. But less than a day..
liminal replied on at Permalink Reply
I'm surprised that more people don't require such a block, but if it could be made into an east you use block that worked like:

You add this 'Tour Dates' block to a 'Tour' page and in this add all the tour dates for this specific show.

Then you can specify it to show the top 5 most recent dates on the home page or any other page you add it to, perhaps similarly to the search block?

...........................................

It would need to be able to be used in different sections of the site, as there might be more than one show on, but the list would only pull form one block.

I might have other requests for the same job, but would be interested to know how much this would be.
Remo replied on at Permalink Reply
Remo
I never had to build a site where I had to manage a single page with more than one dates... This only happens if you manage certain events..

without having a paper that describes all the features, it's just a rough estimate. If we wouldn't have to discuss a lot of details, it would probably cost like 350 dollars. But:
1. I'm quite busy right now
2. I'm from Switzerland, most countries are cheaper
katz515 replied on at Permalink Reply
katz515
I think we could make some block after the calendar block released.

c5 team is making a calendar system.

And probably, we can try to make a RSS feed generator of the calendar to display the upcoming or past events which can be set in variable.

And then use the RSS displayer block to display it...
ScottC replied on at Permalink Reply
ScottC
well if these shows are at different venues, you would probably be best served with a show block that resides on a page that is band type or venue type or both. This block would have a photo of the venue(optional) the price(optional), the date and i'd suggest a google map of the location. That seems pretty nice feature set.

On the page/collection/pagetype, you would have a block that lists the upcoming shows based on existing blocks in the db or on that page, page is quicker. On view for older blocks you could choose not to display them if their date is in the past, and again omit them from the block show list.

Since you are speccing it out you could just use a global block (next concrete5 release) or a pagetype installed block, either way to mirror this stuff all over the place.

If the show is a block you can drop that on the homepage or rotate them or all kinds of things really, you don't have that flexibility with pagetypes or single pages.

That's how I would do it.
frz replied on at Permalink Reply
frz
all of these approaches seem fine, i think the best would be to use the new calendar block.

It's pretty stable, but at this point it works with 5.3, which is still in beta for the next 2 weeks. If you can wait till April, the calendar block will cost $55 and serve your goals perfectly.
liminal replied on at Permalink Reply
Not only is C5 a bloody good system, this is where it really proves itself! Thanks to everyone for their replys - I'll look forward to seeing the new C5 in April.