Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Delete row with article


Go to End


843 Views

Avatar
m3ch0m

Community Member, 4 Posts

26 September 2012 at 8:35pm

Edited: 26/09/2012 8:37pm

Hi,
I explain my problem: in news module, I would add function of visiblity of some article (for example: from 27. 9. 2012 to 30. 9. 2012). It already works, article doesn't show in article holder, but when I put absolute URL to article, it works...

So I need some function, which unpublish my article to 26. 9. 2012, publish on 27. 9. 2012 and unpublish on 1. 10. 2012.

I had some idea of delete row in MySQL in table NewsArticle_Live and add this row on chosed date.

Thank you

Marek