joaorodrigues88 Posted December 24, 2012 Share Posted December 24, 2012 hi there! I want do delete the default links of the footer ( specials, new products, top sellers) I found some posts about this theme, and I try many ways do delete or modify this links. my actual code on " blockcms.tpl " : ( modules/blockcms/blockcms.tlp) <!-- MODULE Block footer --> <div class="block_various_links" id="block_various_links_footer"> <li class="first_item"><a href="{$link->getPageLink($contact_url, true)}" title="{l s='Contact us' mod='blockcms'}">{l s='Contact us' mod='blockcms'}</a></li> {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} <li class="item"><a href="{$cmslink.link|addslashes}" title="{$cmslink.meta_title|escape:'htmlall':'UTF-8'}">{$cmslink.meta_title|escape:'htmlall':'UTF-8'}</a></li> {/if} {/foreach} <li id="header_link_sitemap"><a href="{$link->getPageLink('sitemap')}" title="{l s='sitemap' mod='blockpermanentlinks'}">{l s='Sitemap' mod='blockpermanentlinks'}</a></li> {if $display_poweredby}<li class="last_item">{l s='Powered by' mod='blockcms'} <a href="http://www.prestashop.com">PrestaShop</a>™</li>{/if} {$footer_text} </div> <!-- /MODULE Block footer --> the links continue appearing in the footer page... cache :OFF Force compilation :ON I'm starting my new online store with prestashop, and I'm very grateful for this project!! Thank you !! regards, João Link to comment Share on other sites More sharing options...
tdr170 Posted December 24, 2012 Share Posted December 24, 2012 I just checked on my 1.5 test site and the footer code with Contact US added should look like this {else} <!-- MODULE Block footer --> <div class="block_various_links" id="block_various_links_footer"> <h4>{l s='Information' mod='blockcms'}</h4> <ul> <li class="first_item"><a href="{$link->getPageLink($contact_url, true)}" title="{l s='Contact us' mod='blockcms'}">{l s='Contact us' mod='blockcms'}</a></li> {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} <li class="item"><a href="{$cmslink.link|addslashes}" title="{$cmslink.meta_title|escape:'htmlall':'UTF-8'}">{$cmslink.meta_title|escape:'htmlall':'UTF-8'}</a></li> {/if} {/foreach} <li id="header_link_sitemap"><a href="{$link->getPageLink('sitemap')}" title="{l s='sitemap' mod='blockpermanentlinks'}">{l s='Sitemap' mod='blockpermanentlinks'}</a></li> {if $display_poweredby}<li class="last_item">{l s='Powered by' mod='blockcms'} <a href="http://www.prestashop.com">PrestaShop</a>™</li>{/if} </ul> {$footer_text} </div> <!-- /MODULE Block footer --> {/if} This worked first time on my site try pasting the code above to your blockcms.tpl file replacing everything from the {else} down. You might want to try emptying your browsers cache as well as the smarty cache and compile folders. 1 Link to comment Share on other sites More sharing options...
joaorodrigues88 Posted December 24, 2012 Author Share Posted December 24, 2012 no... I can't understand... copy and paste and nothing. all the same... seems like the cache is on. but i Reset the browser and the cache options off... it's possible that the prestashop are call the files from other folders? and I'm changing the wrong file ? prestashop/modules/blockcms/blockcms.tpl right? hhhhh.... Link to comment Share on other sites More sharing options...
tdr170 Posted December 24, 2012 Share Posted December 24, 2012 Yes, go to cache/smarty/cache and delete any files inside folder except index.php same for the compile folder. When at web site if still show try force refresh with ctrl+f5 and see if it helps. what is the url of your site. Link to comment Share on other sites More sharing options...
joaorodrigues88 Posted December 24, 2012 Author Share Posted December 24, 2012 resolved! I was changing code at default theme folders and I have another theme installed! thank you !! Link to comment Share on other sites More sharing options...
tdr170 Posted December 24, 2012 Share Posted December 24, 2012 This is why we always ask for what version and theme you are using in this case it turned out joaorodrigues88 was using an alt theme. When using an alt theme that theme may also have alt modules so always look to ..themes/yourtheme/modules. To add [solved] to your post edit the original post click on use full editior and add [solved] in front of title. Link to comment Share on other sites More sharing options...
Rogier75 Posted March 20, 2013 Share Posted March 20, 2013 I used above mentioned footer code and it worked just fine. However the CMS block now looks brighter than the rest of the text on the footer (see attached screenshot), any idea on how to resolve this ? Link to comment Share on other sites More sharing options...
tdr170 Posted March 20, 2013 Share Posted March 20, 2013 This is a CSS issue if you give a link to your site I can have a look with dev tool and tell you how to fix. Link to comment Share on other sites More sharing options...
Rogier75 Posted March 20, 2013 Share Posted March 20, 2013 (edited) Thanks for your quick reply ! It's in maintenance mode still, what's your IP so I can add it ? Edited March 20, 2013 by Rogier75 (see edit history) Link to comment Share on other sites More sharing options...
cutecat Posted July 14, 2013 Share Posted July 14, 2013 how do i check the background color when my mouse reached over them? my current background is white and when my mouse moved over, it's black. Looks very ugly... Anyone help? Link to comment Share on other sites More sharing options...
vekia Posted July 14, 2013 Share Posted July 14, 2013 how do i check the background color when my mouse reached over them? my current background is white and when my mouse moved over, it's black. Looks very ugly... Anyone help? your question isn't related to the main case in this topic, am I right? if so, please create new thread with your question. also url to your website will be helpfull in this case. Link to comment Share on other sites More sharing options...
cutecat Posted July 14, 2013 Share Posted July 14, 2013 your question isn't related to the main case in this topic, am I right? if so, please create new thread with your question. also url to your website will be helpfull in this case. it is related. it is of the same module. here is a screenshoot of the module Link to comment Share on other sites More sharing options...
vekia Posted July 14, 2013 Share Posted July 14, 2013 but i think that is related to the template that you use (it depends on theme css styles) Link to comment Share on other sites More sharing options...
tdr170 Posted July 14, 2013 Share Posted July 14, 2013 it is related. it is of the same module. here is a screenshoot of the module As vekia asked if you can give a URL to your site we can have a look at the site not just a small pic, we can then look at the css and hopefully give you a resolution. Performance options should be set to use CSS not CCC so our DEV tools can see the individual CSS files. However this is a a:hover code issue within the CSS file could be in the global.css or the modules CSS file. We won't to help but can not really answer this question without looking at the site. Thanks. 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