Support > Technical support

elxis 5, template five; adding logo fails

<< < (2/2)

bully:
Hi thx, Datahell,

but I could not find another one template and so far, I came actually further alone, then I thought and I got even help. I was to exited with the line help, I got. The line works well,

--- Code: ---<img src="<?php echo $elxis->secureBase(); ?>/templates/five/images/logo.png" alt="<?php echo $elxis->getConfig('SITENAME'); ?>" />
--- End code ---



but when try it to insert here





--- Code: ---<?php 
if ($eDoc->countModules('top') > 0) {
echo '<div class="tpl5_toppos">'."\n";
$eDoc->modules('top');
echo "</div>\n";
echo '<div class="clear"></div>'."\n";
}

if ($tpl5->showColumn() == true) {

echo '<div class="tpl5_sidecol">'."\n";

xxxxxxxxxxxxxxxx

$tpl5->sideBlocks($eDoc);
echo "</div>\n";
echo '<div class="clear"></div>'."\n";
echo '<div class="tpl5_maincol">'."\n";
$eDoc->component();
echo "</div>\n";

} else {
$eDoc->component();
echo '<div class="clear"></div>'."\n";
}

if ($eDoc->countModules('bottom') > 0) {
echo '<div class="tpl5_pos_bottom">'."\n";
$eDoc->modules('bottom');
echo "</div>\n";
echo '<div class="clear"></div>'."\n";
}
?>
--- End code ---

on position of xxxxxxxxxxxxxxxx, I just not get that. How the (data)hell

Again, the logo works, coming up well, BUT, I need it on position of xxxxxxxxxxxxxxxx.

Anyone can help me please?

thx @ lot
Bully aka 'php idiot'

webgift:

You've tried to insert HTML code into PHP block or the $elxis variable have not been
declared. Please replace the XXXXXXXXX with the line as quoted you below:

echo '<img src="'.eFactory::getElxis()->secureBase().'/templates/five/images/logo.png" alt="'.eFactory::getElxis()->getConfig('SITENAME').'" />';

Hope it's OK!

bully:
thx @ lot,

as some replies above  Reply #5 on: Today at 04:15:11 I was attempting., to get this in. whilst looking somehow correct, the links did create an extra empty menu item  and raising a js error :(

without the link, yes all looking and working correct. I might let that one even away .. no really need, but nice touch


bully

Navigation

[0] Message Index

[*] Previous page

Go to full version