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

X-Cart reBOOT (reDUX) Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #451  
Old 08-15-2022, 02:40 AM
 
sinobest sinobest is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 429
 

Default Re: X-Cart reBOOT (reDUX) Template

How to set Category icon size to 450px, pls?
__________________
X-Cart Version: 4.7.12 GOLD
www.cheapglasses123.com prescription glasses online at discounted prices.
prescriptionglassesusa.com
www.loupesusa.com X-Cart Version: 4.7.11 GOLD PLUS
Reply With Quote
  #452  
Old 09-21-2022, 10:22 AM
  neonrider's Avatar 
neonrider neonrider is offline
 

X-Adept
  
Join Date: Oct 2005
Posts: 648
 

Default Re: X-Cart reBOOT (reDUX) Template

Could you please advise how to change Alt Text limit for larger product photos on X-cart 4.7.12?
Attached Images
File Type: jpg temp(12).jpg (199.5 KB, 2 views)
__________________
X-Cart Ancient - 4.1.9
X-Cart Gold - 4.7.12
Windows 8.1 and none beyond
Reply With Quote
  #453  
Old 09-21-2022, 10:26 AM
 
PhilJ PhilJ is offline
 

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

Default Re: X-Cart reBOOT (reDUX) Template

Try /skin/common_files/modules/Detailed_Product_Images/colorbox_image.tpl

Around line 75, increase the value in red...
Code:
{$i.alt|truncate:"35":"..."|escape}
Reply With Quote

The following user thanks PhilJ for this useful post:
neonrider (09-21-2022)
  #454  
Old 09-21-2022, 12:28 PM
  neonrider's Avatar 
neonrider neonrider is offline
 

X-Adept
  
Join Date: Oct 2005
Posts: 648
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
Originally Posted by PhilJ
Try /skin/common_files/modules/Detailed_Product_Images/colorbox_image.tpl

Around line 75, increase the value in red...
Code:
{$i.alt|truncate:"35":"..."|escape}

I changed the 35 to 80 and was sure this will work, but it didn't. I rebooted my PC just to make sure and also tried it on Chrome browser instead of Firefox, but to my surprise the text under a large photo in a pop-up still is limited to about 35 chars and is being followed by a three pointer. Then I remembered one trick, to UNCHECK (and then check again) the "Do not check if templates are changed (Smarty compile_check)" under GENERAL settings and it worked.
__________________
X-Cart Ancient - 4.1.9
X-Cart Gold - 4.7.12
Windows 8.1 and none beyond
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 12:35 PM.

   

 
X-Cart forums © 2001-2020