Back to top

Autore Topic: Xe-Gallery  (Letto 1368 volte)

Offline warriors

  • Nuovo arrivato
  • *
  • Post: 4
    • Mostra profilo
Xe-Gallery
« il: 30 Apr 2009, 20:27:02 »
Salve, ho installato xe-gallery in joomla1.0, creato un nuovo menu e associano appunto tale componente, caricato le immagini ma quando apro la pagina quello che vedo è

 prova  setQuery( $query ); $id = $database->loadResult(); $component = new mosComponent( $database ); $component->load( $id ); $params =& new mosParameters( $component->params ); createPlaylist("cache/galleryLM.xml", $params); $playlistfile = $params->get('playlistfile', 'http://www.xe-media.ch/xspf/galleryLoop.mp3'); $gallerylist = $params->get('galleryfile', 'http://www.xe-media.ch/xspf/myimage1.jpg'); $galleryLink = $params->get('galleryLink', 'yes'); ?>     get('title4', ''); $title5 = $params->get('title5', ''); $title6 = $params->get('title6', ''); $title7 = $params->get('title7', ''); $title8 = $params->get('title8', ''); $title9 = $params->get('title9', ''); $title10 = $params->get('title10', ''); $title11 = $params->get('title11', ''); $title12 = $params->get('title12', ''); $title13 = $params->get('title13', ''); $title14 = $params->get('title14', ''); $title15 = $params->get('title15', ''); $title16 = $params->get('title16', ''); $title17 = $params->get('title17', ''); $title18 = $params->get('title18', ''); $title18 = $params->get('title19', ''); $title20 = $params->get('title20', ''); global $database, $mosConfig_absolute_path; $database->SetQuery("SELECT * FROM #__xegallerylm ORDER BY ordering"); $rows = $database->loadObjectList(); $playlist = "\n"; $playlist .= "\n"; $playlist .= "" . $params->get('galleryfile1', 'http://www.xe-media.ch/xspf/myimage1.jpg') . "" . $params->get('title1', 'MyImage 1') . "\n"; $playlist .= "" . $params->get('galleryfile2', 'http://www.xe-media.ch/werbung/myimage2.jpg') . "" . $params->get('title2', 'MyImage 2') . "\n"; $playlist .= "" . $params->get('galleryfile3', 'http://www.xe-media.ch/werbung/myimage3.jpg') . "" . $params->get('title3', 'MyImage 3') . "\n"; if($title4 != "") { $playlist .= "" . $params->get('galleryfile4', '') . "" . $params->get('title4', '') . "\n"; } if($title5 != "") { $playlist .= "" . $params->get('galleryfile5', '') . "" . $params->get('title5', '') . "\n"; } if($title6 != "") { $playlist .= "" . $params->get('galleryfile6', '') . "" . $params->get('title6', '') . "\n"; } if($title7 != "") { $playlist .= "" . $params->get('galleryfile7', '') . "" . $params->get('title7', '') . "\n"; } if($title8 != "") { $playlist .= "" . $params->get('galleryfile8', '') . "" . $params->get('title8', '') . "\n"; } if($title9 != "") { $playlist .= "" . $params->get('galleryfile9', '') . "" . $params->get('title9', '') . "\n"; } if($title10 != "") { $playlist .= "" . $params->get('galleryfile10', '') . "" . $params->get('title10', '') . "\n"; } $playlist .= "\n"; $playlist .= ""; $thefile = fopen($mosConfig_absolute_path . "/" . $file, "w+"); fwrite($thefile, $playlist); fclose($thefile); } ?>

Sicuramente mi manca qualche cosa tipo un modulo non so. Sapreste aiutarmi

 



Web Design Bolzano Kreatif