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

HELP! I'm losing all my hair on this one

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-15-2004, 10:38 PM
  enge919's Avatar 
enge919 enge919 is offline
 

Senior Member
  
Join Date: May 2003
Posts: 141
 

Default HELP! I'm losing all my hair on this one

Maybe this should be in program logic, move if necessary...

I purchased a pretty awsome (cheap, $14.95) calendar script called easily simple calendar (http://www.easilysimplecalendar.com/), unfortunately it is not that easy to install though.

No matter what I do, the calendar does not show up at all. Nada!

Could someone please look at the installation instruction page, http://www.easilysimplecalendar.com/v5/instructions.htm and offer some good advice, I have been working on this now for a site I built for a client and this is the last think that needs to be done before I turn it over to him. You can see the site at http://www.superioroc.com. I am trying to put is just under the heading on the left "2004 Show Schedule".

I made this leftbar with a custom template appropiately named leftbar.tpl.

Please, can somebody help me
__________________
Web site design - Custom Programming - Upgrades - Marketing
www.netvisionwebdesign.com

Follow on twitter: http://twitter.com/netvisionweb
Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419
Reply With Quote
  #2  
Old 04-16-2004, 04:16 AM
 
blue-dreamer blue-dreamer is offline
 

eXpert
  
Join Date: Dec 2002
Location: Northampton UK
Posts: 213
 

Default

What exactly is the problem?
Reply With Quote
  #3  
Old 04-16-2004, 05:20 AM
  enge919's Avatar 
enge919 enge919 is offline
 

Senior Member
  
Join Date: May 2003
Posts: 141
 

Default

Quote:
Originally Posted by blue-dreamer
What exactly is the problem?
Whoops, this would help

The calendar does not show up at all. I have checked just the link to the calendar php script and that in itself seems to be working.

As the instructions show (see the instructions link my first thread)

Can I use the <?php require ("showCalendar.php"); ?> and
<?php $CSS=1; require ("showCalendar.php"); ?> in this actual context in my templates? or do they need to be wrapped in {literal}{/literal} tags, or is that even the right way to do it???
__________________
Web site design - Custom Programming - Upgrades - Marketing
www.netvisionwebdesign.com

Follow on twitter: http://twitter.com/netvisionweb
Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419
Reply With Quote
  #4  
Old 04-16-2004, 07:27 AM
 
elmtronics elmtronics is offline
 

Advanced Member
  
Join Date: Aug 2003
Posts: 59
 

Default

I have a similar issue with adding a php poll.

Though I would be able to just insert the code in the poweredby tpl file and wala...nope not happing tried wrapping it with literal tags and it still does not show up.

This is the code I'm trying to get to show up...

<?php include_once($MPinc=(str_repeat('../',substr_count(substr($_SERVER['PHP_SELF'],1),'/')).'store/poll/poll.php'));displayPoll(1); ?>

As most of us know searching these forums is becoming a time sink So If someone could point us in the right direction on how to add php code to smarty it would be much appreciated

***edit***

Time sink over....http://forum.x-cart.com/viewtopic.php?p=42984&highlight=#42984

This may help
__________________
X-Cart version 3.5.11live
php ver 4.3.7
Reply With Quote
  #5  
Old 04-17-2004, 08:48 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

look at http://smarty.php.net for info on how toi include php in templates
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 04-17-2004, 08:41 PM
  enge919's Avatar 
enge919 enge919 is offline
 

Senior Member
  
Join Date: May 2003
Posts: 141
 

Default

Thanks Shan, that worked using the {php}{/php} tags, the calendar works great and displays properly.

The only problem is that now I have an error at the bottom of the page:

Code:
INVALID SQL: 1146 : Table 'superior_calendar.xcart_sessions_data' doesn't exist SQL QUERY FAILURE: UPDATE xcart_sessions_data SET data='a:14 {s:11:\"editor_mode\";s:0:\"\";s:17:\"always_allow_shop\";s:0:\"\";s:4:\" wlid\";s:0:\"\";s:10:\"js_enabled\";s:1:\"Y\";s:7:\"partner\";s:0:\"\";s:5:\" login\";s:0:\"\";s:10:\"login_type\";s:0:\"\";s:6:\"logged\";s:0:\"\";s:4:\"c art\";s:0:\"\";s:12:\"stats_pageid\";s:1:\"1";s:15:\"stats_page_time\";i:10 82173853;s:18:\"stats_pages_string\";s:1:\"1 \";s:19:\"stats_transactionid\";s:0:\"\";s:22:\"stats_transaction_step\";s:0 :\"\";}' WHERE sessid='4517b6a55b89193893b8c69720c43e1e'

The website is: http://www.superioroc.com , using x-cart version 3.5.4.

Im sure this is just something that has to be added to one of my files, appearantly for the sessions data.

Can you tell me where and how I can fix this?
__________________
Web site design - Custom Programming - Upgrades - Marketing
www.netvisionwebdesign.com

Follow on twitter: http://twitter.com/netvisionweb
Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 02:27 PM.

   

 
X-Cart forums © 2001-2020