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?

Sponsor in panels

Asked Modified Viewed 3,354 times
B
bondestorm
B
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

Hello,

First of all, sorry my english!

I'm new in this PHP, and I have a question. I have this site:
www.fc-bondestorm.dk

In the right panel, I want sponsors (like this site: http://www.rodovrefc.dk/)
First I need to know, how can I insert a picture in these elements?

I also got an sponsor called PokerListings. And I have to set up their feature - the same as here: http://www.rodovrefc.dk/
But the site only want their advertisement on the frontpage. How can i do it?

Thanks a lot!
0 replies

6 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Admin >>> System >>> Panels >>> Add New Panel

Paste this code change what you need.

openside("Sponsors");

echo" <a href='http://www.thesite.com'><img src='http://www.theimage.com/image.gif' alt='image title' /></a>\n";
closeside();
0 replies
B
bondestorm
B
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Wow thanks ! I've tried different codes, but it's dosn't work. But your code is perfect :-)

Is it posible to have a banner ONLY on the frontpage? :-)
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Yes if your using 7.02 just edit the panel make it a center panel if you wish change openside and closeside to opentable and closetable also see the panel restriction text box enter the name of your home page like /news.php and select include on this page only and tick the checkbox for display on all pages. Done. ;)
0 replies
B
bondestorm
B
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Hello again :-)
Now i got the code, but I cant insert it, in a panel.. How can i do it?

The code:

Quote


<div style="width:162px">
<div style="background-color: #000; padding:1px;">
<h2 style="background-color:#000000; margin:0; padding:8px 10px 8px;">
<a href="http://www.pokerlistings.dk/poker-nyheder" style="color:#fff; display: block; font:bold 11px Verdana,Arial,Helvetica, Sans-Serif ; text-decoration:none;">Pokernyt</a>
</h2>
<div style="background-color:FFF; height:135px; padding:5px;">
<object width="100%" height="100%"><param name="movie" value="http://static.pokerlistings.com/rss/rss.swf"></param><param name="flashVars" value="nrOfNews=4&site=pl-da_DK&new_window=true&styles=a{color:#555555;font-size:10;font-family:Verdana,Arial,Helvetica,sans-serif}"></param><param name="wmode" value="transparent"></param><param name="allowscriptaccess" value="always"></param>
<embed src="http://static.pokerlistings.com/rss/rss.swf" flashVars="nrOfNews=4&site=pl-da_DK&new_window=true&styles=a{color:#555555;font-size:10;font-family: Verdana,Arial,Helvetica,sans-serif}" wmode="transparent" width="100%" height="100%" type="application/x-shockwave-flash" allowscriptaccess="always"></embed></object>
</div>
<p style="background-color:FFF; color:#555555; font:normal 11px Verdana, Arial Helvetica, sans-serif; margin:0; padding:0 5px 5px 0; text-align:center;"> Verdens bedste pokertilbud finder du hos <a href="http://www.pokerlistings.dk/" style="color:#000; font:normal 11px Verdana,Arial,Helvetica,sans-serif;" >pokerlistings.dk</a>
</div>
</div>

0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

openside("sponsor");

echo"<div style='width:162px'>
<div style='background-color: #000; padding:1px;'>
<h2 style='background-color:#000000; margin:0; padding:8px 10px 8px;'>
<a href='http://www.pokerlistings.dk/poker-nyheder' style='color:#fff; display: block; font:bold 11px Verdana,Arial,Helvetica, Sans-Serif ; text-decoration:none;'>Pokernyt</a>
</h2>
<div style='background-color:FFF; height:135px; padding:5px;'>
<object width='100%' height='100%'><param name='movie' value='http://static.pokerlistings.com/rss/rss.swf'></param><param name='flashVars' value='nrOfNews=4&site=pl-da_DK&new_window=true&styles=a{color:#555555;font-size:10;font-family:Verdana,Arial,Helvetica,sans-serif}'></param><param name='wmode' value='transparent'></param><param name='allowscriptaccess' value='always'></param>
<embed src='http://static.pokerlistings.com/rss/rss.swf' flashVars='nrOfNews=4&site=pl-da_DK&new_window=true&styles=a{color:#555555;font-size:10;font-family: Verdana,Arial,Helvetica,sans-serif}' wmode='transparent' width='100%' height='100%' type='application/x-shockwave-flash' allowscriptaccess='always'></embed></object>
</div>
<p style='background-color:FFF; color:#555555; font:normal 11px Verdana, Arial Helvetica, sans-serif; margin:0; padding:0 5px 5px 0; text-align:center;'> Verdens bedste pokertilbud finder du hos <a href='http://www.pokerlistings.dk/' style='color:#000; font:normal 11px Verdana,Arial,Helvetica,sans-serif;' >pokerlistings.dk</a>
</div>
</div>";
closeside();
0 replies
B
bondestorm
B
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

Thanks again! Is it possible to make that code in a way, so the ticker only is on the frontpage? :-)
0 replies

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
B
B
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet