7
FOUND !
as you told I don't need (\) character before Character (") or (').
And block works with this structure :
global $xoopsUser; if( $xoopsUser ) { $mynick=$xoopsUser->getVar('uname'); } else { echo "registrati per fare Login";} echo "";
with external (") in echo command , and (') in internal data definition ...
Thanks to everybody for support ...
Attention 2.0.xxx users ...
THIS is the preview in custom block of 2.0.18 version ....
And
THIS is the preview in custom block of 2.4.4 version ...
But if you turn to see mainpage by browser , it works well...
( don't ask me why
)
Pino