pub suite
This commit is contained in:
parent
55b81b8b31
commit
0bd753b38f
@ -196,5 +196,21 @@ class Blockadshooks extends Module
|
||||
return $this->runByHook('displayPubliciteTop');
|
||||
}
|
||||
|
||||
public function hookDisplayHomeRight1($params)
|
||||
{
|
||||
return $this->runByHook('displayHomeRight1');
|
||||
}
|
||||
|
||||
public function hookDisplayHomeRight2($params)
|
||||
{
|
||||
return $this->runByHook('displayHomeRight2');
|
||||
}
|
||||
|
||||
public function hookDisplayPubliciteRight($params)
|
||||
{
|
||||
return $this->runByHook('displayPubliciteRight');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
@ -27,7 +27,7 @@ class Publication extends ObjectModel
|
||||
'id_block_ads' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
'name' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName'),
|
||||
'id_shop' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
'content' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isAnything'),
|
||||
'content' => array('type' => self::TYPE_NOTHING, 'lang' => true, 'validate' => 'isAnything'),
|
||||
'date_from' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'),
|
||||
'date_to' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'),
|
||||
'active' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),
|
||||
|
@ -147,7 +147,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div style="padding: 20px; background:#f1f1f1; margin-bottom:30px;" class="pub"></div>
|
||||
<div class="pub">
|
||||
{hook h='displayPubliciteRight'}
|
||||
</div>
|
||||
|
||||
{if $child_categories}
|
||||
<div class="list_categories">
|
||||
|
@ -61,8 +61,9 @@
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="pub" style="padding: 20px; background:#f1f1f1; margin-bottom:30px; margin-top:30px">
|
||||
<div class="col-md-4">
|
||||
<div class="pub">
|
||||
{hook h='displayHomeRight1'}
|
||||
</div>
|
||||
<div class="post_home_right">
|
||||
<div class="post_home_top">
|
||||
@ -71,6 +72,9 @@
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
<div class="pub">
|
||||
{hook h='displayHomeRight2'}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -146,12 +146,15 @@
|
||||
</div>
|
||||
</article>
|
||||
<aside class="col-md-4">
|
||||
<div style="padding: 20px; background:#f1f1f1; margin-bottom:30px;" class="pub"></div>
|
||||
<div class="pub">
|
||||
{hook h='displayPubliciteRight'}
|
||||
</div>
|
||||
|
||||
{hook h='displayleftPostCms' id_cmspost={$post->id} mod='blocknewsletter'}
|
||||
|
||||
<div id="stack_right">
|
||||
<div class="hidden-sm hidden-xs">
|
||||
{hook h='displayleftPostCms' id_cmspost={$post->id} mod='cms_pack'}
|
||||
{hook h='displayleftPostCms' id_cmspost={$post->id} mod='cms_pack'}
|
||||
</div>
|
||||
|
||||
{*
|
||||
@ -175,7 +178,7 @@
|
||||
{foreach from=$all_articles item=article key=key}
|
||||
<li><a href="{$link->getPostCmsLink($article->id)}" title="{$article->title}">{$article->title}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
@ -189,16 +192,14 @@
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
</aside>
|
||||
</section>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 selection_bottom">
|
||||
{hook h='displayBottomProductCms' id_cmspost={$post->id}}
|
||||
|
Loading…
Reference in New Issue
Block a user