Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Events Calendar addin

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 07-28-2005, 11:53 AM
 
tntdesigns tntdesigns is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Plam Beach, FL
Posts: 137
 

Default

Well the direction are in the zip file and not very detailed.
you need set it up like you did with x-cat create a blank database and it's own Dir, and then static page to it.
and don't for get to 777 it.
__________________
Xcart Gold 4.7.5 X-Affiliate, Add-on: X-Configurator, Add-on: X-SpecialOffers, Add-on: X-AOM, On Sale, EBay add on, Traffic Monitor, Froogle Feed, Drop Shipper, Newslist Manager, Product Options Copier 1.0, BCS Customer Reward Points, BCS Refer points, Ad Banner, PAYPAL PRO, Blue Dream, Drop Shipper bcse gallery
Reply With Quote
  #22  
Old 09-29-2005, 01:05 PM
 
rcci@mindspring.com rcci@mindspring.com is offline
 

Advanced Member
  
Join Date: Nov 2004
Location: Youngsville, NC
Posts: 48
 

Default

Fantastic little mod, I love it!

On issue I see, however. I can login fine in Firefox, but when you login in IE, it says 'LOGIN OK', then drops it, taking you back to the main calendar page, not logged in. I tried it in both browsers, and I can get in fine and add/change events ok in Firefox, but not in IE.

Any ideas? The reason I ask is that my client uses IE. I've advised them to download Netscape or Firefox, but they tend to IE, so I thought I'd point this out. Not a show stopper.

Thanks for a great mod!
__________________
Vicky Rowe
Satori Digital Marketing
http://www.satoridigitalmarketing.com
X-Cart Pro Version 4.0.13, running on a Unix server
Reply With Quote
  #23  
Old 09-30-2005, 07:05 AM
 
tntdesigns tntdesigns is offline
 

Senior Member
  
Join Date: Feb 2005
Location: Plam Beach, FL
Posts: 137
 

Default

Try login directly in the Calendar's http not via your website.
and add to your Faverites for easy Admin access.
__________________
Xcart Gold 4.7.5 X-Affiliate, Add-on: X-Configurator, Add-on: X-SpecialOffers, Add-on: X-AOM, On Sale, EBay add on, Traffic Monitor, Froogle Feed, Drop Shipper, Newslist Manager, Product Options Copier 1.0, BCS Customer Reward Points, BCS Refer points, Ad Banner, PAYPAL PRO, Blue Dream, Drop Shipper bcse gallery
Reply With Quote
  #24  
Old 10-03-2005, 07:17 AM
 
rcci@mindspring.com rcci@mindspring.com is offline
 

Advanced Member
  
Join Date: Nov 2004
Location: Youngsville, NC
Posts: 48
 

Default

Yep, that worked! Thanks!

Odd that it doesn't inside the shopping cart, but not a problem. I've already told the client.

Still a great add-in!

Thanks,
__________________
Vicky Rowe
Satori Digital Marketing
http://www.satoridigitalmarketing.com
X-Cart Pro Version 4.0.13, running on a Unix server
Reply With Quote
  #25  
Old 02-06-2006, 12:41 PM
 
simitpatel simitpatel is offline
 

Newbie
  
Join Date: Sep 2005
Posts: 7
 

Default

does anyone have the rar for this mod? i can't find it on any of the websites.
__________________
software: x-cart pro, Version 4.0.15
operating system: FreeBSD 5.4
Reply With Quote
  #26  
Old 04-02-2006, 11:10 PM
 
crunch42 crunch42 is offline
 

Member
  
Join Date: Jan 2006
Posts: 28
 

Default How to integrate?

I'd love to know how to integrate this script into x-cart as an embedded static page, which http://www.melendrezdancestudios.com/store/pages.php?pageid=10 seems to have successfully done. Anyone know?
__________________
Version 4.0.17
Crunch42 Web Design
Reply With Quote
  #27  
Old 04-07-2006, 04:52 AM
  ShishaPipeUK's Avatar 
ShishaPipeUK ShishaPipeUK is offline
 

Senior Member
  
Join Date: Jul 2005
Location: London, England.
Posts: 118
 

Default

Crunch42, I have also used this script and below is the information how to place this in your x-cart software.

I first made a static page in my admin area and called it "Calender of events", below is the code:

Code:
<IFRAME border=0 name=calender align=center marginWidth=1 marginHeight=1 src="../orgcal/view.php" frameBorder=0 width=100% scrolling=no height=700> Your browser does not support inline frames or is currently configured not to display inline frames. </IFRAME></P>

I placed the directory "orgcal" in my root, so it did not have anything to do with my xcart directory which is websitename/shopcart/ that's the reason for the "../orgcal/view.php" by using the ../ I just instructed to go back a directory and then into the orgcal directory.

Now the index.php that comes with the orgcal mod, just delete it, you dont need it.

What you do need is:
Folder: orgcal/js/
Folder: orgcal/js/overlib400/
Folder: orgcal/js/overlib400/mini/

Folder: orgcal/include/main.php
Folder: orgcal/include/db.php - This is the file you enter your MYSQL info
Code:
$OC_CONFIG['DBHOST'] = 'your database server'; // database server $OC_CONFIG['DBUSER'] = 'database user'; // username $OC_CONFIG['DBPASS'] = 'database password'; // password $OC_CONFIG['DBNAME'] = 'database name'; // database name $OC_CONFIG['DBTYPE'] = 'mysql';

