10
I found the solution thanks to Giba in
XOOPS Brasil in this topic:
http://www.xoops.net.br/modules/newbb/viewtopic.php?topic_id=7436&forum=9&post_id=42401#forumpost42401
Is very simple with php custom block:
if(!defined('XOOPS_ROOT_PATH')) exit();
$myvar = $GLOBALS["xoTheme"];
echo ' <img src="'.$myvar->url.'/images/logo.gif" alt="Logo" />';
With this, if you change the theme, you will see the images/logo.gif from the other theme
But i still want to know:
Quote:
This is the point: i dont know the autoformat for this smarty.
In the block area show only the {X_SITEURL} (same as <{$xoops_url}> in theme/template).
So, i know:
<{$xoops_url}> = {X_SITEURL}
but:
<{$xoops_imageurl}> = ?
or
<{$xoTheme}> = ?
I think there's no {XOOPS_URL_THEME}, {X_THEMEURL}, {X_URL_THEME} or something...