![]() |
Template varibales Problem
Hi,
i try to create my own mod using the HOWTO in "Articles", but nothing works. The "my_test" is cached (not red in debug mode) but the variables are empty or NULL or anything else which makes Problems :D. plugin1 (Hook: forumhome_start): PHP Code:
PHP Code:
Code:
{vb:raw test1} <br>{vb:raw test2} Code:
{vb:raw my_test} |
It works for me. Where in FORUMHOME did you insert the code? Maybe it's there but not visible for some reason (check the page html source). Also make sure your plugins have "Plugin is Active" set to yes, and if you have multiple styles, make sure you're looking at a style that's using the template you modified.
|
Thank you,
i don't know why, but i only have to reboot the server. Another question about variables: are there any possibilites to print a complete array with only one entry? i mean somethink like: Code:
foreach (...) { |
See https://vborg.vbsupport.ru/showthread.php?t=221560.
You may want to have a look at other articles in that section, too. |
Quote:
you can mark this here as solved. Thanks to everyone |
All times are GMT. The time now is 07:06 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:
|