Preregistering & custom pages
Hey guys, I'm in the process of converting a few personal vb3 custom pages to be compatible with vb4, however, I've hit some problems when it comes to handling the conditionals in my templates. Before, I could use the variable names themselves inside conditionals, and I have read that I need to preregister them first.
I've tried making a plugin to preregister, and doing it inside my php file itself, but still no luck.
I was wondering if somebody wouldnt mind going over how this is done in custom pages so that I can hopefully fix my issue. Thanks.
|