fashionpup Posted November 7, 2011 Share Posted November 7, 2011 Hi there Can anyone tell me how I can fix the following problem. I installed the new products block but I don't want the words to show like the screenshot attached. Instead, I just want the images. Is that possible? Thank you. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 8, 2011 Share Posted November 8, 2011 Hi fashionpup, Would you mind posting your URL so that we can look into this for you? -Mike Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted November 8, 2011 Share Posted November 8, 2011 Yes, it is very possible. All you have to do is comment out or remove the product description line in the tpl file. I don't have the module in front of me or I would give you the exact code but it shouldn't be very difficult to find. Hope that helps! Marty Shue Link to comment Share on other sites More sharing options...
fashionpup Posted November 16, 2011 Author Share Posted November 16, 2011 Hi everyone Thanks for the responses. The URL is www.summerlane.com.au Thank you. PS: I'm not a developer but trying to get my head around the whole presta thing Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted November 16, 2011 Share Posted November 16, 2011 Thanks fashionpup! Remove the following lines of code from the blocknewproducts module <dl class="products"> {foreach from=$new_products item=newproduct name=myLoop} <dt class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"><a href="{$newproduct.link}" title="{$newproduct.name|escape:html:'UTF-8'}">{$newproduct.name|strip_tags|escape:html:'UTF-8'}</a></dt> {if $newproduct.description_short}<dd class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"><a href="{$newproduct.link}">{$newproduct.description_short|strip_tags:'UTF-8'|truncate:75:'...'}</a><br /><a href="{$newproduct.link}" class="lnk_more">{l s='En savoir plus'}</a></dd>{/if} {/foreach} </dl> This will remove the product descriptions. Hope that helps! Marty Shue Link to comment Share on other sites More sharing options...
fashionpup Posted November 17, 2011 Author Share Posted November 17, 2011 Thanks Marty...unfortunately, that didn't work. Any other suggestions? Thanks fashionpup! Remove the following lines of code from the blocknewproducts module <dl class="products"> {foreach from=$new_products item=newproduct name=myLoop} <dt class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"><a href="{$newproduct.link}" title="{$newproduct.name|escape:html:'UTF-8'}">{$newproduct.name|strip_tags|escape:html:'UTF-8'}</a></dt> {if $newproduct.description_short}<dd class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"><a href="{$newproduct.link}">{$newproduct.description_short|strip_tags:'UTF-8'|truncate:75:'...'}</a><br /><a href="{$newproduct.link}" class="lnk_more">{l s='En savoir plus'}</a></dd>{/if} {/foreach} </dl> This will remove the product descriptions. Hope that helps! Marty Shue Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted November 17, 2011 Share Posted November 17, 2011 No, no other suggestions because this is the code that needs to be removed Did you force compile and turn off cache so that the changes can be seen? If so, then you either a) removed the wrong code or b ) did not remove the code from the correct module. Some themes have their own 'modules' folder so you will need to determine exactly which module is the active one then remove the code. I promise what I posted above will work if it is removed from the correct module. Marty Shue Link to comment Share on other sites More sharing options...
fashionpup Posted November 23, 2011 Author Share Posted November 23, 2011 Ok will try that. I'll do a force compile again. Thanks No, no other suggestions because this is the code that needs to be removed Did you force compile and turn off cache so that the changes can be seen? If so, then you either a) removed the wrong code or b ) did not remove the code from the correct module. Some themes have their own 'modules' folder so you will need to determine exactly which module is the active one then remove the code. I promise what I posted above will work if it is removed from the correct module. Marty Shue Link to comment Share on other sites More sharing options...
fashionpup Posted November 29, 2011 Author Share Posted November 29, 2011 Ok will try that. I'll do a force compile again. Thanks Hi Marty Thanks it worked. The programmer saved in it a different place... Thanks! Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted November 29, 2011 Share Posted November 29, 2011 You're welcome! Glad to hear that you finally figured it out. Marty Shue Link to comment Share on other sites More sharing options...
Recommended Posts