[Plone-IT] popupforms e interne explorer

Fulvio Casali fulviocasali a gmail.com
Lun 21 Ott 2013 23:47:23 UTC


In effetti cosi' non puo' funzionare per altri browser, perche' quello e'
tutto un unico commento html.  Per farlo funzionare per altri browser
dovrebbe avere --> dopo l'!IE]>  e <!-- prima di <![endif  (vedi
http://stackoverflow.com/a/10987492/747729).  Pero' non credo che
portal_javascript ti permetta di farlo.

-- 
Fulvio



2013/10/21 Fabrizio Rota <fabrizio.rota a gmail.com>

> Premetto che ho sempre messo in debug durante le modifiche.
> Con le modifiche suggerite nella sorgente di pagina ottengo:
>
>  <!--[if !IE]>
>
>
> <script type="text/javascript" src="
> http://www.isisromero.gov.it/portal_javascripts/Sunburst%20Theme/popupforms-cachekey-135c6d58736a74389af9f429659409d4.js
> "></script>
> <![endif]-->il che mi sembra proprio corretto (lo script dovrebbe andare
> solo per browser diversi da IE) ma se uso lo script con Chrome o Firefox i
> popup vengono disabilitati (non solo con ie, dunque....).
>
> Boh!
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Il giorno 21 ottobre 2013 09:42, Fabrizio Rota <fabrizio.rota a gmail.com>ha scritto:
>
> grazie per i consigli: stasera eseguo.
>>
>> a presto
>>
>>
>> Il giorno 21 ottobre 2013 08:28, Vito Falco <vitofalco a gmail.com> ha
>> scritto:
>>
>> Fulvio +1
>>>
>>> Fabrizio: una volta che aggiungi la condition assicurati che l'istanza
>>> sia in esecuzione in "fg" o altrimenti devi mettere la spunta a "develp /
>>> debug mode ON" in css_registry, altrimenti non vedrai mai le modifiche.
>>>
>>> Vito
>>>
>>>
>>> Il giorno 21 ottobre 2013 02:45, Fulvio Casali <fulviocasali a gmail.com>ha scritto:
>>>
>>> Usando un browser non-IE (cioe' Firefox o Chrome, per esempio), hai
>>>> provato a fare il view source, e vedere che commento condizionale viene
>>>> aggiunto da Plone intorno all'elemento <script...> ?
>>>>
>>>> --
>>>> Fulvio
>>>>
>>>>
>>>>
>>>> 2013/10/20 Fabrizio Rota <fabrizio.rota a gmail.com>
>>>>
>>>>> La risorsa che hai linkato è proprio interessante.
>>>>> Intanto ancora nulla, però
>>>>>
>>>>>
>>>>> Il giorno 20 ottobre 2013 22:16, Fulvio Casali <fulviocasali a gmail.com
>>>>> > ha scritto:
>>>>>
>>>>> Io l'esempio l'ho copiato paro paro, ma penso che tu debba adattarlo
>>>>>> al tuo caso.  "lt IE 9" si applica a tutte le versioni di IE precedenti
>>>>>> alla 9.  Se vuoi escludere qualsiasi versione di IE, dovrebbe andar bene
>>>>>> sempliemente "IE".  Vedi qui per molti altri esempi:
>>>>>> http://msdn.microsoft.com/en-us/library/ms537512(VS.85).aspx
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Fulvio
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2013/10/20 Fabrizio Rota <fabrizio.rota a gmail.com>
>>>>>>
>>>>>>> mmmm forse devo solo infilare un "not"....
>>>>>>>
>>>>>>>
>>>>>>> Il giorno 20 ottobre 2013 22:10, Fabrizio Rota <
>>>>>>> fabrizio.rota a gmail.com> ha scritto:
>>>>>>>
>>>>>>> Messa nel portaljavascript alla voce "popupforms" non sortisce alcun
>>>>>>>> effetto (o meglio..... non fa funzionare il popupform nemmeno per chrome e
>>>>>>>> firefox....).
>>>>>>>>
>>>>>>>> grazie. approfondirò
>>>>>>>>
>>>>>>>>
>>>>>>>> Il giorno 20 ottobre 2013 21:45, Fulvio Casali <
>>>>>>>> fulviocasali a gmail.com> ha scritto:
>>>>>>>>
>>>>>>>> Ammesso che tu abbia individuato lo script che vuoi far escludere a
>>>>>>>>> IE, qui c'e' un esempio di sintassi, tipo:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>     conditionalcomment="lt IE 9"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> http://developer.plone.org/templates_css_and_javascripts/css.html#conditional-comments-ie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>  Fulvio
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2013/10/20 Fabrizio Rota <fabrizio.rota a gmail.com>
>>>>>>>>>
>>>>>>>>>> explorer 9 e 10 soffrono dello stesso problema.
>>>>>>>>>> Non ho explorer più antichi da testare.
>>>>>>>>>> Cmq sto explorer è una ossessione: qualche volta per far css che
>>>>>>>>>> si comportino come con gli altri browser ci perdo le giornate......
>>>>>>>>>>
>>>>>>>>>> Se non risolvo, disabilito popup e costringo tutti a farne a meno
>>>>>>>>>> :-(
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Il giorno 20 ottobre 2013 08:27, Vito Falco <vitofalco a gmail.com>ha scritto:
>>>>>>>>>>
>>>>>>>>>> Ciao,
>>>>>>>>>>> come prima cosa verificherei con le VARIE versioni di Explorer.
>>>>>>>>>>> Poichè questo fantastico browser si inventa
>>>>>>>>>>> regole/corrispondenze-agli-standard ad ogni release.
>>>>>>>>>>>
>>>>>>>>>>> Poi vediamo per le condition. Che, da quanto riguardi, seguono
>>>>>>>>>>> la sintassi dell'html/js NON specificatamente ztp.
>>>>>>>>>>>
>>>>>>>>>>> Vito
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Il giorno 20 ottobre 2013 07:56, Fabrizio Rota <
>>>>>>>>>>> fabrizio.rota a gmail.com> ha scritto:
>>>>>>>>>>>
>>>>>>>>>>>> Per qualche motivo :-(
>>>>>>>>>>>> fare il login con internet explorer sfruttando il popup su
>>>>>>>>>>>> http://www.isisromero.gov.it
>>>>>>>>>>>> risulta impossibile (si rimane in attesa guardando la solita
>>>>>>>>>>>> rotellina girare....).
>>>>>>>>>>>>
>>>>>>>>>>>> Con Chrome e Fireifox, invece è tutto ok.
>>>>>>>>>>>>
>>>>>>>>>>>> Il problema scompare disintallando Plomino, di cui però non
>>>>>>>>>>>> posso fare a meno.
>>>>>>>>>>>>
>>>>>>>>>>>> Non volendo rinunciare neppure ai popup, c'è modo di usare il
>>>>>>>>>>>> campo "Conditional comment" in portaljavascript per convincere  Internet
>>>>>>>>>>>> Explorer a non usare popupforms lasciandolo però utilizzare agli altro
>>>>>>>>>>>> browser? Come si imposta la sintassi?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Grazie in anticipo
>>>>>>>>>>>> --
>>>>>>>>>>>> Fabrizio
>>>>>>>>>>>> --------------------
>>>>>>>>>>>> Non inviato da IPhone
>>>>>>>>>>>>
>>>>>>>>>>>> "Life is what happens to you while you're busy making other
>>>>>>>>>>>> plans" - J. Lennon
>>>>>>>>>>>>
>>>>>>>>>>>> “If you think education is expensive, try ignorance” - D. Bok
>>>>>>>>>>>>
>>>>>>>>>>>> Life is like a game of cards. The hand you are dealt is
>>>>>>>>>>>> determinism; the way you play it is free will - Jawaharlal Nehru
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Plone-IT mailing list
>>>>>>>>>>>> Plone-IT a lists.plone.org
>>>>>>>>>>>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>>>>>>>>>>>>
>>>>>>>>>>>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Vito Falco*
>>>>>>>>>>> Webdeveloper & designer freelance, Plone enthusiast
>>>>>>>>>>> Bari, IT
>>>>>>>>>>> tel +39 3346330137 | skype vito80ba | twitter vito80ba
>>>>>>>>>>> Linkedin http://it.linkedin.com/in/vitof
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Plone-IT mailing list
>>>>>>>>>>> Plone-IT a lists.plone.org
>>>>>>>>>>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>>>>>>>>>>>
>>>>>>>>>>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Fabrizio
>>>>>>>>>> --------------------
>>>>>>>>>> Non inviato da IPhone
>>>>>>>>>>
>>>>>>>>>> "Life is what happens to you while you're busy making other
>>>>>>>>>> plans" - J. Lennon
>>>>>>>>>>
>>>>>>>>>> “If you think education is expensive, try ignorance” - D. Bok
>>>>>>>>>>
>>>>>>>>>> Life is like a game of cards. The hand you are dealt is
>>>>>>>>>> determinism; the way you play it is free will - Jawaharlal Nehru
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Plone-IT mailing list
>>>>>>>>>> Plone-IT a lists.plone.org
>>>>>>>>>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>>>>>>>>>>
>>>>>>>>>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Plone-IT mailing list
>>>>>>>>> Plone-IT a lists.plone.org
>>>>>>>>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>>>>>>>>>
>>>>>>>>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Fabrizio
>>>>>>>> --------------------
>>>>>>>> Non inviato da IPhone
>>>>>>>>
>>>>>>>> "Life is what happens to you while you're busy making other plans"
>>>>>>>> - J. Lennon
>>>>>>>>
>>>>>>>> “If you think education is expensive, try ignorance” - D. Bok
>>>>>>>>
>>>>>>>> Life is like a game of cards. The hand you are dealt is
>>>>>>>> determinism; the way you play it is free will - Jawaharlal Nehru
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Fabrizio
>>>>>>> --------------------
>>>>>>> Non inviato da IPhone
>>>>>>>
>>>>>>> "Life is what happens to you while you're busy making other plans" -
>>>>>>> J. Lennon
>>>>>>>
>>>>>>> “If you think education is expensive, try ignorance” - D. Bok
>>>>>>>
>>>>>>> Life is like a game of cards. The hand you are dealt is determinism;
>>>>>>> the way you play it is free will - Jawaharlal Nehru
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Plone-IT mailing list
>>>>>>> Plone-IT a lists.plone.org
>>>>>>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>>>>>>>
>>>>>>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Plone-IT mailing list
>>>>>> Plone-IT a lists.plone.org
>>>>>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>>>>>>
>>>>>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Fabrizio
>>>>> --------------------
>>>>> Non inviato da IPhone
>>>>>
>>>>> "Life is what happens to you while you're busy making other plans" -
>>>>> J. Lennon
>>>>>
>>>>> “If you think education is expensive, try ignorance” - D. Bok
>>>>>
>>>>> Life is like a game of cards. The hand you are dealt is determinism;
>>>>> the way you play it is free will - Jawaharlal Nehru
>>>>>
>>>>> _______________________________________________
>>>>> Plone-IT mailing list
>>>>> Plone-IT a lists.plone.org
>>>>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>>>>>
>>>>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Plone-IT mailing list
>>>> Plone-IT a lists.plone.org
>>>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>>>>
>>>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>>>>
>>>
>>>
>>>
>>> --
>>> *Vito Falco*
>>> Webdeveloper & designer freelance, Plone enthusiast
>>> Bari, IT
>>> tel +39 3346330137 | skype vito80ba | twitter vito80ba
>>> Linkedin http://it.linkedin.com/in/vitof
>>>
>>> _______________________________________________
>>> Plone-IT mailing list
>>> Plone-IT a lists.plone.org
>>> https://lists.plone.org/mailman/listinfo/plone-plone-it
>>>
>>> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>>>
>>
>>
>>
>> --
>> Fabrizio
>> --------------------
>> Non inviato da IPhone
>>
>> "Life is what happens to you while you're busy making other plans" - J.
>> Lennon
>>
>> “If you think education is expensive, try ignorance” - D. Bok
>>
>> Life is like a game of cards. The hand you are dealt is determinism; the
>> way you play it is free will - Jawaharlal Nehru
>>
>
>
>
> --
> Fabrizio
> --------------------
> Non inviato da IPhone
>
> "Life is what happens to you while you're busy making other plans" - J.
> Lennon
>
> “If you think education is expensive, try ignorance” - D. Bok
>
> Life is like a game of cards. The hand you are dealt is determinism; the
> way you play it is free will - Jawaharlal Nehru
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-plone-it
> http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html
>
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20131021/d55b4c77/attachment-0001.html>


Maggiori informazioni sulla lista Plone-IT