Log in

View Full Version : Adding a template to vba recentthreads.php


unenergizer
01-24-2008, 12:32 AM
I REMOVED THE CODE. HOPE I DONT GET SUED (lol)

This module has 3 templates. xx_exp, xx_exp_head

What I would like to do is add 1 custom template to this. I need a footer portion for the module. So basically add 1 template that will be displayed as a footer for this module.

Any help is welcome!

nexialys
01-24-2008, 01:08 AM
what would be to add this to the end of the loop: $home["$mods[modid]"]['content'] .= 'YOURSTUFF_HERE';
???

that's what i do when i want to add stuff at the end of an existing module (see the ".=" thing!)

unenergizer
01-24-2008, 02:18 AM
Well that didn't exactly work.

Let me explain in detail exactly what I need.

The module has 2 templates (the 2 I am using).
One for the header portion - adv_portal_recthreads_exp_head
One fore repeating content - adv_portal_recthreads_exp

Now, the html I am writing for the custom look will require a footer. Basically I am "wrapping" HTML code around the "adv_portal_recthreads_exp" template by creating a footer.

I hope this is more understandable.

Marco van Herwaarden
01-24-2008, 06:19 AM
// || This file may not be redistributed in whole or significant part.

Seems you are already breaking their license by posting here. ;)

Also the best place to get support on this would be on the vBA forums.