What error are you getting?
|
Quote:
My question is: if you register a variable that doesn't have to be register, the php makes an error? I did this in the plugin: Code:
$templater = vB_Template::create('hangman'); Sorry for my english, and thanks for your help. Also, the plugin, if you want to see it something more of the code is here: https://vborg.vbsupport.ru/showthrea...hlight=hangman |
Can you post your hangman template code?
|
Quote:
The original template hangman: Code:
$stylevar[htmldoctype] Code:
{vb:stylevar htmldoctype} |
The template looks OK.... I don't see a link to the page so we can see exactly what is happening. Something can "not work" in so many different ways, so it would be good to see exactly what is going on with this one.
|
1 Attachment(s)
Quote:
This is another plugin where i have, apparently, the same problem: The code is in the attached txt. Thank you for your help again. I reall apreciate always your help Lynne. |
Registering a variable that doesn't need to be registered or is empty will NOT cause an error.
Are you just getting a blank white page when you try to view it? In that case look for your php error log (your host may be able to tell you how to view it) and see what errors are coming up after trying to view the blank page. |
Quote:
Also i have another question of the use in the templates. For example, in the code that i put, in the old one appears like this: Code:
<vb:if condition="$stocktable != null"> --------------- Added [DATE]1356642316[/DATE] at [TIME]1356642316[/TIME] --------------- I solve the problem of the hangman. It seems like the PHP_SELF doesn't work in v4. Thanks to Lynne for the help. But i am working in the other one. My previous question to BirdOprey5 is about it. Lynne suspect that perhaps the problem is about javascript/ajax. ?Is different to v3 to v4? This is the code, if somebody knows that it is right or wrong: Code:
//----------------------------------------------------------------------------- |
Code:
<vb:if condition="$stocktable != null"> I'm sorry I don't know anything about AJAX differences between VB3 and VB4. |
Quote:
https://vborg.vbsupport.ru/showthrea...=242454&page=7 That variable "stocktable" must be registered in a plugin, but if i do it the forum dissapears. |
All times are GMT. The time now is 01:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|