<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="ARTICLE @ XOOPS powered by FeedCreator" -->
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.xoopsitalia.org//modules/article/xml.php">
        <title>Xoops Italia :: Articolo</title>
        <description>Articolo XML</description>
        <link>http://www.xoopsitalia.org/modules/article/view.article.php/67/c20</link>
        <image rdf:resource="http://www.xoopsitalia.org/modules/article/images/logo.png" />
       <dc:date>2008-05-13T02:17:09+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.xoopsitalia.org/modules/article/view.article.php/67/c20"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.xoopsitalia.org/modules/article/images/logo.png">
        <title>Xoops Italia :: Articolo</title>
        <link>http://www.xoopsitalia.org/modules/article/</link>
        <url>http://www.xoopsitalia.org/modules/article/images/logo.png</url>
    </image>
    <item rdf:about="http://www.xoopsitalia.org/modules/article/view.article.php/67/c20">
        <dc:format>text/html</dc:format>
        <dc:date>2008-03-23T19:42:55+02:00</dc:date>
        <dc:source>http://www.xoopsitalia.org/modules/article/</dc:source>
        <dc:creator>slyss</dc:creator>
        <title>Myalbum con effetto lightbox!</title>
        <link>http://www.xoopsitalia.org/modules/article/view.article.php/67/c20</link>
        <description>Categoria: Hack Moduli&lt;br /&gt;Sommario: Modificate il vostro myalbum con il sistema di visualizzazione lightbox!E' ormai più di un annetto che io uso lightbox con myalbum ma purtroppo non ho mai avuto tempo&lt;br /&gt;di scrivere un bel tutorial.&lt;br /&gt;&lt;br /&gt;Finalmente questo tempo l'ho trovato (grazie alle vacanze pasquali &lt;img src=&quot;http://www.xoopsitalia.org/uploads/smil44ec2347b7c85.gif&quot; alt=&quot;&quot; /&gt;) e quindi eccovi il&lt;br /&gt;tutorial per trasformare il vostro myalbum in un myalbum-lightbox.&lt;br /&gt;&lt;br /&gt;Per chi si chiedesse che cosa è lighbox può vedere una preview cliccando qui:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.stefanosilvestrini.com/lab/&quot; title=&quot;http://www.stefanosilvestrini.com/lab/&quot; target=&quot;_blank&quot;&gt;http://www.stefanosilvestrini.com/lab/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;INIZIAMO!!!&lt;br /&gt;&lt;br /&gt;Scaricatevi e scompattate il seguente pack:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.huddletogether.com/projects/lightbox2/releases/lightbox2.04.zip&quot; title=&quot;http://www.huddletogether.com/projects/lightbox2/releases/lightbox2.04.zip&quot; target=&quot;_blank&quot;&gt;http://www.huddletogether.com/project ... releases/lightbox2.04.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Andiamo via FTP ed apriamo la cartellina &lt;strong&gt;themes&lt;/strong&gt; presente nella root del nostro sito Xoops.&lt;br /&gt;Entriamo nella cartellina del nostro tema in uso ed editiamo il file &lt;strong&gt;theme.html&lt;/strong&gt;:&lt;br /&gt;&lt;br /&gt;prima della chiusura del tag&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;inserite questo codice:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;script&amp;nbsp;type&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;text/javascript&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;{$xoops_url}&amp;gt;/js/prototype.js&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;/span&gt;&amp;lt;script&amp;nbsp;type=&quot;text/javascript&quot;&amp;nbsp;src=&quot;&amp;lt;{$xoops_url}&amp;gt;/js/scriptaculous.js?load=effects,builder&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script&amp;nbsp;type=&quot;text/javascript&quot;&amp;nbsp;src=&quot;&amp;lt;{$xoops_url}&amp;gt;/js/lightbox.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;link&amp;nbsp;rel=&quot;stylesheet&quot;&amp;nbsp;href=&quot;&amp;lt;{$xoops_url}&amp;gt;/css/lightbox.css&quot;&amp;nbsp;type=&quot;text/css&quot;&amp;nbsp;media=&quot;screen&quot;&amp;nbsp;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;ora salvate e chiudete.&lt;br /&gt;&lt;br /&gt;Ora fate upload delle direcotry css, js e images presenti nel pack &lt;strong&gt;lightbox 2.04&lt;/strong&gt; facendo attenzione&lt;br /&gt;di non sovrascrivere la cartellina images (già presente nella vostra root), ma copiando i file della&lt;br /&gt;lightbox/images/ ed incollandoli nella root/images/ del vostro sito Xoops.&lt;br /&gt;&lt;br /&gt;A questo punto siamo pronti a modificare il codice.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ATTENZIONE: utilizzerò il nuovo sistema di &lt;a href=&quot;http://www.xoopsitalia.org/modules/article/view.article.php/c1/63&quot; target=&quot;_blank&quot;&gt;TEMPLATE OVERRIDE&lt;/a&gt; usando come esempio la visualizzazione a TABELLA di myalbum.&lt;/strong&gt;&lt;br /&gt;(se vorrete potrete cambiare tipo di visualizzazione dalle preferenze di myalbum, ricordando di modificare il codice del template relativo)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Andiamo via ftp in:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;root_del_sito/modules/myalbum/templates&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;e copiamo sul nostro desktop (o dove vorrete) il file &lt;strong&gt;myalbum_viewcat_table.html&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A questo punto apriamo il file ed editiamolo in questo modo:&lt;br /&gt;&lt;br /&gt;alla riga 65 troviamo la riga:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&amp;nbsp;href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$mod_url}&amp;gt;/photo.php?lid=&amp;lt;{$photo.lid}&amp;gt;'&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img&amp;nbsp;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.imgsrc_thumb}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$photo&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width_spec&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'0'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;e la modifichiamo in questo modo: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&amp;nbsp;href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.imgsrc_photo}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rel&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'lightbox[]'&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img&amp;nbsp;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.imgsrc_thumb}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$photo&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width_spec&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'0'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Ora salviamo il file e chiudiamo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Eseguiamo la stessa procedura con questo file: &lt;strong&gt;myalbum_photo_in_list.html&lt;/strong&gt; ed&lt;br /&gt;&lt;br /&gt;alla riga 11 troviamo questo codice:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&amp;nbsp;href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$mod_url}&amp;gt;/photo.php?lid=&amp;lt;{$photo.lid}&amp;gt;'&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img&amp;nbsp;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.imgsrc_thumb}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$photo&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width_spec&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;e la modifichiamo in questa maniera:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&amp;nbsp;href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.imgsrc_photo}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rel&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'lightbox[]'&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img&amp;nbsp;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.imgsrc_thumb}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$photo&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width_spec&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;ed alla riga 16 troviamo:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&amp;nbsp;href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.ahref_photo}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;target&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'_blank'&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img&amp;nbsp;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.imgsrc_thumb}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$photo&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width_spec&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;e la modifichiamo:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&amp;nbsp;href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.imgsrc_photo}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rel&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'lightbox[]'&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img&amp;nbsp;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.imgsrc_thumb}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$photo&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width_spec&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.title}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Ora salviamo il file e chiudiamo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Eseguiamo la stessa procedura con questo file: &lt;strong&gt;myalbum_photo.html&lt;/strong&gt; ed&lt;br /&gt;&lt;br /&gt;alla riga 28 troviamo questo codice:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&amp;nbsp;href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;{$photo.ahref_photo}&amp;gt;&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;target&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;_blank&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;onClick&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;window.open('&amp;lt;{$photo.ahref_photo}&amp;gt;','','width=&amp;lt;{$photo.window_x}&amp;gt;,height=&amp;lt;{$photo.window_y}&amp;gt;');return(false);&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img&amp;nbsp;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;{$photo.imgsrc_photo}&amp;gt;&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;0&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;align&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;center&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;vspace&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;3&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;hspace&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;7&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;{$photo.title}&amp;gt;&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;{$photo.title}&amp;gt;&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$photo&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width_height&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;nbsp;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;e la modifichiamo in questa maniera:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&amp;nbsp;href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'&amp;lt;{$photo.imgsrc_photo}&amp;gt;'&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rel&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'lightbox[]'&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;img&amp;nbsp;src&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;{$photo.imgsrc_photo}&amp;gt;&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;border&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;0&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;align&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;center&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;vspace&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;3&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;hspace&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;7&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;{$photo.title}&amp;gt;&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;{$photo.title}&amp;gt;&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;{&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$photo&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;width_height&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;}&amp;gt;&amp;nbsp;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Ora salviamo il file e chiudiamo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A questo punto usiamo il template override e quindi andiamo via ftp in:&lt;br /&gt;&lt;br /&gt;root_del_sito/themes/il_tema_in_uso/ creiamo una cartellina &lt;strong&gt;modules&lt;/strong&gt; (se non è già presente)&lt;br /&gt;ed al suo interno creiamo una cartellina &lt;strong&gt;myalbum&lt;/strong&gt;. All'interno di questa cartellina myalbum inseriamo i file appena creati.&lt;br /&gt;&lt;br /&gt;Ora per sicurezza andiamo via ftp a svuotare la cartellina &lt;strong&gt;template_c&lt;/strong&gt; presente nella root del nostro sito.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ora aprite il file &lt;strong&gt;js/lightbox.js&lt;/strong&gt; e modificate le righe 49 e 50 in questo modo:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;br /&gt;fileLoadingImage&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'http://www.stefanosilvestrini.com/lab/images/loading.gif'&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;fileBottomNavCloseImage&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;'http://www.stefanosilvestrini.com/lab/images/closelabel.gif'&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;inserendo quindi il path completo relativo al vostro sito.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;IL TUTORIAL E' FINITO. Ora avrete il vostro myalbum con la visualizzazione lightbox!&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Vi ricordo che con il sistema lightbox non avrete il conteggio dei click e delle visualizzazioni delle vostre foto,&lt;br /&gt;ma avrete un effetto visivo veramente eccellente.&lt;br /&gt;&lt;br /&gt;Happy Xoops! &lt;img src=&quot;http://www.xoopsitalia.org/uploads/smil44ec20d9c5bb0.gif&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;ciao Stefano&lt;br /&gt;</description>
    </item>
</rdf:RDF>
