23456 Posts in 18905 Topics by 2877 members
|Go to End|
4 April 2012 at 6:21pm
How could I make a sidebar widget that looks like the example of the attached file.
Is there anyway to have content to display on a certain day,
Like if it was a Wednesday (like today) then only Wednesday's content will display and the sidebar widget will ignore Monday, Tuesday, Thursday, Friday, Saturday & Sunday?
4 April 2012 at 7:56pm
i think the https://github.com/silverstripe-australia/advancedworkflow replaces the old embargo/expiry for pages that would allow you to do this.
If your hosting is not on "local time" then you'll need to cahnge the time zone in your _config.php
5 April 2012 at 9:44pm
Is there any simple way to have it shown on: http://www.silverstripe.org/assets/Uploads/Day.png ?
Just wanting the content to display in 7 boxes, Monday to Sunday
5 April 2012 at 9:50pm
I thourght I recognised you and the question...
6 April 2012 at 8:34pm
Haha you sure did recognize, I use this account now because it uses my primary email and I can't remember the email anymore for the other account.
But is there any PHP code that can allow the content to display on a certain day though?
Because I always do not know how to write out the code in the template.
<% if ????? %>
<% else %>
<% end_if %>
I do not know how to write out the SS template after writing out the coding
6 April 2012 at 11:07pm
please read/work through the tutorials and the previous thread where this question was answered
7 April 2012 at 1:38am
I'm wanting to make the content changeable as if it was on a tab for a certain page type. And it only shows HTML Content WYSIWYG editor 7 times, one for every day of the week... the workflow module kind of doesn't help me.. Still managing to get use to SilverStripe even though I've used it in a minor way years back
|Go to Top|