vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Template cache (https://vborg.vbsupport.ru/showthread.php?t=288469)

TheSupportForum 09-29-2012 05:07 PM

Template cache
 
please can someone guide me on template caching

each time i remove my own products the template stays and is not removed

nhawk 09-29-2012 06:42 PM

Are the templates being installed by a product XML file?

If yes, did you edit them after they were installed? From what I recall, vB won't delete a customized (edited) template. I could be wrong about that though.

TheSupportForum 09-29-2012 07:02 PM

Quote:

Originally Posted by nhawk (Post 2369574)
Are the templates being installed by a product XML file?

If yes, did you edit them after they were installed? From what I recall, vB won't delete a customized (edited) template. I could be wrong about that though.

1 ) yes its installed via product.xml
2) its not edited after, and is highlighted red after product removal

ForumsMods 09-29-2012 07:07 PM

What is the add-on?

TheSupportForum 09-29-2012 07:14 PM

Quote:

Originally Posted by ForumsMods (Post 2369581)
What is the add-on?

1 template

ForumsMods 09-29-2012 07:19 PM

How are you editing the template?

TheSupportForum 09-29-2012 09:39 PM

Quote:

Originally Posted by ForumsMods (Post 2369588)
How are you editing the template?


as i said i have not edited it, after i remove my own product.xml the template still exists and turns red after the product is removed

i have no template cache in place and need one

ForumsMods 09-29-2012 10:08 PM

Template should be removed when product is uninstalled.
Is the product field set correctly for the template?

TheSupportForum 09-29-2012 10:14 PM

i never knew it was so hard to ask a simple question

"what is the correct way to create a template cache ?"


All times are GMT. The time now is 07:59 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.01187 seconds
  • Memory Usage 1,721KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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