stevegrant
23 Nov 2009, 16:52
I'm creating a custom page (or rather a custom set of pages) that are referenced off the main navbar (thanks to the tutorial in the articles section on here :) ), but I don't seem to be able to get variables from $templater->register() to actually display within my template :(
Code extracts:
predictionleague.php
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Template sweb_prediction_league:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The bizarre thing is that the navbar modification (i.e. adding the breadcrumb trail) DOES get passed through and displayed correctly, but variable_to_pass doesn't!
Output:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Any ideas?
Code extracts:
predictionleague.php
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Template sweb_prediction_league:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
The bizarre thing is that the navbar modification (i.e. adding the breadcrumb trail) DOES get passed through and displayed correctly, but variable_to_pass doesn't!
Output:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Any ideas?