{Javascript}'s PHP equavilent {Javascript}'s PHP equavilent
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

{Javascript}'s PHP equavilent

Started by Sw0rDz, July 23, 2010, 03:58:45 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Sw0rDz

I'm designing a custom theme.  Which I have a header function in the theme.php that overrides the default.  However, it won't include the required javascript scripts.  If i have {Javascript} in my header function, it won't show the javascript but just the text "{Javascript}". 

Sw0rDz

I don't see an edit ability, but I found the solution.
All I did was add this:

echo theme_javascript_head();

Αndré

Quote from: Sw0rDz on July 23, 2010, 03:58:45 AM
If i have {Javascript} in my header function, it won't show the javascript but just the text "{Javascript}". 
The correct token name is {JAVASCRIPT}, not {Javascript}.

torgasm

I'm having the same issue.

The Pop-Up function doesn't work for full-size and it shows the text {JAVASCRIPT} at the top of my gallery which -all it does is- push the template down.

http://conradfan.com/gallery/index.php

Αndré