vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Common Templates Not Common? (https://vborg.vbsupport.ru/showthread.php?t=233824)

Toni3055 01-22-2010 04:00 AM

Common Templates Not Common?
 
Hello!

New to vB4 and have hit the decorating ground running. Not doing too shabby except for a few minor things, one being a "common" issue.

I've added two extra backgrounds to my forum, one on the sides and an actual footer. To add the side background, I added a new class called "side_wrapper" to the common header template and closed it in the common footer template, where I added and closed the actual footer background, as well. The styling for both is in additional.css. Works flawlessly on the forum itself. And looks lovely, if I do say so myself. ;)

The problem is, when I go to any page aside from the forum, like editing my user profile, for example, the sides and footer disappear. I surmise I must add their classes to additional templates, but I have no idea to which ones. Any help would be greatly appreciated. Thanks a bunch! :)

Lynne 01-22-2010 02:36 PM

They forgot to include the additional.css in the USER_CP template. Open that template, find this:
HTML Code:

</head>
Add directly above:
HTML Code:

    {vb:raw headinclude_bottom}

Toni3055 01-22-2010 03:44 PM

Lynne, thank you!

I don't have a USER_CP template. I have USERCP and USERCP_SHELL. USERCP did not have the </head> tag, so I added your code to USERCP_SHELL, which does. Seems to have worked like a charm!

I'd have never thunk to put it there on my own. Thank you again! :)

Lynne 01-22-2010 04:07 PM

Whoops, sorry, I can't remember the names of all the templates. Glad you found it though.


All times are GMT. The time now is 02:09 PM.

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.00967 seconds
  • Memory Usage 1,711KB
  • 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_html_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