One Page plugin released

 Jimako    27 May 2020
 None    Plugins

onepage_plugin_.jpg

Because e107 is complex CMS system, 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. 

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

Account

Right Sidebar



  • Jimako
    Jimako  5 months ago

    Here is new chatbox plugin (not new, just updated and fixed)

  • Jimako
    Jimako  2 years ago

    @kreossino Hi, yes, everything is ok.

  • kreossino
    kreossino  2 years ago

    heyyy tutto ok????? ...!!!!

  • Jimako
    Jimako  2 years ago

    Thanks for testing. And next funny thing - I forgot to uninstall APOS plugin, so it still created welcome post for you in forum, but forum is not installed... Just a reminder to look at it.

  • Tgtje
    Tgtje  2 years ago

    @Jimako just info : 1st activ. mail not received (2 day wait), resend ok (20 seconds) wink .

  • Jimako
    Jimako  2 years ago

    test first message biglaugh confused

  • Jimako
    Jimako  3 years ago

    @Alex try this one: https://cookie-script.com/

  • Jimako
    Jimako  3 years ago

    In fact, I have never notice this because with WP plugin it is free. I will see what it does after free trial.

  • Alex
    Alex  3 years ago

    Well it's nice but 10 dollar a month for a business use pro domain... that costs more than the hosting frown

  • Jimako
    Jimako  3 years ago

    And yes, it works very nicely... I use it long time. Just first or second time used on e107 site.


Smart move on repo setup Using similar with langua [more ...]
Tgtje 2 years ago
Updated path where download this older version.
Jimako 2 years ago
Now I see that I need to fix comments layout for 2 [more ...]
Jimako 3 years ago
Thx Jimako, the website should look outdated, that [more ...]
Alex 3 years ago
Themes are next on list. I use it mainly for swit [more ...]
Jimako 4 years ago
Nice one J, so if i understand this right i could [more ...]
Alex 4 years ago

Jimako 1 week ago
kreossino 3 months ago
mr 4 months ago
gandsnut 5 months ago
hersul8007 6 months ago
Martin 1 year ago
belr 1 year ago
FloKysLo 1 year ago
Viktor 1 year ago
Allan 1 year ago