Jump to content

Remove link from CMS Block's title


Recommended Posts

open:

/themes/default-bootstrap/modules/blockcms.tpl

 

change:

			<p class="title_block">
				<a href="{$cms_title.category_link|escape:'html':'UTF-8'}">
					{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}
				</a>
			</p>

to:
 

			<p class="title_block">
					{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}
			</p>
Link to comment
Share on other sites

That is interesting. 

I think if you just delete the blockcms.tpl in the theme folder, Prestashop will use the one in the root module's folder.

If I were you, I will backup blockcms.tpl inside ( /themes/default-bootstrap/modules/blockcms/blockcms.tpl) and delete all the codes inside it.

I will then refresh my website. If the module still display properly instead of being blank. Then I will be sure that I was editing the wrong file.
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...