Page 1 of 1

/update.php like in nibbleblog

Posted: Wed Feb 28, 2018 8:42 am
by shafri
Hi guys, I changed the RSS(amount of items) and usuallly in Nibbleblog, I'll go access the ../update.php. This will update the DB(config.xml etc)

The question is how can I get the similar function in Bludit.

Re: /update.php like in nibbleblog

Posted: Wed Feb 28, 2018 9:46 am
by diego
Hi,
update.php is for update the system not for update RSS, on Bludit the RSS updates when you create / edit / remove a page.

Re: /update.php like in nibbleblog

Posted: Wed Feb 28, 2018 10:22 am
by shafri
Hi, thanks for the reply.

Actually I am playing around with the rss and code it like:
https://codepen.io/smallditchstudio/pen/JpeBor

Usually when I do any changes like how many rss feed items to be displayed, or change the image(edit the post content), it won't straight away updated in the display above. In Nibbleblog, the workaround is easy, I just run the ../update.php and the display will be updated accordingly. I am actually looking for similar function in bludit where I can update the system. It may become the workaround.

In short, no similar function to update in Bludit like what we done in Nibbleblog?

Re: /update.php like in nibbleblog

Posted: Wed Feb 28, 2018 11:10 am
by diego
I understand the error, is a bug.

Try this changes on the plugin RSS.
https://github.com/bludit/bludit/blob/m ... hp#L85-L92

With that changes after you save the form, the plugin is reloaded and recreate the RSS.

Re: /update.php like in nibbleblog

Posted: Wed Feb 28, 2018 3:33 pm
by shafri
Awezome! Thanks a bunch!