[SOLVED] Coding Help - Joomla! Forum - community, help and support
alright here's deal. i've been hours trying figure 1 thing out...
when first installed template site, had "site name" disabled, (which since design own graphics anyway) seems site designed work site name enabled add missing piece.
the code runs follows:
<div id="logo">
<a href="index.php"><?php echo$mainframe->getcfg('sitename') ;?></a>
</div>
im seeing ('sitename') reference point additional piece fits site...however want replace new image.
how go doing this?
thank in advance.
when first installed template site, had "site name" disabled, (which since design own graphics anyway) seems site designed work site name enabled add missing piece.
the code runs follows:
<div id="logo">
<a href="index.php"><?php echo$mainframe->getcfg('sitename') ;?></a>
</div>
im seeing ('sitename') reference point additional piece fits site...however want replace new image.
how go doing this?
thank in advance.
for example, if have image logo.gif located in directory \templates\your-template\images, can associate image in link follows:
before change:
after change:
before change:
code: select all
<div id="logo">
<a href="index.php"><?php echo $mainframe->getcfg('sitename') ;?></a>
</div>
after change:
code: select all
<div id="logo">
<a href="index.php"><img src="templates/<?php echo $this->template ?>/images/logo.gif"/></a>
</div>
Comments
Post a Comment