Page 1 of 1

java script e album

Posted: Mon May 26, 2008 3:03 pm
by keroy
ragazzi buongiorno, ho da risolvere uno di quei bug che sono inspiegabili, come quello è nato prima l'uovo o la gallina.

vengo al succo

io ho deciso di utilizzare un menù di questo genere qui http://moofx.mad4milk.net/,  utilizzo questo java script per l'animazione del mio menu

quando vado inserirlo nel mio template dove è gia presente la mia foto gallery, sembra che si disabilitino i java script, quindi mio menù si presenta come un tutto espanso e la mia foto gallery non usa gli effetti di presentazione quanculno di voi a mai fixato questo bug???

ho letto che può essere un conflitto di metadata dei javascript???!!!??? ma nulla di più chiaro

grazie di tutto

Re: java script e album

Posted: Mon May 26, 2008 3:26 pm
by keroy
penso che questa sia la soluzione

ma non riesco a venirne fuori

Fix: Javascript doesn't load when pretty urls with hierarchy enabled - big picture doesn't show
Everything should work if you put this tag in between your tags in your page template like this: ... {metadata}

That will make CMSMS output a tag like this:

which should make all relative links work fine, even if hierarchy is enabled.

The other option would be for me to change the template to include a full URL to the JS so that it should always work, even if the metadata tag is not used.

Re: java script e album

Posted: Mon May 26, 2008 4:58 pm
by alby
keroy wrote: Fix: Javascript doesn't load when pretty urls with hierarchy enabled - big picture doesn't show
Everything should work if you put this tag in between your tags in your page template like this: ... {metadata}

The other option would be for me to change the template to include a full URL to the JS so that it should always work, even if the metadata tag is not used.
{metadata} dovrebbe essere sempre prente nel template, comunque se non si usa o più in generale, puoi caricare il tutto con un UDT che chiama config.php, legge la tua configurazione di root_url e poi si aggiunge il path relativo del js

Alby

Re: java script e album

Posted: Fri Jun 06, 2008 10:24 am
by keroy
UDT????

Re: java script e album

Posted: Fri Jun 06, 2008 11:38 am
by alby