![]() |
|
How to change the default /news path to /blog - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: How to change the default /news path to /blog (/thread-13125.html) |
How to change the default /news path to /blog - Bitwalker - 27-08-2018 Zenpage plugin uses /news as url path for the news items but I'd like it to look like a traditional blog and use /blog in the url instead. How to change the default /news path to /blog - acrylian - 27-08-2018 You can use the rewriteToken plugin to change that (and some others). How to change the default /news path to /blog - Bitwalker - 27-08-2018 Thanks. I knew I had seen it somewhere but coudn't find it. Strangely it does not get written to the config file (as the plugin describes), otherwise I would have found it.
How to change the default /news path to /blog - acrylian - 27-08-2018 Only the core rewirte tokens you listed above are written to the config file. "news" is stored as an option in the database. The plugin text is probably is a bit too general here… How to change the default /news path to /blog - Nordlicht - 31-08-2018 @ Bitwalker: Even I managed that it says in the FE "Blogs" instead of "news" but "news" still remains in the url. I'm using the theme Libratus and I can't remember how many files I needed to edit to get the text replaced. Found this: https://forum.zenphoto.org/discussion/comment/1980207 How to change the default /news path to /blog - acrylian - 31-08-2018 Regarding the default tokens there is a bug in 1.5 indeed. Try the master (support build becoming 1.5.1 sometime soon) from GitHub where that is fixed already. However the "news" rewrite token is not related to that. I tried with a plain 1.5 install and it works. The name on the theme itself is hardcoded in several places and must be changed in the theme (which your forum link refers to). The next major release is planned to have options so you can change these "default section names". How to change the default /news path to /blog - Nordlicht - 31-08-2018 @ acrylian: thanks 4 the update. How to change the default /news path to /blog - sbillard - 02-09-2018 Unfortunately in zenphoto the word "news" is hard-coded a bunch of places. those have to be changed to get something like https://testalbum-2.sbillard.org/zenphoto/blog as your "news" index page. How to change the default /news path to /blog - acrylian - 03-09-2018 As I wrote above… |