![]() |
Quote:
|
Quote:
|
Quote:
Fixed it. Actually had nothing to do with the navbar template being "all messed up" as you so eloquently put it (and given that you just took the page source code, not sure that you could say so with such confidence as you did...) The problem was that I had placed an 'if member' condition around some java while trying to restrict the sub-navbar to members only...my bad... I'm really sorry that I inconvenienced you so, as I was just looking for some help from more experienced people like yourself. Regards, Ian |
Quote:
|
i install pretty cool but i have problem on this two plugins '
hook location - online_location_process: and hook location online_location_unknown: where do i put this two codes ? how can i add this code to my template |
Quote:
|
1 Attachment(s)
Hello Lynne and all,
I'm rather new to VB and trying to learn. Your tutorial was a great help and following it I managed easily to create a page which works very well, thanks a lot for it. But I have a slight problem which I can't explain : at the top of this particular test page are some strange characters which don't appear on other pages. I join an image so that you can see it. I verified that there was absolutely nothing before the <?php in the php page and before the {vb:stylevar htmldoctype} in the template, and I made the pages with Notepad. Any idea ? Thanks for your very useful help Attachment 132056 |
I've seen that before but can't remember what was causing it. But you have to remember, vb works by collecting up all the output into a string and printing it at the end. So those characters could come from any code that's executed, and not just from the very beginning of the script.
|
And notepad is not a suitable editor for web used files. Use notepad++ instead to edit and save files.
|
Quote:
@Cellarius : it's Notepad++ I meant, of course ^^ Thanks for your answers anyway Edit : I just tried to use a hook instead of an external php file, following the method of Cellarius Code:
$templater = vB_Template::create('my_own_template'); |
All times are GMT. The time now is 11:08 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:
|