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

X-Cart - Ultra - Responsive Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #31  
Old 10-26-2016, 05:42 AM
 
Bluemonk Bluemonk is offline
 

Advanced Member
  
Join Date: Apr 2010
Posts: 47
 

Default Re: X-Cart - Ultra - Responsive Template

Hi Phil, Can you please let me know how to adjust the size and color of the slider overlay in Ultra? Thanks
__________________
X-cart Gold V4.7, Ultra skin
Reply With Quote
  #32  
Old 10-26-2016, 06:04 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - Ultra - Responsive Template

Look in skin/ultra/css/swipers.css

.swiper-caption { ... }

If you don't use it already, I strongly recommend Firebug for tracking down CSS.
__________________
xcartmods.co.uk
Reply With Quote
  #33  
Old 10-26-2016, 07:44 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart - Ultra - Responsive Template

There is an issue with Ultra and the stock Banners module.

When banner is created and only one image is added it can be set to static so there is no rotation. With Ultra however the template takes over and converts all banners into slider. So no matter how you set the banner with one image - it will just loop itself.

Phil you should look into this and not convert banners into slides if not necessary.
Or am I missing some setting?
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
PhilJ (10-26-2016)
  #34  
Old 10-26-2016, 08:33 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - Ultra - Responsive Template

@Steve, in skin/ultra/modules/Banner_System/banner_rotator.tpl

Replace...
Code:
{foreach from=$banners item=banner} {if $banner.content ne ''} {if $banner.nav eq 'Y'}

With...
Code:
{foreach from=$banners item=banner} {if $banner.content ne '' && $banner.content|@count gt 1} {if $banner.nav eq 'Y'}

Then in skin/ultra/js/custom/swipers.js underneath BANNER SYSTEM

Replace...
Code:
autoplay: 3000,

With...
Code:
autoplay: $this.find('.swiper-slide').length > 1 ? 3000 : false,

If need be, do the same for grabCursor and loop...
Code:
grabCursor: $this.find('.swiper-slide').length > 1 ? true : false, loop: $this.find('.swiper-slide').length > 1 ? true : false,
__________________
xcartmods.co.uk
Reply With Quote
  #35  
Old 10-26-2016, 10:46 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart - Ultra - Responsive Template

Thanks Phil, we managed to code a solution that works for us. I just wanted to post for others to know and for feature versions of the skin to be corrected.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
PhilJ (10-26-2016)
  #36  
Old 10-27-2016, 10:26 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - Ultra - Responsive Template

27th October 2016 - v1.0.3 (X-Cart v4.7.6)
  • New 'header_lower_cats' setting for # of header menu parent categories
  • New 'single_product_redirect' setting to redirect to the product page, if only 1 product in category / search result
  • New 'email_header_logo' and 'admin_header_logo' settings added
  • New 'descriptions_on_thumb_hover' setting to display short description snippet on thumbnail hover - Example
  • New header customer account quick access dropdown menu for when logged in
  • 'Smart Grid' and 'Masonry Grid' widgets added
  • 'Animated elements on scroll' feature added - Examples
  • New 'Easy Custom Contact Forms' addon included
  • New 'Product Additional Data' addon included for product downloads and FAQ - Example
  • Product 'Quick View' improved to display product detailed images gallery
  • Products 'live' sort and 'standard' sort now combined - Example
  • Google maps added to customer address book (not in popup dialog box)
  • Banner system module tweaked to prevent sliding if only 1 banner in the location
  • Various tweaks to the Blog addon, title tags, author names added, footer block fix
  • New glossary addon options, caseSensitive and exactMatch
  • Minor tweaks and improvements
  • Uses Bootstrap v4 Alpha 4
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
elmirage001 (10-27-2016)
  #37  
Old 11-02-2016, 08:24 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - Ultra - Responsive Template

New 'Product Additional Data' addon included, up to 5 downloads and 10 FAQs per product. Example | Admin | Admin.

SEO is working well.
__________________
xcartmods.co.uk
Reply With Quote
  #38  
Old 11-02-2016, 09:02 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart - Ultra - Responsive Template

When the addons are not installed - in particular "featured category", "testimonials", "wp"... - the log files get filled up with sql errors. The altskin_common.php runs on every page load and queries database for tables which do not exist. This could have been coded in a better way to check for the features or tables and not the way currently is.
Imagine if the site has sql errors email active - admin will get one each time page is loaded....
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #39  
Old 11-02-2016, 10:55 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart - Ultra - Responsive Template

I don't get any errors whatsoever. Log files are one of the things I check most closely.

You might have an version of altskin_common.php

You can send me the log files if you like and I'll investigate.
__________________
xcartmods.co.uk
Reply With Quote
  #40  
Old 11-02-2016, 11:09 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart - Ultra - Responsive Template

Here is an example

Quote:
[29-Oct-2016 04:41:59] SQL error:
SQL query : SELECT * FROM xcart_categories WHERE avail='Y' AND featured='Y' ORDER BY RAND() LIMIT 8
Error code : 1054
Description : Unknown column 'featured' in 'where clause'
Request URI: /xcart/home.php?shopkey=cflsystems
Backtrace:
/include/func/func.db.php:738
/include/func/func.db.php:615
/altskin_get_featured_categories.php:19
/altskin_common.php:9
/auth.php:120
/home.php:48

-------------------------------------------------

[29-Oct-2016 04:41:59] SQL error:
SQL query : select 1 from `altskin_testimonials` WHERE approved = 'Y' LIMIT 1
Error code : 1146
Description : Table 'xc47x.altskin_testimonials' doesn't exist
Request URI: /xcart/home.php?shopkey=cflsystems
Backtrace:
/include/func/func.db.php:738
/include/func/func.db.php:615
/altskin_common.php:17
/auth.php:120
/home.php:48

-------------------------------------------------
[29-Oct-2016 04:41:59] SQL error:
SQL query : select 1 from `wp_posts` WHERE post_status = 'publish' LIMIT 1
Error code : 1146
Description : Table 'xc47x.wp_posts' doesn't exist
Request URI: /xcart/home.php?shopkey=cflsystems
Backtrace:
/include/func/func.db.php:738
/include/func/func.db.php:615
/altskin_common.php:23
/auth.php:120
/home.php:48


The 2 tables and "featured" field in categories do not exist since the addons are not needed and not installed

Also even if the WP is installed the mod will look for its tables within the same XC database. I would never put the blog tables within XC database - it will have its own database. With WP this is mandatory given the fact it is the most hacked platform.

Unless I am missing some setting in admin
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

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 06:29 AM.

   

 
X-Cart forums © 2001-2020