e107sk.com

One Page plugin

on Wednesday 27 May 2020
comments: 0

Because e107 is complex CMS, there are some links that they always exist. If you want to make One Page site (just with scrolling), you should redirect those links to the Homepage.  But sometimes you need at least a contact page or something, so now with this plugin, you can set this behavior only for selected areas.

The former version of this plugin redirected everything except excluded pages to the homepage, but this is a better version, the version where you have things under your control.  

2f3823b34276

Version 1.0:

Contact Page  Warning! Use this only if you don't use any contact form! It redirects any "contact" in URL too, not only contact.php. If you use contact form on Homepage, by default menu is redirected to contact.php if there is an error.
Comment System Core redirects to yoursite/index.php file. This redirect to SITEURL (no index.php)
Print Page The same problem with double content it print.php doesn't have parameters. If you use it, be sure that there is no print icon in your news/pages used.
Members Only page Link for members-only access always exists, although your site access is not limited.
Who is online Page Link for Online page always exists, although it displays nothing for quests. 
Search page With One page site you will probably need search functionality
Submit News page Always exists with Access denied message for quests
Top Results page Always exists with No results message
User page Always exists with Access denied message for quests. With One Page site, you don't need a user management system.
News Plugin News is the core plugin you can't uninstall. Links always exist.
Page Plugin Book/Chapter/Pages system is inbuilt in the core. Links always exist.
Error Page With 404 error is displayed core 404 page. This redirect the 404 error page to the homepage.

Warnings:

Ab04ba3d2913

With One Page site you shouldn't:

- use Associate Root namespace, otherwise that part will not work (if you use Page, then Page is not working, with News, News redirection is not working)

and you should:

- use Redirect to System not found page, otherwise, Error redirection will not work.

How does it work?

It checks at the first e_PAGE variable.  If news, pages or contact is activated, then it checks "news", "page" and "contact" vs actual URL.

0 Comments

Other links

Follow us