vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   headinclude_bottom missing vb4.1.3 (https://vborg.vbsupport.ru/showthread.php?t=261807)

danyz81 04-11-2011 07:27 AM

headinclude_bottom missing vb4.1.3
 
Hello, i've a problem with a reverted template from 3.8 to 4.1.3 trought the new option on the style admin panel. My reverted template missing headinclude_bottom for calling additional.css.

This is a picture with the example:

http://img541.imageshack.us/f/headin...tommissin.jpg/

In the right, styleid 28 all is ok, with a template made directly for vb4
In the left, styleid 30 is the new template reverted where missing part of code below </title> until </head>

Somebody can help me? :(

Thanks in advantage,
Daniele.

Lynne 04-11-2011 05:28 PM

Then add the code into whatever that page is.

danyz81 04-12-2011 05:01 AM

Thanks Lynne for reply, i know.
The problem is that additional.css missing on my reverted template and so i cant personalize the css.

additional.css is called throught headinclude_bottom template but:

Code:

<!-- BEGIN TEMPLATE: headinclude_bottom -->
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style00028l/additional.css?d=1302262929" />
<!-- END TEMPLATE: headinclude_bottom -->

missing on my reverted template so, how i can put it?

Lynne 04-12-2011 04:14 PM

The template is missing? Are you sure? It's normally empty, so it could be nothing is showing up when you call it if you don't have anything in it. If you revert a template in a style that has a parent style, then you will just revert the template to be the same as the parent template.

danyz81 04-12-2011 05:03 PM

Yep... sorry lynne, I mystiped... my english is so bad ;P
i mean style and not template. I try to explain better:

i've a style for vbulletin 3.8, i've uploaded the xml of this style into a vbulletin 4.1.3 and after i've reverted the style with the new option "Generate vb4 style".
In this reverted style (sorry style... not template) there is no code with external css "additional.css"
The css is not empty but with rules inside that i need for personalize my style.

Lynne 04-12-2011 05:36 PM

Are you looking in the right place for additional.css? It is in the group called CSS Templates. You need to double-click it to view that particular template.

danyz81 04-12-2011 05:54 PM

additional.css:

Code:

/* bg Switch */

.themeWrapper {
        position:absolute;
        top:66px;
        right:5px;
}

.themeWrapper img {
        display:block;
}

.cambiotema {
        width:220px;
        height:42px;
        padding:50px 70px 0 0;
}

.themeWrapper ul {
        list-style:none;
        padding:0;
        margin:1px 3px 0 0;
}

Etc... Etc..

headinclude_bottom template:
Code:

{vb:cssfile additional.css}
{vb:raw template_hook.headinclude_bottom_css}

usercp_shell template:
Code:

etc.. etc..
...
        {vb:raw clientscripts}

        <title>{vb:raw pagetitle} - {vb:raw vboptions.bbtitle}</title>
        {vb:raw headinclude_bottom}
</head>

<body>

{vb:raw header}
....
etc.. etc..

but in my style, if i look the source of my index page, the code for calling the css additional.css missing.

need i write something also on the template headinclude?

Lynne 04-13-2011 03:08 AM

You posted what was in the usercp_shell template, but that is not the index page. What php page is your index page - forum.php or content.php? Check the template for that page.

danyz81 04-13-2011 04:04 AM

Ok Lynne i think that u cant help me, maybe this is a bug i dunno. Isn't important posting the index.php forum.php o content.php because i've this issue only with a style generated with the option "Generate vb4 style" on style option of the vbulletin admin panel.

If i use a style NOT generated with this option i can use and see additional.css on my page.

Code:

<!-- BEGIN TEMPLATE: headinclude_bottom -->
<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style00028l/additional.css?d=1302262929" />
<!-- END TEMPLATE: headinclude_bottom -->

anyway, thanks for you time
Daniele.

Lynne 04-13-2011 04:27 PM

If you think it's a bug, then you may enter it into the tracker here - http://tracker.vbulletin.com/secure/...e!default.jspa


All times are GMT. The time now is 05:40 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.01120 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete