carplu Posted May 19, 2014 Share Posted May 19, 2014 CMS block module has a problem i have set up left and right block and checked some pages that need to be in there... it does not display these blocks when i check below these blocks the box "show links and info in footer" it shows the links that are checked below that in 1 column... but that is not what i want ;-) Would it be an option to: - un-install - delete - find again - install Link to comment Share on other sites More sharing options...
vekia Posted May 20, 2014 Share Posted May 20, 2014 what module version you use? (exact number) ? Link to comment Share on other sites More sharing options...
carplu Posted May 20, 2014 Author Share Posted May 20, 2014 CMS block v1.9 Link to comment Share on other sites More sharing options...
vekia Posted May 20, 2014 Share Posted May 20, 2014 okay so it's proper version can you verify if your file: themes/default-bootstrap/modules/blockcms/blockcms.tpl looks like: {* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if $block == 1} <!-- Block CMS module --> {foreach from=$cms_titles key=cms_key item=cms_title} <section id="informations_block_left_{$cms_key}" class="block informations_block_left"> <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> <div class="block_content list-block"> <ul> {foreach from=$cms_title.categories item=cms_page} {if isset($cms_page.link)} <li class="bullet"> <a href="{$cms_page.link|escape:'html':'UTF-8'}" title="{$cms_page.name|escape:'html':'UTF-8'}"> {$cms_page.name|escape:'html':'UTF-8'} </a> </li> {/if} {/foreach} {foreach from=$cms_title.cms item=cms_page} {if isset($cms_page.link)} <li> <a href="{$cms_page.link|escape:'html':'UTF-8'}" title="{$cms_page.meta_title|escape:'html':'UTF-8'}"> {$cms_page.meta_title|escape:'html':'UTF-8'} </a> </li> {/if} {/foreach} {if $cms_title.display_store} <li> <a href="{$link->getPageLink('stores')|escape:'html':'UTF-8'}" title="{l s='Our stores' mod='blockcms'}"> {l s='Our stores' mod='blockcms'} </a> </li> {/if} </ul> </div> </section> {/foreach} <!-- /Block CMS module --> {else} <!-- MODULE Block footer --> <section class="footer-block col-xs-12 col-sm-2" id="block_various_links_footer"> <h4>{l s='Information' mod='blockcms'}</h4> <ul class="toggle-footer"> {if $show_price_drop && !$PS_CATALOG_MODE} <li class="item"> <a href="{$link->getPageLink('prices-drop')|escape:'html':'UTF-8'}" title="{l s='Specials' mod='blockcms'}"> {l s='Specials' mod='blockcms'} </a> </li> {/if} {if $show_new_products} <li class="item"> <a href="{$link->getPageLink('new-products')|escape:'html':'UTF-8'}" title="{l s='New products' mod='blockcms'}"> {l s='New products' mod='blockcms'} </a> </li> {/if} {if $show_best_sales && !$PS_CATALOG_MODE} <li class="item"> <a href="{$link->getPageLink('best-sales')|escape:'html':'UTF-8'}" title="{l s='Top sellers' mod='blockcms'}"> {l s='Top sellers' mod='blockcms'} </a> </li> {/if} {if $display_stores_footer} <li class="item"> <a href="{$link->getPageLink('stores')|escape:'html':'UTF-8'}" title="{l s='Our stores' mod='blockcms'}"> {l s='Our stores' mod='blockcms'} </a> </li> {/if} {if $show_contact} <li class="item"> <a href="{$link->getPageLink($contact_url, true)|escape:'html':'UTF-8'}" title="{l s='Contact us' mod='blockcms'}"> {l s='Contact us' mod='blockcms'} </a> </li> {/if} {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} <li class="item"> <a href="{$cmslink.link|addslashes|escape:'html':'UTF-8'}" title="{$cmslink.meta_title|escape:'html':'UTF-8'}"> {$cmslink.meta_title|escape:'html':'UTF-8'} </a> </li> {/if} {/foreach} {if $show_sitemap} <li> <a href="{$link->getPageLink('sitemap')|escape:'html':'UTF-8'}" title="{l s='Sitemap' mod='blockcms'}"> {l s='Sitemap' mod='blockcms'} </a> </li> {/if} </ul> {$footer_text} </section> {if $display_poweredby} <section class="bottom-footer col-xs-12"> <div> © 2014 {l s='[1]Ecommerce software by %s[/1]' mod='blockcms' sprintf=['PrestaShop™'] tags=['<a class="_blank" href="http://www.prestashop.com">']} </div> </section> {/if} <!-- /MODULE Block footer --> {/if} Link to comment Share on other sites More sharing options...
carplu Posted May 20, 2014 Author Share Posted May 20, 2014 Hi Vekia I do not use the bootstrap default checked modules>blockcms>blockcms.tpl and it is different {* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if $block == 1} <!-- Block CMS module --> {foreach from=$cms_titles key=cms_key item=cms_title} <div id="informations_block_left_{$cms_key}" class="block informations_block_left"> <h4 class="title_block"> <a href="{$cms_title.category_link|escape:'html'}">{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}</a> </h4> <ul class="block_content"> {foreach from=$cms_title.categories item=cms_page} {if isset($cms_page.link)} <li class="bullet"> <b style="margin-left:2em;"> <a href="{$cms_page.link|escape:'html'}" title="{$cms_page.name|escape:html:'UTF-8'}">{$cms_page.name|escape:html:'UTF-8'}</a> </b> </li> {/if} {/foreach} {foreach from=$cms_title.cms item=cms_page} {if isset($cms_page.link)} <li> <a href="{$cms_page.link|escape:'html'}" title="{$cms_page.meta_title|escape:html:'UTF-8'}">{$cms_page.meta_title|escape:html:'UTF-8'}</a> </li> {/if} {/foreach} {if $cms_title.display_store} <li> <a href="{$link->getPageLink('stores')|escape:'html'}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a> </li> {/if} </ul> </div> {/foreach} <!-- /Block CMS module --> {else} <!-- MODULE Block footer --> <div class="block_various_links" id="block_various_links_footer"> <h4 class="title_block">{l s='Information' mod='blockcms'}</h4> <ul> {if $show_price_drop && !$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} {if $show_new_products} <li class="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} {if $show_best_sales && !$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} {if $display_stores_footer} <li class="item"> <a href="{$link->getPageLink('stores')|escape:'html'}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a> </li> {/if} {if $show_contact} <li class="item"> <a href="{$link->getPageLink($contact_url, true)|escape:'html'}" title="{l s='Contact us' mod='blockcms'}">{l s='Contact us' mod='blockcms'}</a> </li> {/if} {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} <li class="item"> <a href="{$cmslink.link|addslashes|escape:'html'}" title="{$cmslink.meta_title|escape:'html':'UTF-8'}">{$cmslink.meta_title|escape:'html':'UTF-8'}</a> </li> {/if} {/foreach} {if $show_sitemap} <li> <a href="{$link->getPageLink('sitemap')|escape:'html'}" title="{l s='Sitemap' mod='blockcms'}">{l s='Sitemap' mod='blockcms'}</a> </li> {/if} {if $display_poweredby} <li class="last_item">{l s='[1]Ecommerce software by %s[/1]' mod='blockcms' sprintf=['PrestaShop™'] tags=['<a class="_blank" href="http://www.prestashop.com">']}</li> {/if} </ul> {$footer_text} </div> <!-- /MODULE Block footer --> {/if} Link to comment Share on other sites More sharing options...
vekia Posted May 20, 2014 Share Posted May 20, 2014 and your theme overrides this .tpl file? check: themes/YOUR-THEME/modules/blockcms/blockcms.tpl Link to comment Share on other sites More sharing options...
carplu Posted May 20, 2014 Author Share Posted May 20, 2014 Is possible i guess since in that folder it also has this template, but it is different content {* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if $block == 1} <!-- Block CMS module --> {foreach from=$cms_titles key=cms_key item=cms_title} <section id="informations_block_left_{$cms_key}" class="block informations_block_left"> <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> <div class="block_content list-block"> <ul> {foreach from=$cms_title.categories item=cms_page} {if isset($cms_page.link)} <li class="bullet"> <a href="{$cms_page.link|escape:'html':'UTF-8'}" title="{$cms_page.name|escape:'html':'UTF-8'}"> {$cms_page.name|escape:'html':'UTF-8'} </a> </li> {/if} {/foreach} {foreach from=$cms_title.cms item=cms_page} {if isset($cms_page.link)} <li> <a href="{$cms_page.link|escape:'html':'UTF-8'}" title="{$cms_page.meta_title|escape:'html':'UTF-8'}"> {$cms_page.meta_title|escape:'html':'UTF-8'} </a> </li> {/if} {/foreach} {if $cms_title.display_store} <li> <a href="{$link->getPageLink('stores')|escape:'html':'UTF-8'}" title="{l s='Our stores' mod='blockcms'}"> {l s='Our stores' mod='blockcms'} </a> </li> {/if} </ul> </div> </section> {/foreach} <!-- /Block CMS module --> {else} <!-- MODULE Block footer --> <section class="footer-block col-xs-12 col-sm-3" id="block_various_links_footer"> <h4>{l s='Information' mod='blockcms'}</h4> <ul class="toggle-footer bullet"> {if $show_price_drop && !$PS_CATALOG_MODE} <li class="item"> <a href="{$link->getPageLink('prices-drop')|escape:'html':'UTF-8'}" title="{l s='Specials' mod='blockcms'}">{l s='Specials' mod='blockcms'}</a> </li> {/if} {if $show_new_products} <li class="item"> <a href="{$link->getPageLink('new-products')|escape:'html':'UTF-8'}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a> </li> {/if} {if $show_best_sales && !$PS_CATALOG_MODE} <li class="item"> <a href="{$link->getPageLink('best-sales')|escape:'html':'UTF-8'}" title="{l s='Top sellers' mod='blockcms'}">{l s='Top sellers' mod='blockcms'}</a> </li> {/if} {if $display_stores_footer} <li class="item"> <a href="{$link->getPageLink('stores')|escape:'html':'UTF-8'}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a> </li> {/if} {if $show_contact} <li class="item"> <a href="{$link->getPageLink($contact_url, true)|escape:'html':'UTF-8'}" title="{l s='Contact us' mod='blockcms'}">{l s='Contact us' mod='blockcms'}</a> </li> {/if} {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} <li class="item"> <a href="{$cmslink.link|addslashes|escape:'html':'UTF-8'}" title="{$cmslink.meta_title|escape:'html':'UTF-8'}">{$cmslink.meta_title|escape:'html':'UTF-8'}</a> </li> {/if} {/foreach} {if $show_sitemap} <li> <a href="{$link->getPageLink('sitemap')|escape:'html':'UTF-8'}" title="{l s='Sitemap' mod='blockcms'}">{l s='Sitemap' mod='blockcms'}</a> </li> {/if} </ul> {$footer_text} </section> <!-- /MODULE Block footer --> {/if} Link to comment Share on other sites More sharing options...
carplu Posted May 21, 2014 Author Share Posted May 21, 2014 Any idea how i can get the module to work? Link to comment Share on other sites More sharing options...
ricky11 Posted September 11, 2014 Share Posted September 11, 2014 Carplu, did you fix this, i am having same issue on default theme, the left and right block not showing. Link to comment Share on other sites More sharing options...
carplu Posted September 11, 2014 Author Share Posted September 11, 2014 Carplu, did you fix this, i am having same issue on default theme, the left and right block not showing. Well what i did was use the cms block for displaying the cms pages i wanted in one block and for the other i just used link block module for other cms links Link to comment Share on other sites More sharing options...
3below Posted February 3, 2015 Share Posted February 3, 2015 Just upgraded to 1.6.0.11 - no issues other than the left right cms blocks will not display. Any answers found yet? Link to comment Share on other sites More sharing options...
Recommended Posts