Navigation
Last Seen Users
UnforgiveN< 5 mins
hczz00:54:39
kingkong02:20:44
margahayuland02:27:04
jeackjem03:00:18
Raben03:32:08
goanblaur04:01:28
gwenja04:09:25
SAnTi04:27:49
Clyde04:51:22

Members: 27,585
Newest: lactothifiath
Downloads v7
Downloads v6
One-click Translation
Translate This Site

Member Poll
Which version of PHP-Fusion are you using?

6.xx.xx
6.xx.xx
4% [19 Votes]

7.00.xx
7.00.xx
8% [38 Votes]

7.01.xx
7.01.xx
8% [40 Votes]

7.02.xx
7.02.xx
81% [401 Votes]

Votes: 498
You must login to vote.
Started: 26/03/2012 11:58

Polls Archive
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Connect via Facebook
Connect via Facebook
Our Coders
Shoutbox
In memoriam

Nick Jones
1973-2011

Sponsors
View Thread
Who is here? 1 guest(s)
 Print Thread
closed panel
Lenoox
hey i searched this code , but im not found it!
i tried this but something is wrong

Download source  Code
openside("Panel name", true ,"off");
// a panel contents
closeside();


 
Web
skpacman
What, exactly, are you trying to accomplish?

If you want to enable or disable a panel, you do it through the panel management page, not through the panel's code.
 
Web
afoster
I'm wondering if he is looking for the code to open and close the panel, as in the Things To Do panel on this site?
 
KasteR
Lenoox, your posted code should work. The only thing I see that's missing is the content.

Aside from that, you might also be asking for another accepted syntax. Which would be something like:

PHP
  1. <?php
  2. opensidex("Panel name");
  3. // a panel contents
  4. closesidex();
  5. ?>
 
Web
Lenoox
ahh yea i was looking this code Smile Thank you KasteR Smile
 
Web
KasteR
No problem, glad to help.
 
Web
moh
Hi. Can somebody help me to place a wiget into panel..
Thanks..
 
Smokeman
Hi.

Hmm, what is a wiget ? Do you have a code for it ?
 
Web
moh
Thanks Smokeman for the reply..
Actually i mean Widget for example widget from this website:

http://localtimes...ock-widget

how can i put it into the side panel..

Thanks again for the reply...Smile
 
Smokeman
First you should remove these two lines from the code:
Download source  Code
<!-- Begin of localTimes.info script -->



- and:
Download source  Code
<!-- End of localTimes.info script -->




Secondly you replace all entries of " with ' in the code:
Download source  Code
openside("Widget");

echo "<div align='center' style='margin:15px 0px 0px 0px'> <div align='center' style='width:140px; border:1px solid #ccc; background: #ffffff; color: #; font-weight:bold;'> <a style='font-size:13px; line-height:16px; padding:2px 0px; font-family:arial; text-decoration: none; color: #;' href='http://localtimes.info/Europe/United_Kingdom/London/'><img src='http://localtimes.info/images/countries/gb.png' border=0 style='border:0;margin:0;padding:0'>&nbsp;&nbsp;London Time</a></div> <script type='text/javascript' src='http://localtimes.info/clock.php?cp3_Hex=0F0200&cp2_Hex=FFFFFF&cp1_Hex=000080&fwdt=118&ham=0&hbg=0&hfg=0&sid=&mon=&wek=&wkf=&sep=&continent=Europe&country=United Kingdom&city=London&widget_number=100'></script>";

closeside();




That should do the trick.
 
Web
moh
Brilliant... Thanks a lot Smokeman
It Work... perfectly..
Glad for your assistant...Thumb Up!

hope yur help 4 another time..
 
Smokeman
No Problem - Im glad I could help. Thumb Up!
 
Web
Solorank
Smokeman wrote:
No Problem - Im glad I could help. Thumb Up!


sweet thanks!
 
Web
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
::Slideshow Random Photo Panel V6.01.16:: Mod Request 6 09-05-2013 23:12
[submission]MG Login Panel - English v7 Mod/Infusion Locale Submit / Request 3 09-05-2013 08:10
Looking for hotest thread panel v7 Mod/Infusion Locale Submit / Request 16 09-05-2013 08:09
2 Tables in 1 Panel Coding Support 1 29-04-2013 02:21
Live Chat Panel General Chat 4 23-04-2013 04:55