Strict Standards: Non-static method CodeColorerLoader::Enable() should not be called statically in /home/k6000169/public_html/wp-content/plugins/codecolorer/codecolorer.php on line 254
2012 enero | Programador freelance argentina

Smarty first item of array


{foreach from=$items key=myId item=i name=foo}

{/foreach}

{if $smarty.foreach.foo.first}LATEST{else}{$myId}{/if} {$i.label}

Prestashop | This module cannot be transplanted to this hook.

If you are trying to place a Prestahsop Module in some hook, and you are getting this error: “This module cannot be transplanted to this hook.” you can fix it modifying the module’s php.

For example if you are trying to place the Categories Block in the “Top of Pages” and you can’t. Open the file: /modules/blockcategories/blockategories.php and add this function:

public function hookTop($params)
{
        return $this->hookLeftColumn($params);

}

How to stop MySQL on OSx


1
<span>sudo </span><span>/</span><span>Library</span><span>/</span><span>StartupItems</span><span>/</span><span>MySQLCOM</span><span>/</span><span>MySQLCOM stop<br>sudo </span><span>/</span><span>Library</span><span>/</span><span>StartupItems</span><span>/</span><span>MySQLCOM</span><span>/</span><span>MySQLCOM start<br>sudo </span><span>/</span><span>Library</span><span>/</span><span>StartupItems</span><span>/</span><span>MySQLCOM</span><span>/</span><span>MySQLCOM restart</span>