MGLimhamn Posted November 1, 2013 Share Posted November 1, 2013 (edited) Hi, I would like to remove the link on the information header in the left column which shows your cms pages. It currently links to /info/home/ which only shows the pages in "Home", and I don't need that at all. In modules/blockcms/blockcms.tpl I found: <h4 class="title_block"><a href="{$cms_title.category_link}">{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}</a></h4> Can I freely remove the link (a href="...)? Or do I have to do something else in order to remove it from linking to that other page? All help is greatly appreciated! Kind regards, MGLimhamn Edited November 4, 2013 by MGLimhamn (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 1, 2013 Share Posted November 1, 2013 you can remove <a href="{$cms_title.category_link}"></a> you don't have to worry in this case, if I were you, i will also check /theme/ directory for this file (in themes/YOUR_THEME/modules/...) Link to comment Share on other sites More sharing options...
MGLimhamn Posted November 4, 2013 Author Share Posted November 4, 2013 (edited) Thanks for the answer vekia. I found blockcms.tpl in my theme folder as well. Do I have to edit both files or is it enough with the theme file? By the way, I found out that there <p> tag instead of a <h4> tag in the theme file: <p class="title_block"><a href="{$cms_title.category_link}">{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}</a></p> So I suppose that the modules/blockcms/blockcms.tpl file isn't used, because on the website, the <p> tag is used: <div id="informations_block_left_1" class="block informations_block_left"> <p class="title_block"> <a href="http://test.test/info/home/">Information</a> </p> Edit: it worked when I removed <a href="{$cms_title.category_link}"></a> from the themes/YOUR_THEME/modules/blockcms/blockcms.tpl. Thanks a lot vekia! Always helping out, it's greatly appreciated! I'll mark it as solved! Edited November 4, 2013 by MGLimhamn (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 4, 2013 Share Posted November 4, 2013 it's enough to edit one file located in your theme directory thank you for information that it works Link to comment Share on other sites More sharing options...
Recommended Posts