WebsiteBaker Support (2.8.x) > Templates, Menus & Design
[wblinkXX] to my template
(1/1)
Tinke:
Hello,
I have small problem.
I have a site which has lots of links to website baker pages. And many links are outside WebsiteBaker content -area.
Is it possible to [wblink-page-id] style link added to my tempalte file.
example: <a href="[wblink3]">My Link</a>
Note. This link is not a WYSIWYG editor page. This link are my template footer. :-)
DarkViper:
It is possibel to do in a inofficial way.
You must buffer your footer and do a extra parsing
--- Code: ---<?php
ob_start();
?>
...
place here all your HTML and PHP of your footer (including your [wblinkxxx] parts)
...
<?php
$output = ob_get_contents();
ob_end_clean();
$wb->preprocess($output);
echo $output;
?>
--- End code ---
I've not testet yet... but it should work. (without any guaranty) 8-)
Tinke:
WOOW! :-D
This works very vell.
Thank you very much! :-D
--
Tinke
Navigation
[0] Message Index
Go to full version