8 years ago
1
Topic

hello seblod

I'm developing a website where I allow public users  to post item that I have created using seblod and want that item to unpublish after 24 hours of post . When we create an item "article" Joomla automatically appended current date&time of user's device. but I want joomla to append current date and time of server. So I can easily unpublish items that are 24 hours old. How can it is possible any one please help me..

Thanks and regards

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
0
Level 1

Hi,

you can alter fields value before it is saved using onBeforeSave plugin, there you can set value using php time functions that are based on server value

http://www.seblod.com/store/extensions/1854

Get a VIP membership