WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Template Problems
stormswimmer:
I'm trying to add a global block to my template. However, I have been unsuccessful. I read the tutorial at http://www.websitebakerden.com/pages/posts/adding-global-block-to-show-on-all-pages24.php and followed the directions. I created http://balanceyourmetabolism.com/WebsiteBaker-2.7.0/wb/pages/blocks/links.php and http://balanceyourmetabolism.com/WebsiteBaker-2.7.0/wb/pages/blocks/blocks1.php then inserted
--- Code: ---<?php include (WB_URL."/pages/blocks/links.php"); ?>
--- End code ---
and
--- Code: ---<?php include (WB_URL."/pages/blocks/blocks1.php"); ?>
--- End code ---
into my template. Have I overlooked something?
Ruud:
Try using WB_PATH instead of WB_URL.
@Availor:
You might want to change that in your tutorial. WB_URL will not work.
Ruud
Navigation
[0] Message Index
[*] Previous page
Go to full version