After translation, i start to play with Pico,
as you all know now, my favorite module

And as usual i start to put my self in troubles
changing "formmail4fleamarket" to "formvalidation"
I had to go through phpmyadmin to fix smarty bug..
Finally I reset everything and start with a new form.
Please, check the following :
example.
hi gigamaster.
Quote:
And as usual i start to put my self in troubles
changing "formmail4fleamarket" to "formvalidation"
I had to go through phpmyadmin to fix smarty bug..
If you copy the smarty plugin like "formmail" with different name, you have to change the code of the plugin.
function smarty_function_formmail( $params , &$smarty )
{
$controller =& new PicoFormProcessBySmartyFormmail() ;
$controller->parseParameters( $params ) ;
// toEmails from 'adminmail'
if( empty( $controller->toEmails ) ) {
if( trim( $GLOBALS['xoopsConfig']['adminmail'] ) != '' ) {
$controller->toEmails[] = $GLOBALS['xoopsConfig']['adminmail'] ;
}
}
$controller->execute( $params , $smarty ) ;
}
class PicoFormProcessBySmartyFormmail extends PicoFormProcessBySmartyBase
{
function __construct()
{
$this->mypluginname = 'formmail' ;
}
function executeLast()
{
$this->sendMail() ;
}
}
Hi Gijoe,
My fault. I was waiting to finish modules translation and start to play with Pico.
So, I did not read the "README" file and i put myself in troubles with my smarty bug

I promise. Next time i will try to calm and start with README - that is also why that file exist !