waitsee Posted July 23, 2004 Share Posted July 23, 2004 My Webpage uses the events calendar. I have been able to get it running and I have modified the look. But now I want to place it inside a "osc-box". I have been messing with the code, but did not succed. Who knows how to place the calendar in a box? Quote Link to comment Share on other sites More sharing options...
waitsee Posted July 24, 2004 Author Share Posted July 24, 2004 My Webpage uses the events calendar. I have been able to get it running and I have modified the look. But now I want to place it inside a "osc-box". I have been messing with the code, but did not succed. Who knows how to place the calendar in a box? Is there anybody out there? Quote Link to comment Share on other sites More sharing options...
ipimen Posted April 21, 2005 Share Posted April 21, 2005 Is there anybody out there? <{POST_SNAPBACK}> I just visited your site and noticed that you managed to solve your problem, could you tell me how to do it? Please :D Thanks in advance Quote Link to comment Share on other sites More sharing options...
waitsee Posted April 21, 2005 Author Share Posted April 21, 2005 I just visited your site and noticed that you managed to solve your problem, could you tell me how to do it? Please :D Thanks in advance <{POST_SNAPBACK}> I remember there was a little bug in the installMS1.txt in the contribution, but I can't remember what. So I can only give you this: This is my ..includes/column_left.php <?php /* $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } //events_calendar require(DIR_WS_BOXES . 'calendar.php'); if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> This is my ..includes/boxes/calendar.php <?php /* $Id: events_calendar v2.00 2003/06/16 18:09:20 ip chilipepper.it Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- events_calendar //--> <!-- <tr> <td> <iframe name="calendar" id="calendar" align="center" valign="top" marginwidth="0" marginheight="0" src=<?php //echo FILENAME_EVENTS_CALENDAR_CONTENT .'?_month='. $_month .'&_year='. $_year ?> frameborder=0 height=270 width=162 scrolling=no> Sorry, you browser does not support iframes.</iframe> </td> </tr> //--> <!-- events_calendar //--> <?php /* $Id: empty_box,v 1.31 2003/02/10 22:31:09 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- EmptyBox_start //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => 'Kalender'); new infoBoxHeading($info_box_contents, true, true); $info_box_contents = array(); $info_box_contents[] = array('text' => '<iframe name="calendar" id="calendar" align="center" valign="top" marginwidth="0" marginheight="0" src=calendar_content.php?_month=&_year= frameborder="0" height="270" width="162" scrolling=no> Sorry, you browser does not support iframes.</iframe> '); new infoBox($info_box_contents); ?> </td> </tr> <!-- EmptyBox_eof //--> The rest is a described in the contribution. Quote Link to comment Share on other sites More sharing options...
ipimen Posted April 21, 2005 Share Posted April 21, 2005 (edited) thanks for your fast reply :) i'll test it btw, if you have any idea about how to solve this issue, please let me know. Is the only thing that i need to make this contribution work :D Edited April 21, 2005 by ipimen Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.