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.
Not a member yet? Click here to register.
Forgot Password?

HTML Side panel

Asked Modified Viewed 8,880 times
M
MrSims
M
MrSims 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
asked
Junior Member

How do I put HTML in a side panel?

This is the code I am trying to insert -

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.
0 replies

10 posts

L
Layzee
L
Layzee 10
Seen it - done it!
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 20 threads in the forums
answered
Member

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:

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();



0 replies
M
MrSims
M
MrSims 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

Both codes you gave me did not work.
0 replies
T
Tyler
T
Tyler 10
Helping, would be pointing you in the right direction, not doing it all for you.
  • Member, joined since
  • Contributed 198 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

long story short put '?>' before html then make sure you place '<?php' at the end or where needed. NOTE: DON'T COPY THE ' MARKS
0 replies
M
MrSims
M
MrSims 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

I am still not getting it...
0 replies
A
afoster
A
  • Senior Member, joined since
  • Contributed 725 posts on the community forums.
  • Started 128 threads in the forums
answered
Senior Member

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?
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

Second example posted by Layzee works perfect.
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.
0 replies
M
MrSims
M
MrSims 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
answered
Junior Member

Thanks for all the help. I figured out what the problem was. Sorry to bother you.
0 replies
T
Tyler
T
Tyler 10
Helping, would be pointing you in the right direction, not doing it all for you.
  • Member, joined since
  • Contributed 198 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

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.
0 replies
— 30 days later —
W
Wolfseye
W
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

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
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

You need to do this as follow:

openside('Side block');
?>

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

<?php
closeside();


Also you can remove the block layers.
1 reply

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 10 posts
  • Votes 0 votes
  • Topic users 9 members

9 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
A
A
  • Senior Member, joined since
  • Contributed 725 posts on the community forums.
  • Started 128 threads in the forums
W
W
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 1 thread in the forums
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
L
L
Layzee 10
Seen it - done it!
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 20 threads in the forums
J
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
M
M
MrSims 10
  • Junior Member, joined since
  • Contributed 17 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
T
T
Tyler 10
Helping, would be pointing you in the right direction, not doing it all for you.
  • Member, joined since
  • Contributed 198 posts on the community forums.
  • Started 3 threads in the forums
S
S
[size=24]HELP WANTED FOR PHP-FUSION PROJECTS[/size]
[size=12]I am seeking Web Developers & Designers, Graphic Developers & Designers, Web, Mobile App & Computer Program Coders & Programmers & Beta & Alpha Testers for new PHP-Fusion Add-Ons like Themes, Infusions, BB-Codes and ETC, as well as Websites, Mobile App & Computer Programs to help me develop, design, code & program new PHP-Fusion Add-Ons, Websites, Mobile Apps & Computer Programs and I also need some people to test those in the Beta & Alpha stages both. All jobs are paid and are freelance jobs. Please message me here if interested for a list of available positions and projects. [/size]
  • Member, joined since
  • Contributed 120 posts on the community forums.
  • Started 44 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet