I've got a basic problem.
I use this plugin syntax to transmit the pathname of a file :
Code: Select all
{jumi mystuff/javascript/Viewer-Deluxe.php}
<?php
$pgn='"mystuff/pgn/samples.pgn"';
?>
{/jumi}
Code: Select all
<?php
echo $pgn;
<APPLET codebase="." archive="mystuff/java/Viewer-Deluxe.jar" code="ChessBoard.class" width="631" height="560">
<PARAM name=PgnGameFile value=$pgn>
<PARAM name=LightSquares value=F3DCC2>
<PARAM name=DarkSquares value=DDA37B>
<PARAM name=Background value=CCCCCC>
<PARAM name=ImagesFolder value=images>
<PARAM name=PuzzleMode value="off">
<PARAM name=MayScript value="on">
Cette partie ne peut pas être imprimée, car votre navigateur ignore complètement les balises <APPLET> !
</APPLET>
?>
parse error in C:\wamp\www\sitejoomla\plugins\system\jumi.php(63) : eval()'d code on line 7
I notice that when in the "Viewer-Deluxe.php" file I delete the <?php ?> tags, my applet begin to work, but don't find any file to load.
I'm sorry, it's must be a basic silly error, but I'm from the mainframe's world (cobol, etc...) and all that's stuff are quit new.
Thanks a lot for your help.
Philippe