Welcome to Geeklog Thursday, December 02 2021 @ 05:00 am EST

Geeklog Forums

Banners in center block with Logos: easy

Status: offline


Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
If you need a simple banner rotator in a center block this is quite easy if you install the Logolinks plugin and put this code in a PHP enabled (with return) static page:

PHP Formatted Code

$display .= COM_startBlock(' ');              
$display .= phpblock_randomLogos();
$display .= COM_endBlock();

return $display;


Set the Logolinks plugin to show only one logo, disable the normal Logolinks block and use 468x60 px banners. Simple and easy to update!

BTW there's a non breaking space between the (' ') in the first line.
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

All times are EST. The time is now 05:00 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content