Hello everybody,
I'm wondering if there is a way to set all new feeds as public by default.
Thanks in advance for your help
Robin
Archived Forum |
|
Feeds public by defaultSubmitted by Robin_M on Wed, 15/04/2015 - 08:51Hello everybody, I'm wondering if there is a way to set all new feeds as public by default. Thanks in advance for your help Robin
» |
Re: Feeds public by default
Hello Robin, this is not possible at the moment from the user interface, its private by default. But you could change the default value in the feed_schema.php in emoncms/Modules/feed if your running your own installation of emoncms.
Re: Feeds public by default
Hello,
I have changed the default value in the feed_schema.php and I can see the default value has changed in phpMyAdmin. But when I create a new feed it is private by default. Why is the default value not used when I create a feed, is public = 0 send as a parameter ?
Thank you.
Re: Feeds public by default
Hello Robert_M, yes sorry it is set when creating the feed to false have a look here line 108 of feed_model https://github.com/emoncms/emoncms/blob/master/Modules/feed/feed_model.p...