![]() |
Creating a product
When creating a product, what would be the best way to add a line of code to an existing template?
Currently I'd like to add Code:
<script type="text/javascript" src="clientscript/jquery/1.3/jquery-1.3.2.min.js"></script> Code:
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" /> this doesn't seem to work Code:
<plugins> got it Code:
$search = '<!-- / CSS Stylesheet -->'; |
1 Attachment(s)
'k, guess I'm still stuck
PHP Code:
PHP Code:
Most likely just a typo, but any help would be more than appreciated! |
Why are you using addslashes?
|
I'm not really sure.. It was by the book, sort of say. But you're right, according to this http://us3.php.net/manual/en/function.addslashes.php it wouldn't be needed.
It doesn't alter the result though. |
I did this and it worked fine
PHP Code:
It has to be on global_start too. Although Im sure you have already realised that :p |
both [minicode]foo[/minicode] and [minicode]<!-- / CSS Stylesheet --> test 125345[/minicode] are indeed working. As it is right now you should be able to see the word foo on top of your website.
Since the code I'm using instead of foo is a bit longer, I'm trying to load a custom template called vbdock_facebox_headinclude. Which also is the thing that isn't working. |
Can't you append it to the end of $headerinclude? Something like:
PHP Code:
|
This should work :) (fetch_template())
PHP Code:
|
Quote:
Quote:
|
All times are GMT. The time now is 01:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|