![]() |
in a PHP parsed webtemplate do not temper with other webtemplate options such as conditionals, header, footer etc. Make sure your template's all other settings as same name sample webtemplate "phptest". (Especially header and footer regarding your error message) .
Also make sure your PHP syntax is correct. |
I can gurarantee that my php code is correct because it works fine before integrating with the hack. I still cannot find what's wrong. I use this hack to help me with the displaying of the header and footer and also I would like to have the login and logout box to appear in the non vb page. Do you mind if I PM you the PHP code?
|
Quote:
Copy paste your PHP code in that template inside default "phptest" template. And make sure you do NOT change anything else in phptest template except "webtemplate" field. If it works it means that you tempered with a setting that you shouldn't inside your webtemplate. If it does not work, try to put your code inside default PHPINCLUDE template of vb. If a problem occurs, then it means vb did not like your code for a reason, then webtemplate will inherit this behavior either. If it works in the PHPINCLUDE template, then let me know your PHP code. |
OK...I have tried to put the PHP code in the phptest and it gave the same error.
I don't know exactly putting the code inside default PHPINCLUDE template of vb. Is it in AdminCP or in webtemplate file edit? I saw a PHP include input box in the webtemplate file edit though. I tried putting the code in that field in phptest and it gave the same error also. I don't have any idea how to fix it. Really hope you can help me. Thank you. |
let me know your PHP code
|
Hi I have bit of a problem. I set up a page I would like for someone else to edit. I put their userid in the editors field (459) however I notice myself as Admin that when I click on [Edit this page] on taht page editors.php pops up blank. Why could this be?
thanks |
I would firstly suspect a template problem. Check if all templates created ok and in all template sets too..
|
Everything looks fine and seems to be working fine. Just that is that working.
Just to clearify the problems seems to be with editors.php. Though nothing was changed with that file. Every other part of your system is working great and I'm very happy with it. Does the editors.php file need a certain CHMOD value? |
Quote:
There are very few sections that uses the templates you created in the installations so if there is a problem with your template installation, the hack will still work fine but you'll get blank pages in a few sections one of which is webtemplate editing. So make sure: 1- Installation templates are created correctly 2- Their names are correct (it is CASE-SENSITIVE) and there is no trailing space etc. at the end. 3- If you have more than 1 template sets, templates are created in ALL sets. |
I see what you are saying. The templates for the style. They were all blank. Somehow I missed filling those in. Everythign is fixed now and working great.
Thanks for your help. :) |
All times are GMT. The time now is 10:37 AM. |
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:
|