Add php to global content block?
Posted: Wed Jan 02, 2008 10:02 pm
Hello,
I was hoping to use the Image Block from Gallery2 in my sidebar. I have this code:
and was hoping to pop it into a Global Content Block and just drop it in my template, but that doesn't seem to be working.
I searched the forums pretty completely but am unable to find an answer. I'd appreciate any guidance.
I'm running CMS Made Simple 1.2.2 "Holetown"
thank you!
I was hoping to use the Image Block from Gallery2 in my sidebar. I have this code:
Code: Select all
<?php @readfile('http://mywebsitehere.com/gallery2/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?>
I searched the forums pretty completely but am unable to find an answer. I'd appreciate any guidance.
I'm running CMS Made Simple 1.2.2 "Holetown"
thank you!