The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$header and CMS
I have at global_start (also tried all different global)
PHP Code:
What am doing wrong? |
#2
|
||||
|
||||
You can't call anymore $header like that.
Replace the last line by this: PHP Code:
Code:
{vb:raw livecart} |
#3
|
|||
|
|||
Thanks but that no longer displays anywhere with that method. Also I was trying to avoid a template edit
|
#4
|
|||
|
|||
Here is the full code that works. When I switch the commenting for last line it no longer displays anywhere.
When I keep it as it is, it displays in all pages except the CMS pages PHP Code:
|
#5
|
|||
|
|||
Lionel you code is ok. The problem is simple, global_start is not called in CMS.
Use process_templates_complete hook with your code. |
#6
|
|||
|
|||
Makes sense. But then, what is being called? I tried global_state_check which I know works everywhere, but that gives me other errors.
--------------- Added 17 Nov 2009 at 21:49 --------------- hehehe did not fully read you.... (actually I only read your first reply from email, before adding the suggestion) that hook you suggested is perfect ... thanks!!! Now I have to tackle that tab in profile |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|