Feeds public by default

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

 

TrystanLea's picture

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.

Robin_M's picture

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.

TrystanLea's picture

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...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.