WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • wblink does not work
  • Print
Pages: [1]   Go Down

Author Topic: wblink does not work  (Read 59161 times)

Offline noname8

  • Posts: 151
wblink does not work
« on: December 13, 2018, 10:58:06 AM »
I'm in the stage of updating old baker site 2.8.1
to 2.8.3 SP5 (and then more)

but in this stage the [WBLINK223] does not work in the frontend.
They worked with the old version and i did not change template files. No error is produced
They work in the admin nicely

I have in the template, header section:

Code: [Select]
<?php 
if (function_exists('register_frontend_modfiles')) {
//register_frontend_modfiles('css');
//register_frontend_modfiles('jquery');
register_frontend_modfiles('js');
} 
?>


Just Before the body closing tag there is

Code: [Select]
register_frontend_modfiles_body();
i found preprocess -function from class.frontend.php and put die() in it. It is never called

Logged

Offline noname8

  • Posts: 151
Re: wblink does not work
« Reply #1 on: December 13, 2018, 11:01:11 AM »
wow, found out fast. Old template didn't have buffer.
This fixed it

Code: [Select]
<?php 
    ob_start
();
    
page_content(1); ?>
<!-- Content Block 2 - Header Content -->
...
$output = ob_get_contents();
    ob_end_clean();
    $wb->preprocess($output);
    echo $output;

Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8914
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: wblink does not work
« Reply #2 on: December 13, 2018, 11:22:24 AM »
Hi, i think you have nothing to fix.
Do the needed upgrade steps from 2.8.1 to 2.8.3 and then upgrade. Don't check the website.
Make the next step, upgrade to 2.12.1.
Update your modules if it is possible. Now fix what is needed.
Logged
https://onkel-franky.de

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • wblink does not work
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2