This is more of a request than a tutorial...

Status
Not open for further replies.

dsfreak

New Member
Messages
1,338
Reaction score
0
Points
0
I have a problem wiht PHP Nuke, see it wont let me use javascript, can someone help me out?
 

repusmod

New Member
Messages
502
Reaction score
0
Points
0
K but where you want to use javascript on main page? block? Add a javascript direclty as a message on phpnuke it is simpossible it will tell you that you have wrong tags or something liek that, but maybe there is a hack which can allow you to post javascript...
 

dsfreak

New Member
Messages
1,338
Reaction score
0
Points
0
I want to use it in a block for crafty syntax Live Help
 

dsfreak

New Member
Messages
1,338
Reaction score
0
Points
0
You want the code? Ok hold on let me get it.....


Here's the code....



<!-- Powered by: Crafty Syntax Live Help http://www.craftysyntax.com/ -->
<script language="javascript" src="/cslh/livehelp_js.php?relative=Y&amp;department=1&amp;pingtimes= 60"></script>
<!-- copyright 2003 - 2005 by Eric Gerdes -->
 
Last edited by a moderator:

repusmod

New Member
Messages
502
Reaction score
0
Points
0
OKay here you go I don't know if that goin to work or not but test it

Code:
<?php
#### Generated by Block Creator by Disipal Site (www.disipal.net) ###
if (eregi("block-Block_Creator.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
$content  =  "<!-- Powered by: Crafty Syntax Live Help http://www.craftysyntax.com/ -->";
$content  .= "script language=\"javascript\" src=\"/cslh/livehelp_js.php?relative=Y&amp;department=1&amp;pingtimes= 60\"></script>";
$content  .= "!-- copyright 2003 - 2005 by Eric Gerdes -->";
?>

Okay save this code as "block-BlockName.php" upload it to your host and test it..
 
Status
Not open for further replies.
Top