vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Adding a template to vba recentthreads.php (https://vborg.vbsupport.ru/showthread.php?t=168604)

unenergizer 01-24-2008 12:32 AM

Adding a template to vba recentthreads.php
 
PHP Code:

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:
PHP Code:

$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

Quote:

// || 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.


All times are GMT. The time now is 01:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00997 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete