| Re: MRBS Blocks |
| by chefry on 2013/5/31 9:24:59 and that gives me this ![]() |
| Re: MRBS Blocks |
| by zyspec on 2013/5/31 3:25:43 This was just to show you how to get the url you want. Now you have the address of the page you want so you should be able to just display this in an iframe. Something like: le="color: #000000"><?php $today = getdate(); $mylink = XOOPS_URL . "/modules/mrbs/day.php?year={$today['year']}&month={$today['mon']}&day={$today['mday']}&area=1&room=3"; echo "<iframe src='{$mylink}' frameborder='0' />"; You will have to set the iframe parameters like you want (height, width, etc)... |
| Re: MRBS Blocks |
| by chefry on 2013/5/31 1:57:24 $today = getdate(); echo "modules/mrbs/day.php?year={$today['year']}&month={$today['mon']}&day={$today['mday']}&area=1&room=3"; gives me Today's Calendar /modules/mrbs/day.php?year=2013&month=5&day=31&area=1&room=3 |
| Re: MRBS Blocks |
| by zyspec on 2013/5/30 21:01:22 Sorry chefry... Just eliminate the "<?php" in the first line and the "?>" in the last line. These aren't needed for a PHP block |
| Re: MRBS Blocks |
| by chefry on 2013/5/30 16:27:41 Doesn't work The block doesn't show on the main page ![]() Debug gives me Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\class\xoopsblock.php(157) : eval()'d code on line 1 |