Folder: orgcal/include/classes/
Folder: orgcal/include/classes/adodb400-lite/
Folder: orgcal/include/classes/adodb400-lite/lang/
Folder: orgcal/include/classes/adodb400-lite/drivers/
Folder: orgcal/include/classes/adodb400-lite/datadict/
Folder: orgcal/include/classes/adodb400-lite/CVS/

Folder: orgcal/images/up.gif - http://www.shisha.co.uk/orgcal/images/up.gif
Folder: orgcal/images/icon_edit.png - http://www.shisha.co.uk/orgcal/images/icon_edit.png
Folder: orgcal/images/icon_del.png - http://www.shisha.co.uk/orgcal/images/icon_del.png
Folder: orgcal/images/down.gif - http://www.shisha.co.uk/orgcal/images/down.gif
Folder: orgcal/images/calendar.gif - http://www.shisha.co.uk/orgcal/images/calendar.gif

Folder: orgcal/css/simplecalendar.css
Folder: orgcal/css/oc-week.css
Folder: orgcal/css/oc-month.css
Folder: orgcal/css/oc-minical.css
Folder: orgcal/css/oc-main.css
Folder: orgcal/css/oc-event.css
Folder: orgcal/css/oc-day.css

The php files
File: orgcal/user.php
File: orgcal/view.php
File: orgcal/minical.php
File: orgcal/event.php
File: orgcal/config.php

You can still download all these files (217 KB) from http://www.kevinsouthworth.com/Projects/OrgCal/tabid/60/Default.aspx

Thank you Kevin for a great mod

You can see the finished calender at: http://www.shisha.co.uk/shopcart/pages.php?pageid=25

Don't forget to add in the below patch file in admin/patch / upgrade section:


Code:
CREATE TABLE `config` ( `config_name` varchar(45) NOT NULL default '', `config_value` varchar(100) default NULL, PRIMARY KEY (`config_name`) ) TYPE=MyISAM; INSERT INTO `config` VALUES ('week_starts_on_mon', 'N'); INSERT INTO `config` VALUES ('tz_offset', '0'); INSERT INTO `config` VALUES ('12_hour', 'Y'); INSERT INTO `config` VALUES ('time_in_link', 'Y'); INSERT INTO `config` VALUES ('name_in_link', 'Y'); CREATE TABLE `event` ( `e_id` int(11) NOT NULL auto_increment, `e_override_id` int(11) default NULL, `e_ext_id` int(11) default NULL, `e_date` int(11) NOT NULL default '0', `e_time` varchar(6) default '-1', `e_duration` int(11) NOT NULL default '0', `e_repeat` char(1) default 'N', `e_access` char(1) default 'P', `e_name` varchar(80) NOT NULL default '', `e_description` text, PRIMARY KEY (`e_id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ; CREATE TABLE `event_repeats` ( `e_id` int(11) NOT NULL default '0', `e_type` varchar(20) default NULL, `e_end` int(11) default NULL, `e_frequency` int(11) default '1', `e_days` varchar(7) default NULL, PRIMARY KEY (`e_id`) ) TYPE=MyISAM; CREATE TABLE `event_repeats_not` ( `e_id` int(11) NOT NULL default '0', `e_date` int(11) NOT NULL default '0', PRIMARY KEY (`e_id`,`e_date`) ) TYPE=MyISAM; CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, `uname` varchar(15) NOT NULL default '', `upass` varchar(15) NOT NULL default '', `ulevel` tinyint(1) NOT NULL default '0', PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=2 ; INSERT INTO `users` VALUES (1, 'admin', 'admin', 1);
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24
PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART

Shop carts at
http://www.nightscene.co.uk/shop/home.php
http://www.theshisha.net/shopcart/home.php
http://www.system-maintenance.com/maint/home.php
http://www.tabac4u.com
Reply With Quote
  #28  
Old 04-07-2006, 12:08 PM
 
crunch42 crunch42 is offline
 

Member
  
Join Date: Jan 2006
Posts: 28
 

Default perfect!

Thanks!

I didn't think to use iframes, but that works great!

Also, I didn't like how in the monthly view the events all get squished together, so I modified line 152 of orgcal/include/classes/OCMonth.class.php from:

Code:
$eventLink = ''.$event->getLinkText().' ';

and added an asterisk (*) to the beginning and a line break to the end so that it becomes:

Code:
$eventLink = '* '.$event->getLinkText().' ';

- Julian
__________________
Version 4.0.17
Crunch42 Web Design
Reply With Quote
  #29  
Old 06-15-2006, 09:11 AM
 
katandmouse katandmouse is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 37
 

Default Calendar mod and repeating events

Does that calendar mod allow for repeating events?
__________________
xcart version 4.0.18
Reply With Quote
  #30  
Old 06-15-2006, 09:43 AM
 
crunch42 crunch42 is offline
 

Member
  
Join Date: Jan 2006
Posts: 28
 

Default

Yes.
__________________
Version 4.0.17
Crunch42 Web Design
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:57 PM.

   

 
X-Cart forums © 2001-2020