Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

HTML Side panel

How do I put HTML in a side panel?

This is the code I am trying to insert -

CodeDownload  
openside("Visitors");
  echo "<script type="text/javascript" src="http://jh.revolvermaps.com/r.js"></script><script type="text/javascript">rm_f1st('0','220','true','true','222222','7uayzuh60w0','true','ff0000');</script><noscript><applet codebase="http://rh.revolvermaps.com/j" code="core.RE" width="220" height="220" archive="g.jar"><param name="cabbase" value="g.cab" /><param name="r" value="true" /><param name="n" value="true" /><param name="i" value="7uayzuh60w0" /><param name="m" value="0" /><param name="s" value="220" /><param name="c" value="ff0000" /><param name="v" value="true" /><param name="b" value="222222" /><param name="rfc" value="true" /></applet></noscript>
";
closeside();



Can you tell me how to input HTML code in the side panel for future reference?

Thanks.
Either:

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]openside("Visitors");
echo '<script type="text/javascript" src="http://jh.revolvermaps.com/r.js"></script><script type="text/javascript">rm_f1st('0','220','true','true','222222','7uayzuh60w0','true','ff0000');</script><noscript><applet codebase="http://rh.revolvermaps.com/j" code="core.RE" width="220" height="220" archive="g.jar"><param name="cabbase" value="g.cab" /><param name="r" value="true" /><param name="n" value="true" /><param name="i" value="7uayzuh60w0" /><param name="m" value="0" /><param name="s" value="220" /><param name="c" value="ff0000" /><param name="v" value="true" /><param name="b" value="222222" /><param name="rfc" value="true" /></applet></noscript>
';
closeside();



[/syntaxhighlighter]

or:

CodeDownload  
openside("Visitors");
?> 
<script type="text/javascript" src="http://jh.revolvermaps.com/r.js"></script><script type="text/javascript">rm_f1st('0','220','true','true','222222','7uayzuh60w0','true','ff0000');</script><noscript><applet codebase="http://rh.revolvermaps.com/j" code="core.RE" width="220" height="220" archive="g.jar"><param name="cabbase" value="g.cab" /><param name="r" value="true" /><param name="n" value="true" /><param name="i" value="7uayzuh60w0" /><param name="m" value="0" /><param name="s" value="220" /><param name="c" value="ff0000" /><param name="v" value="true" /><param name="b" value="222222" /><param name="rfc" value="true" /></applet></noscript>
<?php
closeside();




Both codes you gave me did not work.
long story short put '?>' before html then make sure you place '<?php' at the end or where needed. NOTE: DON'T COPY THE ' MARKS
I am still not getting it...

Quote

Mittens Returns wrote:

long story short put '?>' before html then make sure you place '<?php' at the end or where needed. NOTE: DON'T COPY THE ' MARKS


Aren't the PHP tags backwards? Shouldn't it be <?php at the beginning of the HTML code and ?> at the end or am I back a**wards?
Second example posted by Layzee works perfect.
CodeDownload  
openside("Visitors");
?>
<script type="text/javascript" src="http://jh.revolvermaps.com/r.js"></script><script type="text/javascript">rm_f1st('0','220','true','true','222222','7uayzuh60w0','true','ff0000');</script><noscript><applet codebase="http://rh.revolvermaps.com/j" code="core.RE" width="220" height="220" archive="g.jar"><param name="cabbase" value="g.cab" /><param name="r" value="true" /><param name="n" value="true" /><param name="i" value="7uayzuh60w0" /><param name="m" value="0" /><param name="s" value="220" /><param name="c" value="ff0000" /><param name="v" value="true" /><param name="b" value="222222" /><param name="rfc" value="true" /></applet></noscript>
<?php
closeside();


You should try to put more effort into getting your staff working properly or check whether the problem is on your side or not before posting again, especially when you were provided with the solution already.
Thanks for all the help. I figured out what the problem was. Sorry to bother you.

Quote

afoster wrote:

Quote

Mittens Returns wrote:

long story short put '?>' before html then make sure you place '<?php' at the end or where needed. NOTE: DON'T COPY THE ' MARKS


Aren't the PHP tags backwards? Shouldn't it be <?php at the beginning of the HTML code and ?> at the end or am I back a**wards?


the tags SHOULD already be open to use opentable() & such.
Hi guys, I hope you don't me hijacking this thread and asking something myself related to what is asked here.

I am new (again) to PHP Fusion. Had it a long time ago, but forgot it all. How can I create custom blocks (panels) for the site ? In any other Sitesystem (CMS) you can simply create a new block. How is it here ?

Also for me is important to do it all with simple HTML. Any info on that matter would be greatly appreciated. ;)

Cheers

Wolfseye
You need to do this as follow:

CodeDownload  
openside('Side block');
?>

<!-- html code goes here -->
<b>Hi!</b>

<?php
closeside();



Also you can remove the block layers.
Where is the Code BB-Code? I have some code I need help with for a Side Panel but cannot find the Code BB-Code. 
It will be back soon. Editor is changing here. You can manually write CODE.
[ CODE ] Content [ /CODE ] < remove spaces on brackets.
 
Thread Information
Author
Replies
13 posts
Views
7,410 times
Last Post
Last updated on 30 days ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Falk, afoster, Wolfseye, PolarFox, Layzee, JoiNNN, MrSims, Tyler, SkeeredOfMyMind