delete links from footer cms menu - Configuring and using PrestaShop - PrestaShop

Jump to content

Photo

delete links from footer cms menu

prestashop cms footer

#1

Posted 24 December 2012 - 05:30 PM

joaorodrigues88

    PrestaShop Newbie

  • Members
  • Pip
  • 4 Active Posts
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.prestasho...rade;</li>{/if}


{$footer_text}

</div>

<!-- /MODULE Block footer -->





the links continue appearing in the footer page... :wacko:



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

#2

Posted 24 December 2012 - 06:11 PM

tdr170

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 2977 Active Posts
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.prestasho...rade;</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.
-------------------------------------------------------------------------------
Did we help, If so give us a like, it lets others know we can help
-------------------------------------------------------------------------------

#3

Posted 24 December 2012 - 07:32 PM

joaorodrigues88

    PrestaShop Newbie

  • Members
  • Pip
  • 4 Active Posts
no... :wacko:
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.... :wacko:

#4

Posted 24 December 2012 - 08:31 PM

tdr170

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 2977 Active Posts
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.
-------------------------------------------------------------------------------
Did we help, If so give us a like, it lets others know we can help
-------------------------------------------------------------------------------

#5

Posted 25 December 2012 - 12:06 AM

joaorodrigues88

    PrestaShop Newbie

  • Members
  • Pip
  • 4 Active Posts
resolved!

I was changing code at default theme folders and I have another theme installed! -_-


thank you !!

#6

Posted 25 December 2012 - 12:25 AM

tdr170

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 2977 Active Posts
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.
-------------------------------------------------------------------------------
Did we help, If so give us a like, it lets others know we can help
-------------------------------------------------------------------------------

#7

Posted 20 March 2013 - 10:51 PM

Rogier75

    PrestaShop Newbie

  • Members
  • Pip
  • 12 Active Posts
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 ?

Attached Files



#8

Posted 20 March 2013 - 11:12 PM

tdr170

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 2977 Active Posts
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.
-------------------------------------------------------------------------------
Did we help, If so give us a like, it lets others know we can help
-------------------------------------------------------------------------------

#9

Posted 20 March 2013 - 11:30 PM

Rogier75

    PrestaShop Newbie

  • Members
  • Pip
  • 12 Active Posts
Thanks for your quick reply !
It's in maintenance mode still, what's your IP so I can add it ?

Edited by Rogier75, 21 March 2013 - 12:12 AM.


#10

Posted 14 July 2013 - 02:51 PM

cutecat

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 237 Active Posts
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?

#11

Posted 14 July 2013 - 05:29 PM

vekia

    PrestaShop Legend

  • Ambassadors
  • 53168 Active Posts

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.

free tutorials, free templates, free addons, responsive prestashop modules MndfRK4.png


#12

Posted 14 July 2013 - 05:59 PM

cutecat

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 237 Active Posts

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

Attached File  Untitled.png   2.69KB   10 downloads

#13

Posted 14 July 2013 - 06:20 PM

vekia

    PrestaShop Legend

  • Ambassadors
  • 53168 Active Posts
but i think that is related to the template that you use (it depends on theme css styles)

free tutorials, free templates, free addons, responsive prestashop modules MndfRK4.png


#14

Posted 14 July 2013 - 06:43 PM

tdr170

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 2977 Active Posts

it is related. it is of the same module.

here is a screenshoot of the module

Attached File  Untitled.png   2.69KB   10 downloads


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.
-------------------------------------------------------------------------------
Did we help, If so give us a like, it lets others know we can help
-------------------------------------------------------------------------------



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more