![]() |
[SOLVED] - New page button, for pg not found - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Scripts & Components (http://get-simple.info/forums/forumdisplay.php?fid=11) +--- Thread: [SOLVED] - New page button, for pg not found (/showthread.php?tid=7817) |
[SOLVED] - New page button, for pg not found - jwzumwalt - 2016-01-06 Is there a way to have a 404 page not found, know what page was being attempted and have a button that offers to create a new page with that name? Media Wiki does this, and I would like to do this, if it is possible. RE: Need new page, for pg not found - DimaYakovlev - 2016-01-08 (2016-01-06, 00:13:25)jwzumwalt Wrote: Is there a way to have a 404 page not found, know what page was being attempted and have a button that offers to create a new page with that name? There is no built in functionality for this, but you can create plugin. RE: [NOT POSSIBLE] - New page button, for pg not found - DimaYakovlev - 2016-01-18 (2016-01-06, 00:13:25)jwzumwalt Wrote: Is there a way to have a 404 page not found, know what page was being attempted and have a button that offers to create a new page with that name? Possible RE: [NOT POSSIBLE] - New page button, for pg not found - DimaYakovlev - 2016-02-06 Since the problem is solved, it is possible that solution may be useful for others users. 1. Create new plugin with given code and activate it. PHP Code: <?php 2. Place this code in template file which used for your website 404 page. PHP Code: if (function_exists('get_new_page_from_404_link')) { |