Hi all, I have decided that phpnuke although OK doesnt really do what I want. however
PostNuke seems more to what I want to do. it seems strange that phpnuke has dropped the sections module which is one of the reasons for moving to
PostNuke.
anyway onto my query I have a block that I used in phpnuke (yes it worked on the sections area when they still existed) and I have tried to get it working in
PN but it does not appeared in the new blocks list. The code I used to create this is as follows:
<?php
if (eregi [20]("block-Sections.php",$PHP_SELF)) {
header [21]("Location: index.php");
die [22]();
}
$content .= "<b></b>
<a href=\"modules.php?name=Sections&op=listarticles&secid=4\"><img src=images/sections/frontpage/image1.jpg>Subject 1</a><BR><BR>";
$content .= "<b></b>
<a href=\"modules.php?name=Sections&op=listarticles&secid=1\"><img src=images/sections/frontpage/image2.jpg>Subject 2</a><BR><BR>";
$content .= "<b></b>
<a href=\"modules.php?name=Sections&op=listarticles&secid=3\"><img src=images/sections/frontpage/image3.jpg>Subject 3</a><BR><BR>";
$content .= "<b></b>
<a href=\"modules.php?name=Sections&op=listarticles&secid=2\"><img src=images/sections/frontpage/image4.jpg>Subject 4</a><BR><BR>";
$content .= "<b></b>
<a href=\"modules.php?name=Sections&op=listarticles&secid=5\"><img src=images/sections/frontpage/image5.jpg>Subject 5</a><BR><BR>";
?>
I have searched the threads here but I cannot see an answer for this so I hope I am not duplicating anything
Any help would be appreciated.
Regards
CasioPN