Autore Topic: php modificare file blog_item.php estrazione codice  (Letto 764 volte)

Offline micdeveloper

  • Nuovo arrivato
  • *
  • Post: 15
    • Mostra profilo
php modificare file blog_item.php estrazione codice
« il: 06 Nov 2011, 13:43:13 »
Ciao,
devo modificare il file blog_item.php in modo da cambiare la visualizzazione dei post del blog.


Il testo di ogni articolo è simile a questo:
Codice: [Seleziona]
<!-- JoomlaWorks "Disqus Comment System for Joomla!" Plugin (v2.2) starts here -->

<div class="itp-fshare-floating" id="itp-fshare" style="position:fixed; top:30px !important; left:50px !important;">
<>
<p>
   <span class="easy_img_caption"    style="display:inline-block;line-height:0.5;vertical-align:top;background-color:#F2F2F2;text-align:left;width:180px;float:left;margin:0px 10px;">
     
      <a href="/joomla/index.php?option=com_content&view=article&id=13:11111&catid=1:guide-sui-serivzi-cloud-computing&Itemid=3">
         <img src="/joomla/plugins/content/imagesresizecache/441a27b2a4d64b487a8e213a94f6466d.jpeg" border="0" alt="1" title="1"  style="width:180px; height:150px; ;margin:0;" />
      [/url]
      <span class="easy_img_caption_inner" style="display:inline-block;line-height:normal;color:#000000;font-size:8pt;font-weight:normal;font-style:normal;padding:4px 8px;margin:0px;">1
   
      </span>
   </span>
   
   testo articolo blog
</p>


<!-- Disqus comments counter and anchor link -->


<a class="jwDisqusListingCounterLink" href="http://clouderize.it/joomla/index.php?option=com_content&view=article&id=13:11111&catid=1:guide-sui-serivzi-cloud-computing&Itemid=3#disqus_thread" title="Add a comment">
   Add a comment
[/url]


<!-- JoomlaWorks "Disqus Comment System for Joomla!" Plugin (v2.2) ends here -->




A me servirebbe estrarre la parte contenente l'immagine, in modo da disporla separatamente dal testo:
Codice: [Seleziona]
<span class="easy_img_caption"    style="display:inline-block;line-height:0.5;vertical-align:top;background-color:#F2F2F2;text-align:left;width:180px;float:left;margin:0px 10px;">
     
      <a href="/joomla/index.php?option=com_content&view=article&id=13:11111&catid=1:guide-sui-serivzi-cloud-computing&Itemid=3">
         <img src="/joomla/plugins/content/imagesresizecache/441a27b2a4d64b487a8e213a94f6466d.jpeg" border="0" alt="1" title="1"  style="width:180px; height:150px; ;margin:0;" />
     
      <span class="easy_img_caption_inner" style="display:inline-block;line-height:normal;color:#000000;font-size:8pt;font-weight:normal;font-style:normal;padding:4px 8px;margin:0px;">1
   
      </span>
   </span>


Come posso fare?
Grazie.

 

Host

Torna su