View Full Version : easy php calendar in sidebar
February 21st, 2011, 08:49 PM
Anyone know how to put easy php calendar in the sidebar? I would love to use a calendar with events functionality. having a hard time getting it to work in the sidebar.
Astronomy Astrophotography Galaxy Nebula Astrophoto Gallery - Astrophotogallery (http://www.astrophotogallery.org)
February 22nd, 2011, 03:58 AM
well cant really say from a support perspective other suggest you use one of the three custom pals. You can place html or php code in there just to make sure you do it right.
You might actually want to post a question in the mod corner if you really want to get in depth on how to do code mods.
February 22nd, 2011, 09:34 AM
This is what I am putting and nothing shows up.
<!-- BEGIN TEMPLATE: custom1pal.tmpl -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<?php $CSS=1; require("calendar/calendar.php"); ?>
<?php $OL=1; require("calendar/calendar.php"); ?>
<!-- END TEMPLATE: custom1pal.tmpl -->
February 22nd, 2011, 03:55 PM
well you would need to install it however they tell you to.
any head tags would go into the headtags file you setup and you never have to type head or body tags. You then put whatever code goes into the cody into the custompal template between the <? ?> tags
February 22nd, 2011, 06:52 PM
seems to work when I take out everything but the php stuff. had no idea.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.