Guest ncoredump Posted April 11, 2006 Share Posted April 11, 2006 Hi It would seem None of the guides re-enforce the importance of having the BEGIN and END tags for the template file. Also here I will highlight a important connection between template file and php. eg inside: static_links.tpl <!-- BEGIN: staticlinksvar --> ... html template code here... <!-- END staticlinksvar --> "staticlinksvar" is relevant to the name you perform the following lines of code with located in "yourbox".inc.php: located in SITENAME/include/boxes/. In our example case static_links.inc.php $box_content->parse("staticlinksvar"); $box_content = $box_content->text("staticlinksvars"); with out the linkage the box will never render Hope this helps others, spent 12 hours on it.. Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted April 12, 2006 Share Posted April 12, 2006 It is usefull, thanks for posting this :) Quote Link to comment Share on other sites More sharing options...
markscarts Posted April 12, 2006 Share Posted April 12, 2006 Thanks for spotting the "missing link" in the posts, ncoredump! Very well done! :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.