![]() |
using phrases on non-VB pages
Currently I'm including global.php to get vb data on my external page, and that works well, but I can't get the vbphrases. Is there something I have to include to get access to VB phrases on non-VB pages?
|
Add this line of code near the top of your file:
Code:
$phrasegroups = array(); |
unfortunately that didn't seem to work
I'm not setting it up as a "proper" template system, just... well, here's the code I use to call global.php (including your recent advice): PHP Code:
Actually the phrase does show up when I put it directly in my php file, but it doesn't show when I put it in a custom template. Nevermind, I got it. Simply forgot to bring the $vbphrase array into my function :) |
All times are GMT. The time now is 02:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|