Add 'activated' Field Type
septor opened this issue · comments
Allow the content code to be active or not. The example provided to me will be the easiest to explain why this would be useful:
"If you have multiple content codes to load CSS files to change the look of your site (think Bootstrap themes), you may want to cycle through them with a cron job to display a new one every hour. It would be easier to set up all the content codes and then have a script (or whatever) cycle through and activate one while deactivating all the others."
Note: The actually code to cycle through and change the activated field would not be part of ShowOnPages. It's used as an example!
Look at this: http://v2demo.e107.sk/index.php But I think it's better to create separate plugin for this functionality.