I had a similar problem , and :
In my php file i add : PHP Code:
PHP Code:
HTML Code:
<link rel="stylesheet" type="text/css" href="{vb:raw myvbcsspath}mytemplate.css" /> Now it's work . Look includes/class_core.php , Line 3994 |
Quote:
|
I dont understand the purpose of all this... I just made a template called "media.css" and added the following to the shell of my mod:
Code:
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}media.css" /> |
There is now a hook for the original purpose of this thread. As I said, this thread can now be considered obsolete. Now it has become as easy as creating a "yourcss.css" template, adding a plugin in the parse_template hook, and then do something like this in the plugin:
Code:
$template_hook['custom_css_list'] .= ',yourcss.css'; |
does anyone know how to add a customer template to an existing template for example header
then to insert the code below or above {vb:raw ad_location.global_header2} |
All times are GMT. The time now is 10:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|