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

Fancy categories not displaying

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-29-2010, 03:42 AM
 
sdfjlsdfsdf sdfjlsdfsdf is offline
 

Member
  
Join Date: May 2010
Location: Upholland
Posts: 12
 

Unhappy Fancy categories not displaying

Hi there,

I recently implemented the 'Nivo jQuery Slider'
http://nivo.dev7studios.com/

Onto our sites front page -
http://www.chemist-4-u.com

All was well when tested in Internet Explorer, but alas when I tried it in Firefox, Chrome, and Safari the fancy categories on the left of the page appear below the image generated...

I've tried everything and I'm at a complete loss as to what I need to change to get this working...

Any thought's or suggestions would be immensely appreciated.
__________________
xcart 4.3.1
Reply With Quote
  #2  
Old 07-29-2010, 06:59 AM
 
sdfjlsdfsdf sdfjlsdfsdf is offline
 

Member
  
Join Date: May 2010
Location: Upholland
Posts: 12
 

Default Re: Fancy categories not displaying

Further to this with my jQuery slider I can't get the images hidden on load. I've applied the correct style which works on a local test, but could this be related to the order in which the .tpl files are loaded?

I have the script and css <rel= tags inside my head.tpl, and then the code itself for the images inside welcome.tpl...

Any ideas? Really need this sorting even if it costs me some cash.

Plus I have been reading that enabling Fancy Categories is not recommended for speed issues. What replacement mod or system do people currently use?
__________________
xcart 4.3.1
Reply With Quote
  #3  
Old 07-29-2010, 08:18 AM
 
sdfjlsdfsdf sdfjlsdfsdf is offline
 

Member
  
Join Date: May 2010
Location: Upholland
Posts: 12
 

Default Re: Fancy categories not displaying

Hmm I'm no longer W3 valid! Surely there is an easy to implement a simple jquery image scroller? It doesn't need to be dynamic... I prefer to make the images myself.

Any suggestions? Free sh*t for help!
__________________
xcart 4.3.1
Reply With Quote
  #4  
Old 07-29-2010, 10:51 AM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default Re: Fancy categories not displaying

it's an overlapping issue. I guess nivo jquery slider is not properly compatible with fancy category module.

You can try another alternative http://www.flashxml.net/banner-rotator.html but it's FLASH based & not jquery. The above site offer free version also & if you don't want logo to be shown then it's very cheap also...just $12 I guess...but very powerful & nice effects too

By the way your user name "sdfjlsdfsdf" on this forum is to funny ...I use such user name while testing of form registration process only
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
Reply With Quote
  #5  
Old 07-29-2010, 12:37 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Fancy categories not displaying

Have you tried adjusting the z-index on the div named slider to be less than the z-index of the fancy category slide outs? I just tried setting it with firebug to 1, and the menus are now on top.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #6  
Old 07-30-2010, 01:06 AM
 
sdfjlsdfsdf sdfjlsdfsdf is offline
 

Member
  
Join Date: May 2010
Location: Upholland
Posts: 12
 

Default Re: Fancy categories not displaying

Thanks so much for that it worked a charm, you truly are a legend!

Now I have the awesome task of getting the site revalidated for W3..

If I have placed -

<link rel="stylesheet" href="nivo-slider.css" type="text/css" media="screen" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> <script src="jquery.nivo.slider.pack.js" type="text/javascript"></script>
Inside my 'head.tpl' -

and then write out the slider div in 'welcome.tpl'

Will I need to place {literal} tags around them to get it to read with no validation errors?

Also the images show on load.. been tweaking like mad.. how do I get them to hide! /confused
__________________
xcart 4.3.1
Reply With Quote
  #7  
Old 07-30-2010, 11:29 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Fancy categories not displaying

It is probably good practice to put {literal} {/literal} tags around your javascript if it is inline in a template - but not to help with validation issues. Instead, what that does is tell smarty to ignore your javascript - since smarty and javascript share some syntax, smarty can break apart your javascript by interpreting it incorrectly. (You don't need these tags for calls to external javascript files - smarty does not look in there.)

For W3C validation errors - I think you have two options - 1) Move the javascript to an external file instead of having it in-line or 2) Try surrounding the javascript with comment html tags so the validator treats it as a comment:

<script type="text/javascript">
<--<![CDATA[
your javascript goes here
]]>-->
</script>


--
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
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 11:15 AM.

   

 
X-Cart forums © 2001-2020