e107 Bootstrap4 Freelancer theme


Version 4.0.0 released

For now, this theme is used mainly for testing limitation of the e107 core with Bootstrap 4.  If there is something wrong, we need to know.

Together with this theme are core bootstrap4 and new theme developed. All for 2.2.1 with some workarounds.  Any update of this theme will fix some things or add new functionality. 

Soraki e107 Bootstrap Theme


First version of e107 soraki version finished

Soraki theme is theme based on GetShitDone Pro by Creative Tim. 

Light version has limited content (many parts are hardcoded), mainly things that are solved by premium plugins.

Relive e107 blog boostrap theme


New theme for e107

History of Relive theme 

Relive theme is originally WordPress theme by TeslaThemes.   

I bought Lifetime Developer licence sometimes in 2015,  what means that I can do with those themes what I want (confirmed by their team now, I can't only sell their themes directly). 

They have very interesting themes and I really don't know why I choose Relive. I just found it downloaded at my comp while cleaning old stuff.  It looked very well coded, so I decided to try if developing would take more than 24 hours.  It took 15 hours, with making videos 3 days. Of course, not 15 hours at row, but during those 3 days. 

You can see result on my demo site


Video about creating e107 theme


How I do e107 theme

I wanted to create video tutorial how to make e107 theme from good HTML theme long time ago.  Problem was that I always spent more time on editing video (adding titles and description) than on theme itself. This way I lost the interest very soon and many of my themes left unfinished.  

While cleaning my repositories I found theme Relive (HTML version) to what I have developer licence so I can give it for free download. It is good opportunity to show power of e107. Or its limits. I don't know yet.

So now I decided for different approach.

I record my work, but I don't do explanation. If you have ask why I did something, just ask on forum.  Don't ask me on gitter, it's for urgent questions, not for discussion. 

See WP version

All serie:  


JM Canonical plugin


Extended functionality of canonical plugin for e107


What is comming in version 1.4

- admin area 


23.8.2018  Updated version 1.3.2 

(problem with forum pagination was fixed, so I removed workaround)

Version 1.4.0 in development

- added field title to manual canonical urls because this plugin is planned to use for gsitemap


New in version 1.3.1:

-  added possibility to set 301 redirect.  Mainly used for 404 urls added in manual canonical urls. Default redirect was 302.

New in version 1.3.0 

- added redirect

- added support for download plugin


Duplicate content and canonical URLs.

Based on discussion on forum I spent some time reading a lot of articles about this topic - duplicate content and canonical URLs.  Some advices are exactly opposite, so it's on you. This plugin just helps to solve some issues.

It's based on the canonical plugin in e107Inc directory. I couldn't get that plugin to work, but at the end I was able to fix it too. So this plugin uses the same table (and next two ones) as original plugin.

BE AWARE - canonical URLs are not redirects! They just point search engines to the same content if more versions of the same page is available. (It’s imply saying, it's more complicated, but point is - Canonical URL must exist!, it's not like sef-url field, where engine does all rewritings)

So how this plugin works? There are 3 types of canonical URLs:

-  manually created and combined with existing links (first priority)

-  related to e107 tables. At this time only for news. 

-  generated from e107 constants

Manually created.

I use it for homepage (https://www.e107sk.com/, https://www.e107sk.com/index.php) and for news homepage -  news.php, news/, news - without backslash... -  in debug mode type:canonical_request_URLs  (Yes, I know, terrible name, but I was focused to get it work, I will solve cosmetics details later).  

Related URLs

With news there is new tab Canonical and there you should insert absolute (full) canonical address. After this all version of that news (after changing sef-url, after using old menu with legacy link) will have the same canonical url. In debug mode type:related_URLs 

Be aware that after changing way how news URL is created, you will do it again (if you don’t use legacy links).  Or you will choose the right setting  :)  See as example: https://e107.sk/news/view/13/freelancer-theme-for-e107-2-1-4

Generated URLs

This option can be set ON/OFF in Settings.  This code is moved from theme.php where was originally tested during our discussion with Evgura about this topic.

What are rules for generating?

- it ignores gallery plugin (try to look at constants with this plugin)

- with forum plugin it uses e_REQUEST_URL . You should use SEF-URL option with forum plugin. I tried to put it OFF, but some functionality is missing then and it always returned somehow back...

- if there is available e_URL_LEGACY constant, it uses it for canonical URL   (it is set for plugins using simple e_url.php for rewritting)

- if there are available e_PAGE and e_QUERY constants, it uses them for canonical URL


- you can set all plugin ON/OFF without uninstallation. If something is wrong, just deactivate it

- you can set ON Run Check - for your canonical link it returns if they are available (200 vs 404 values). It takes some time, I just needed quick check if all links exist.  

- you can set Display Debug info on Frontend -  it displays needed values for main admins without need to set debug developer mode or debug browser extension. This is probably the best feature for me, it was annoying to open source code or to scroll full list of e107 constants to check existing values)

- you can set OFF generating of legacy URLs.



And again here: I am sure it can be written better way, so just do it. I do what I know and I am aware that my code is far far from perfection.  You are welcome to write better plugin.

PS. I would put bigger image into text, but I use on this site version with TinyMce issues.

Other links

Follow us