Inserir imagem fixa em módulo (personalizar)

Dúvidas e discussões sobre o uso de extensões que não sejam nativas do Joomla!
juniorbast
Novato
Mensagens: 4
Registrado em: 11 Abr 2009, 23:36

Inserir imagem fixa em módulo (personalizar)

Mensagem por juniorbast »

Olá!

Tenho uma dúvida, e vejam se pode me ajudar: Gostaria de colocar uma imagem fixa no topo de um módulo, tipo "Últimas notícias".
Pelo que tenho visto, devo inserir algo como:
<img src="../img/noticias.png" width="49" height="366" /> na posição em que quero que apareça dentro do módulo... Porém a imagem não aprece. Utilizo o mod_junewsultra, e modifiquei um template. Segue meu código:

Código: Selecionar todos

<?php
/*******************PARAMS****************/
/*
/* $params->get('moduleclass_sfx') - module class suffix
/*
/* $item->link        -   display link
/* $item->text        -   display title
/*
/* $item->image       -   display image
/*
/* $item->created     -   display date & time
/* $item->df_d        -   display day
/* $item->df_m        -   display mounth
/* $item->df_Y        -   display mounth
/*
/* $item->author      -   display author
/*
/* $item->introtext   -   display introtex
/* $item->readmore    -   display Read more...
/* $item->rmtext      -   display Read more... text
/*
/*****************************************/

// no direct access
defined('_JEXEC') or die('Restricted access');

?>
<table width="200" border="1">
  <tr>
    <td><img src="../img/noticias.png" width="49" height="366" /></td>
    <td><div class="junewsultra<?php echo $params->get('moduleclass_sfx'); ?>">
      <?php foreach ($list as $item) :  ?>
      <br />
      <div class="junews<?php echo $params->get('moduleclass_sfx'); ?>">
        <table border="0" width="540" height="49">
          <tr>
            <td height="20" width="100" rowspan="2"><?php echo $item->image; ?></td>
            <td height="20" width="430"><a href="<?php echo $item->link; ?>" class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>"> <?php echo $item->text; ?></a></td>
          </tr>
          <tr>
            <td height="23" width="430"><?php echo $item->introtext; ?> <a href="<?php echo $item->readmore; ?>" class="readmore<?php echo $params->get('moduleclass_sfx'); ?>" title="<?php echo $item->text; ?>"><?php echo $item->rmtext; ?></a></td>
          </tr>
        </table>
        <table border="1">
          <tr> </tr>
        </table>
      </div>
      <?php endforeach; ?>
    </div></td>
  </tr>
</table>



Como faço para que funcione? Em anexo uma imagem para visualizar melhor. obrigado
Anexos
noticias.gif
noticias.gif (8.02 KiB) Exibido 925 vezes
Responder