Combination of WordPress and e107

 Jimako    30 Sept 2021
 None    Misc

logoHDwhite.png

Using WP for areas when e107 fails and e107 for adminstration custom things

It takes too long waiting for e107 to be perfect. Its power is in Admin UI, easy management data etc. So I decided and successfully tested to combine WordPress and e107. 

My favorite (and almost only used theme for WP is Impreza with Visual Bakery for building content), so I used this solution on my originally e107 site.

e107 is installed in a subdirectory (it works in the same level too, but I needed it this way to block access to this subdirectory. 

e107 site uses a custom plugin with a lot of data I need to manipulate with e107 way. Before it was a combination of the United Nuke and e107, but I need to remove Nuke soon because of PHP 8.

How does it work?  

- if prefix for e107 is f.e. e107_, then prefix for WP is e107_wp_ - so this way is e107 able to manipulate with WordPress tables. 

- include class2.php in wp_config.php with the correct path. In the beginning because of sessions. 

Then I created a WP shortcode in function.php and the content of it is fully managed with e107 handlers. I needed only one parameter to display the needed data. The reason is easy - I am more familiar with e107 programming than WP queries and posts and it is easier for me than write the same code in WP. 

I mapped this shortcode to Visual Bakery a and it is all.

Now I created posts/pages in WP, this solves URLs issues, SEO issues, easy content management issues, media management. And if I need to display data managed by e107, I just add a shortcode with the correct parameter.

And the power of Impreza grids, filters, content templates, and page blocks allows me to do exactly what I need - to be able to organize my collection the way I always wanted. And using e107 for managing data allows me to avoid WP administration. I still can't imagine managing this with WP and this is the perfect solution for me.  

Example:

https://www.kizi.sk/serie/gli-intrepidi-sir-condor/

The post itself is managed by WP, but everything below My collection is done by e107. 


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