johnstray / gs-blog

A simple and easy to use, yet powerful blog for GetSimple. With this plugin, you can create blog posts, sort posts by category, view posts in monthly archives, plus much more.
https://johnstray.com/gs-plugin/gs-blog/
GNU General Public License v3.0
6 stars 9 forks source link

Blog page setting never saved #135

Closed johnstray closed 7 years ago

johnstray commented 7 years ago

Description of the problem

When setting the page that the blog should be displayed on, the setting would never be saved and would always use the default 'index' page.

Cause of the problem

This is cause by the HTML markup of the Main Settings page in the blog admin area. When creating the input element, three different versions of the setting name were used in the attributes of the tags, blog_url, blog-url and blogurl. The last is actually correct.

How to resolve the problem

Modify the HTML template file "settings-main.php" so that all of the html tag attributes use the correct setting name of blogurl.