PDA

View Full Version : headinclude_bottom missing vb4.1.3


danyz81
04-11-2011, 07:27 AM
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/headincludebottommissin.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:


<!-- 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:


/* 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:
{vb:cssfile additional.css}
{vb:raw template_hook.headinclude_bottom_css}

usercp_shell template:

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.


<!-- 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/CreateIssue!default.jspa

danyz81
04-13-2011, 07:34 PM
i will do, thank you again Lynne.