PDA

View Full Version : No collapse Module (adv_portal_module_wrapper)


RaceJunkie
11-06-2007, 07:47 PM
I'm working on some integration with my forums home and I want a couple modules that can not be collapsed. So if I clone the adv_portal_module_wrapper template what do I remove to make the module non collapsible?

Brian
11-07-2007, 09:36 AM
Just look for this line:
<if condition="$vba_style['portal_collapsemods']">


And remove everything after it and up to the next </if>.

Our Sponsors
 

RaceJunkie
11-08-2007, 03:04 PM
ok done it as you said but now the module does not show at all. I created a new template named adv_portal_module_wrapper_nocollapse I copied the entire contents of the adv_portal_module_wrapper template first just to test it.

I went to my module and inserted adv_portal_module_wrapper_nocollapse in the Alternative Module Wrapper Template area. I have Use Module Wrapper Template set to yes. What am I missing?

I have not made any edits to the templates yet. So it should show up as a normal module correct?

Brian
11-09-2007, 11:06 AM
Does the module actually have any content yet? If not, then it will not be displayed.

Our Sponsors
 

RaceJunkie
11-09-2007, 12:08 PM
Yea if I switch it to the normal adv_portal_module_wrapper template it will show up.

Brian
11-09-2007, 12:21 PM
Can you post the exact code you're using in your 'adv_portal_module_wrapper_nocollapse' template here?

RaceJunkie
11-09-2007, 11:28 PM
Can you post the exact code you're using in your 'adv_portal_module_wrapper_nocollapse' template here?

Brain I am so sorry to have wasted your time. :o I added the template to the wrong style. Everything seems to working fine.. :D

trulylowcarb
05-13-2008, 10:34 AM
Perfect, just what I was looking to do! Thanks for sharing this modification... perhaps in another release, you could include both wrapper templates.

trulylowcarb
05-13-2008, 10:47 AM
hahahaha, oops, I un-checked the box for 'use wrapper template' at the same time I added the name of my new custom wrapper template, and it totally broke the layout until I realized I needed that box to stay checked, as well as entering the new template name. Figured I should mention it here and maybe save the next dummy ;) from the same mistake.