![]() |
|
Thread Tools |
#1
|
||||
|
||||
$header and CMS
I have at global_start (also tried all different global)
That displays the cart contents in every single page of the site, except the CMS pages. What am doing wrong? No members have liked this post.
|
#2
|
||||||||
|
||||||||
You can't call anymore $header like that.
Replace the last line by this:
And add this at the end of the header template:
Don't tested it, but it should work.
__________________
Administrator of http://forum.vbulletin-fr.org/ vBulletin QA Engineer / Lead Project Tools Developer No members have liked this post.
|
#3
|
|||
|
|||
Thanks but that no longer displays anywhere with that method. Also I was trying to avoid a template edit
No members have liked this post.
|
#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
I am basically done converting this mod except for that and some peculiar tab situation No members have liked this post.
|
#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. No members have liked this post.
|
#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 No members have liked this post.
Last edited by Lionel; 18 Nov 2009 at 02:51. Reason: Auto-Merged DoublePost |
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Major Additions vBFlash Header (Lite) - Alternative to default vBulletin logo/header | syrus.xl | vBulletin 3.6 Add-ons | 78 | 12 Apr 2009 09:52 |
Forum Home Enhancements [Monkey's Works] - vPro Navigation Header: Professional Header | Triky | vBulletin 3.6 Template Modifications | 18 | 30 Jul 2008 20:00 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 12:13.