![]() |
|
#1
|
|||
|
|||
|
I'm trying to figure out a way to insert modules into my header template(next to my logo). I followed http://www.vbadvanced.com/membersare...eid=6#intmange
but I don't think i'm either doing it right, or this isn't what I should be doing. I make the integrated page, add index.php and if I define script as header or index, nothing shows up. I have made a new module box called header and put the code in the header template. Any advice? site: http://revenantgaming.com |
|
#2
|
|||
|
|||
|
Maybe this will help.
http://www.vbadvanced.com/forum/showthread.php?t=41998 For each region you add to the Location List in Main Option, you should customize your CSS so you dont break the site. |
|
#3
|
|||
|
|||
|
Looks like that is just for the main portal template page, I need to be able to add to outside of that template like header or footer.
|
|
#4
|
|||
|
|||
|
Anyone?
|
|
#5
|
|||
|
|||
|
It should also work with the header.
Just follow the concept rather than the tutorial. Add a variable name, such as my_header. Then add the template var to the header template you wish to edit. {vb:raw home.my_headerblocks} EDIT: I tested the concept and it failed. Will do further research. Last edited by Dudditz; 07-25-2012 at 04:46 PM. Reason: failed testing |
|
#6
|
|||
|
|||
|
Yea, i've tried doing everything you can think of to get this to work. I might just have to manually add code for modules rather then having it automated.
|
|
#7
|
|||
|
|||
|
You would have to globalize the CMPS variables for this to work
|
|
#8
|
|||
|
|||
|
Quote:
Or do we globalize the module file that we plan to use in the header? One workaround hack that I thought of (UNTESTED) would simply be replacing the header shortcode in your portal page and pasting the entire header into it instead. That way, you can edit as you like. |
|
#9
|
|||
|
|||
|
But then it wouldn't work on the forum page =).
|
|
#10
|
|||
|
|||
|
the CMPS variables are not global, so they do not work outside of CMPS; hence the modules won't work
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using a Different Header Template | Don Z. | "How Do I..." Questions | 5 | 09-03-2008 01:59 PM |
| Custom Template/Module Header? | edfig | "How Do I..." Questions | 4 | 06-02-2008 03:32 PM |
| How do I fix template header thats at bottom? | Billspaintball | "How Do I..." Questions | 2 | 02-06-2006 02:43 PM |
| Changing the header template | 2thumbsup | Troubleshooting / "How do I..." Questions | 2 | 07-10-2004 04:13 PM |
| Help with header template | PtP | Troubleshooting / "How do I..." Questions | 5 | 06-09-2004 10:13 AM |