jgk-dk Posted October 17, 2010 Share Posted October 17, 2010 Hi,Where can I change the frontpage lines to get more information under the product listed in the frontpage? Link to comment Share on other sites More sharing options...
rocky Posted October 18, 2010 Share Posted October 18, 2010 So you want to increase the length of the featured products desriptions? You can do that by changing line 15 of modules/homefeatured/homefeatured.tpl: {$product.description_short|strip_tags|truncate:130:'...'} Change 130 to the maximum number of characters you want displayed.You will also need to increase the height in the /* Special style for block products in global.css: #center_column div.products_block p.product_desc { height: 9em; color: #595a5e } Increase the height from 9em until the description no longer overlaps the image.You will also need to change the height on line 6 of modules/homefeatured/homefeatured.tpl to compensate for the increased height: {assign var='liHeight' value=342} 1 Link to comment Share on other sites More sharing options...
rackoon Posted January 27, 2011 Share Posted January 27, 2011 is the homefeatured.tpl the one you find in the theme/modules or simply the modulesedit:found it Link to comment Share on other sites More sharing options...
sslayer Posted May 20, 2011 Share Posted May 20, 2011 nice tutorial, it was very useful to me:D thanks rocky! Link to comment Share on other sites More sharing options...
lze Posted September 15, 2012 Share Posted September 15, 2012 So you want to increase the length of the featured products desriptions? You can do that by changing line 15 of modules/homefeatured/homefeatured.tpl: [url="{$product.link}"]{$product.description_short|strip_tags|truncate:130:'...'}[/url] Change 130 to the maximum number of characters you want displayed. I HAVE 121 CHARACTERS AND I INCREASED NUMBER FIRST TO 200 AND THEN TO 300, BUT NO SUCCESS. STILL THE SAME ERROR. IS IT IMPORTANT IN WHICH COLUMN IN CSV FILE IS DESCRIPTION? You will also need to increase the height in the /* Special style for block products in global.css: #center_column div.products_block p.product_desc { height: 9em; color: #595a5e } Increase the height from 9em until the description no longer overlaps the image. WHERE CAN I GET CODES FOR HEIGHT ? You will also need to change the height on line 6 of modules/homefeatured/homefeatured.tpl to compensate for the increased height: {assign var='liHeight' value=342} So you want to increase the length of the featured products desriptions? You can do that by changing line 15 of modules/homefeatured/homefeatured.tpl: [url="{$product.link}"]{$product.description_short|strip_tags|truncate:130:'...'}[/url] Change 130 to the maximum number of characters you want displayed. You will also need to increase the height in the /* Special style for block products in global.css: #center_column div.products_block p.product_desc { height: 9em; color: #595a5e } Increase the height from 9em until the description no longer overlaps the image. You will also need to change the height on line 6 of modules/homefeatured/homefeatured.tpl to compensate for the increased height: {assign var='liHeight' value=342} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now