Jump to content

(SOLUCIONADO) Cambiar Link de un bloque CMS.


Recommended Posts

Hola, muy buenas, 

Mi pregunta es la siguiente, como puedo cambiar el link de un bloque cms que acabo de crear? me gustaria linkearlo a las categorias de productos, es decir a alguna de las categorias de articulos, el propósito es crear una categoria relacionada con el nombre de ese bloque ctc.

Inspeccionando la pagina web veo como esta enlazado pero no se que archivo modificar para cambiar este enlace, solo me interesa modificar el enalce de este bloque de la derecha.

mi version de prestashop es la 1.4.6.2.

Adjunto fotografia del analisis que he hecho.

Muchas gracias de antemano.

soy inexperto en este tema. 

post-719247-0-02418800-1384779863_thumb.jpg

Edited by Econsumo (see edit history)
Link to comment
Share on other sites

el archivo block tpl tiene esto: {*

* 2007-2010 PrestaShop 
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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:
* 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-2010 Prestashop SA
*  @version  Release: $Revision: 1.4 $
*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
*  International Registred Trademark & Property of PrestaShop SA
*}
 
{if $block == 1}
<!-- Block CMS module -->
{foreach from=$cms_titles item=cms_title}
<div id="informations_block_left" class="block">
<h4><a href="{$cms_title.category_link}">{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}" 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}" 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.php')}" 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 -->
<h4 style="border-bottom:2px solid #384855;margin-bottom:5px;padding-bottom:5px">{l s='Information' mod='blockcms'}</h4>
<ul class="v2-ulfooter">
{if $display_stores_footer}<li class="item"><a href="{$link->getPageLink('stores.php')}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a></li>{/if}
<li class="item"><a href="{$link->getPageLink('contact-form.php', 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}
</ul>
<!-- /MODULE Block footer -->
{/if
 
 
 
puede estar aqui? sabrias decirme cual seria? muchas gracias Raúl!
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...