Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Event Calendar in box?


waitsee

Recommended Posts

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 8 months later...
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

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...