Not sure on how to word this, or I would of searched for it.
I want to add a star or some kind of picture to the end of the text on each module in the module block, but I want it to be automatic, is there a possible way as it prints it do a "if" statement to check if its a "members only" module and print such?
Thanks in advance and sorry in advance if this has already been asked.
_________________ This message is the expressed views of Jonathan. Note that the above is only opinion and only counts in his mind.
jondel81 Nuke Soldier
Joined: Jul 19, 2003
Posts: 21
Location: Virginia
Posted:
Sat Jul 26, 2003 4:10 pm
I found how to do it. In the file blocks/block-Modules.php on line aprox 69, it should be this
if ($m_title != $main_module) {
if ((is_admin($admin) AND $view == 2) OR $view != 2) {
$content .= "<strong><big>&</big></strong>&<a href=\"modules.php?name=$m_title\">$m_title2</a>";
if ($view == "1"){
$content .= "*";
}
$content .="<br>\n";
}
}
}
$content .= "<br>*Requires Membership<br>";
$content .= "\n";
_________________ This message is the expressed views of Jonathan. Note that the above is only opinion and only counts in his mind.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum