PEAK XOOPS - display block upcoming events on 1 page only in englishin japanese

display block upcoming events on 1 page only

List posts in the topic

none display block upcoming events on 1 page only

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2008/11/20 18:02
wibni  Private   Posts: 2
Hi,

I use pical together with the xoops content module.
Problem is that I can't define to show pical only for 1 page.
All my website content is in this module and because blocks only work on a module level, pical shows up in each of my content pages.

Is there a way to modify pical's upcoming events block to only show on 1 page like: http://mydomain/modules/content/index.php?id=37.

I tried to add the below code to the template but it doesn't seem to execute php code at all.

$where= basename($_SERVER['PHP_SELF']);
If ($where == "index.php?id=37")
echo "true";

Please help.
Votes:12 Average:4.17

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!