Jump to content
xisto Community
Sign in to follow this  
iGuest

How To..?

Recommended Posts

If you are looking to put it in a block,

 

I can promise you 100%, beyond a shadow of a doubt, if your script works stand alone, then if you wrap it in this code

 

<? $content = <<<_JS_ // Your Script Here _JS_; ?>
 

it will work. Make sure that you have no spaces after the _JS_ and _JS_; tags. Save the file in blocks/block-Your_Block.php. I have proven this over and over again. Just yesterday to Poncho.


I took this from the following post:

 

http://www.nukecops.com/postp39921.html%2339921

 

If you're looking to put it in the header, you'll have to edit the header() function in theme.php in your theme.

 

 

And btw, is it at all possible for either of the two previous posters to use better English? Those posts, translated into English, should be something like: "I would also like to know how, since I cannot figure it out".

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.