Jump to content
Sign in to follow this  
oondudutz

[HELP]blockfanpage v.0.3 di matrice theme

Recommended Posts

Sekedar informasi singkat.

saya menggunakan prestashop v.1.4.3 , matrice theme dan blockfanpage v.0.3

 

ada sedikit error ketika saya mengaktifkan modul blockfanpage.

gambarnya jadi di dobel up,saya menafsirkan errornya karena size yg kurang atau gimana yah ?

 

saya juga mengeset produk di homepage menjadi 16 supaya dapat space yg besar tapi tidak ada perubahan .

langsung saja saya bagi penampakannya.

 

blockfanpage.php

<?php

/*

Block Fan Page - PrestaShop

Author: Jose Andres Alvarez Skinner

Aportacion: www.tuverano.com (se usa object en lugar de iframe para la validación xhtml 1.1)

Version: 0.3

*/

class BlockFanPage extends Module

{

function __construct()

{

$this->name = 'blockfanpage';

$this->tab = 'Blocks';

$this->version = 0.3;

 

parent::__construct(); // The parent construct is required for translations

 

$this->page = basename(__FILE__, '.php');

$this->displayName = $this->l('Block Facebook Fan Page');

$this->description = $this->l('Add Facebook Fan Page');

}

 

function install()

{

if (!parent::install())

return false;

if (!$this->registerHook('rightColumn') OR !$this->registerHook('leftColumn'))

return false;

return true;

}

 

/**

* Returns module content

*

* @param array $params Parameters

* @return string Content

*/

function hookRightColumn($params)

{

return $this->display(__FILE__, 'blockfanpage.tpl');

}

 

function hookLeftColumn($params)

{

return $this->hookRightColumn($params);

}

 

}

 

?>

 

blockfanpage.tpl

<!-- Block Fan Page Facebook -->

<object style="border: medium none; overflow: hidden; width: 193px; height: 240px;" data="http://www.facebook.com/plugins/likebox.p

hp?id={no id saya}&width=193&height=240&connections=3&header=true&stream=false"></object>

<!-- /Block links module -->

post-280026-0-20129600-1313915749_thumb.png

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More