benwiggy Posted August 31, 2013 Share Posted August 31, 2013 (edited) I'm trying, as ever, to set up a working Prestashop site. In the default layout, there's a big black box in the footer. It contains a column labelled "Information", which includes Specials, New Products, Top Sellers, followed by the CMS data -- Home, About Us, Legal, Terms & Conditions, etc. Now, I've found the module responsible for that whole block, which is called "CMS Block" unsurprisingly. However, there are no settings to stop it displaying "Specials, New Products, Top Sellers". Even if I turn OFF the Specials module, it still says Specials in that list (and clicking on it gives a blank page). How can I get rid of these links? If I disable the CMS Block module, they disappear, but there is no way of configuring them in the CMS Block itself. I attach a screenshot, where I've circled the items that I can't find any way of configuring. Thanks Edited August 31, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
Paulito Posted August 31, 2013 Share Posted August 31, 2013 Good morning I think the only way to stop these links showing is by editing the .tpl file with {* COMMENT OUT*} Sorry can't remember exact file as I am not at home If no one else gives you answer I will in about 2 hours Hope this helps Paul Link to comment Share on other sites More sharing options...
razaro Posted August 31, 2013 Share Posted August 31, 2013 (edited) They are hard coded so you can not remove them from back office. You have to edit file blockcms.tpl in root/your_theme/modules/blockcms/ (or if that don't exist in root/modules/blockcms). Code t remove is {if !$PS_CATALOG_MODE}<li class="first_item"><a href="{$link->getPageLink('prices-drop')}" title="{l s='Specials' mod='blockcms'}">{l s='Specials' mod='blockcms'}</a></li>{/if} <li class="{if $PS_CATALOG_MODE}first_{/if}item"><a href="{$link->getPageLink('new-products')}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a></li> {if !$PS_CATALOG_MODE}<li class="item"><a href="{$link->getPageLink('best-sales')}" title="{l s='Best sellers' mod='blockcms'}">{l s='Best sellers' mod='blockcms'}</a></li>{/if} Edit: yes Paul was first :-) Edited August 31, 2013 by razaro (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2013 Share Posted August 31, 2013 this is block cms module, you have to comment these lines: {if !$PS_CATALOG_MODE}<li class="first_item"><a href="{$link->getPageLink('prices-drop')|escape:'html'}" title="{l s='Specials' mod='blockcms'}">{l s='Specials' mod='blockcms'}</a></li>{/if} <li class="{if $PS_CATALOG_MODE}first_{/if}item"><a href="{$link->getPageLink('new-products')|escape:'html'}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a></li> {if !$PS_CATALOG_MODE}<li class="item"><a href="{$link->getPageLink('best-sales')|escape:'html'}" title="{l s='Best sellers' mod='blockcms'}">{l s='Best sellers' mod='blockcms'}</a></li>{/if} EDIT: ahh razaro you were first Link to comment Share on other sites More sharing options...
Paulito Posted August 31, 2013 Share Posted August 31, 2013 I was first but could not remember, I am older than you Paul Link to comment Share on other sites More sharing options...
benwiggy Posted August 31, 2013 Author Share Posted August 31, 2013 Many thanks. Perhaps we might see this in the Back Office in some future version....? The less tedious editing TPL files, the better!!! Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2013 Share Posted August 31, 2013 thanks for information and your suggestion i think the same, it will be much easier with configuration tool in back office im going to mark this thread as [solved] best regards Link to comment Share on other sites More sharing options...
ember1205 Posted August 31, 2013 Share Posted August 31, 2013 Cross-posting to my thread from a month ago with the exact same issue and the exact same request to make modules FULLY configurable. http://www.prestashop.com/forums/topic/265627-cms-block-not-fully-configurable-how-to-remove-extra-links/page__pid__1359980 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