PDA

View Full Version : Installing calendar in X-Cart?


enge919
04-14-2004, 02:30 AM
I use shopping cart software from X-Cart (http://www.x-cart.com) (check it our for refrence).

The shopping cart program is based on PHP Smarty templates. The PHP scripts in the backend have no html mixed in it.

check out a site I am designing with it, SuperiorOC.com (http://www.superioroc.com/site/customer/home.php)

I want to put the calendar in the left side bar under the heading "2004 Show Schedule". I have made a template for this called leftbar.tpl. The .tpl file is made up of html, I did try and put the <?php require("");" ?> in the .tpl with no luck (I know this require shold probablt go in the php scripts somewhere and use some sort of {include file=""} in the .tpl

I notice all the pages on this site have a .php extention, is there a way can I use the calendar in these .tpl pages?

I do not claim to be a master php programmer or anything, in fact I am more of a web designer but I do work with php code and smarty templates quite a bit and I want to get this figured out before I purchase the 5.3 version for my client.

I know this is kinda long but thanks in advance for helping.



Steve

pwd88
12-17-2004, 03:02 PM
hello Steve:
I saw you did integrate this calendar in your x-cart, I am running x-cart too, could you share with me how do you integrate this in x-cart, I appreciate it