WebSite X5Help Center

 
Andrea V.
Andrea V.
User

Versione mobile  it

Author: Andrea V.
Visited 3842, Followers 2, Shared 0  

Ciao a tutti. Ho realizzato sito con ws x5 evolution 11. Dal mobile non si vede bene. Prima domanda: Esiste una procedura che automatizzi la visuale in mobile, oppure la devo creare da zero? Seconda e ultima domanda: una volta creato in mobile, come faccio a farlo vedere se ho già pubblicato quello desk? Scusate se la domanda è banale, ma per me è un problema. :)

Grazie a tutti in anticipo

Posted on the
19 ANSWERS - 1 USEFUL - 1 CORRECT
Claudio D.
Claudio D.
Moderator
Best User of the month IT

...la versione 12 , ti automatizza la creazione del sito per il mobile. Anche se ovviamente devi metterci , un minimo le mani , ma il grosso del lavoro te lo fa il programma.

Se guardi nel tuo profilo , troverai nella sezione " le offerte per te"  l'offerta per il passaggio alla nuova versione. Il progetto è inoltre importabile dalla 11 , e anche lì qualche modifichina dovrai farla.

Con la versione 11 , da programma,  purtroppo devi crearti due siti separati uno per il mobile di dimensioni in larghezza ridotte e uno per il desktop. Ed ogni volta aggiornarli entrambi. Ma è fattibile, con molto lavoro,  se proprio non vuoi fare l'upgrade.


Read more
Posted on the from Claudio D.
Andrea V.
Andrea V.
User
Author

Grazie ed aggiungo. Una volta creati, quando vado a pubblicarli, il sito mobile lo metterò sotto la cartella mobile, giusto? Se cosi fosse, chi si collega da mobile, il sistema lo manderà direttamente alla versione mobile o io devo fare qualcosa (ho letto di redirect)... grazie Claudio

Read more
Posted on the from Andrea V.
Claudio D.
Claudio D.
Moderator
Best User of the month IT

si , potrai mettere un redirect automatico in base al dispositivo , si trovano diversi script in rete , oppure un link sul sito desktop che ti rimandi alla versione mobile

Read more
Posted on the from Claudio D.
Andrea V.
Andrea V.
User
Author

ho trovato script ed inserito nella home, nel sito www. Ho realizzato sito mobile ed ho inserito anche in quello lo script, con redirect inverso.Ma non funziona. Potresti dirmi dove dovrei inserirlo con precisione? (ps.non sono esperto e l'ho copiato nella home inserendo casella con codice html). Grazie

Read more
Posted on the from Andrea V.
Claudio D.
Claudio D.
Moderator
Best User of the month IT

...metti il link del sito ...

Read more
Posted on the from Claudio D.
Andrea V.
Andrea V.
User
Author

www.millemonumenti.org

www.millemonumenti.org/mobile/index.html

:)

Read more
Posted on the from Andrea V.
Claudio D.
Claudio D.
Moderator
Best User of the month IT

...ora non riesco a controllare il codice ... ma mi pare che non funzioni neppure l'indirizzamento da desktop a mobile ...

Read more
Posted on the from Claudio D.
Andrea V.
Andrea V.
User
Author

Infatti non va.

Puoi dirmi dove inserirlo e come?

ma va bene averlo inserito nella home page con la casella html?

Read more
Posted on the from Andrea V.
Claudio D.
Claudio D.
Moderator
Best User of the month IT

...ma hai messo un codice PHP , e se non vedo male la pagina è .html

temo che se vuoi mantenere il .html devi usare uno script javascript non uno script php ...

Read more
Posted on the from Claudio D.
Andrea V.
Andrea V.
User
Author

inizia il difficile per me... cosa potrei fare?

Read more
Posted on the from Andrea V.
Claudio D.
Claudio D.
Moderator
Best User of the month IT

guarda qui , c'è un esempio di redirect in javascript ...

https://helpcenter.websitex5.com/post/60759

...oppure se non hai la necessità del .html rinomini la pagina in .php , ricordandoti di eliminare la .html dal tuo host

Read more
Posted on the from Claudio D.
Andrea V.
Andrea V.
User
Author

Purtroppo non mi funziona: ho fatto in questo modo, cortesemente dimmi dove sbaglio. Grazie per la pazienza.

Sotto la voce "prima della chiusura del tag Head"

o inserito con spunta su html, il seguente script:

<script type=”text/javascript”>

if (checkmobile(navigator.userAgent)) window.parent.location=”http://millemonumenti.org/mobile/index.html/”

function checkmobile(nameApp) {

 if (nameApp.indexOf(‘MSIE’) != -1) return false;

 if (nameApp.indexOf(‘iPhone’) != -1) return true;

 if (nameApp.indexOf(‘Trident’) != -1) return true;

 if (nameApp.indexOf(‘Creative AutoUpdate’) != -1) return false;

browser_list = new Array(“midp”, “j2me”, “avantg”, “docomo”, “novarra”, “palmos”, “palmsource”, “240×320?, “opwv”, “chtml”, “pda”, “windows ce”, “mmp/”, “blackberry”, “mib/”, “symbian”, “wireless”, “nokia”, “hand”, “mobi”, “phone”, “cdm”, “up.b”, “audio”, “SIE-”, “SEC-”, “samsung”, “HTC”, “mot-”, “mitsu”, “sagem”, “sony”, “alcatel”, “lg”, “erics”, “vx”, “NEC”, “philips”, “mmm”, “xx”, “panasonic”, “sharp”, “wap”, “sch”, “rover”, “pocket”, “benq”, “java”, “pt”, “pg”, “vox”, “amoi”, “bird”, “compal”, “kg”, “voda”, “sany”, “kdd”, “dbt”, “sendo”, “sgh”, “gradi”, “jb”, “dddi”, “moto”);

for(i=0;i<lenght(browser_list);i++){

 if(nameApp.indexOf(browser_list[i]) != -1) return true;

 }

return false;

}

 </script>

Read more
Posted on the from Andrea V.
Claudio D.
Claudio D.
Moderator
Best User of the month IT

...secondo me dovresti metterlo in "dopo l'apertura del tag body" ...

...comunque se non ti funziona,  prova ad usare questo che si basa solo sulla risoluzione

<script type="text/javascript"> <!-- if (screen.width <= 699) { document.location = "sitomobile/index.html"; } //--> </script>

sempre da mettere "dopo l'apertura del tag body" ...

regola tu la risoluzione se vuoi ...

Read more
Posted on the from Claudio D.
Mirko Boschetti
Mirko Boschetti
Moderator

Converebbe anche metterlo in impostazioni generali, altrimenti se da motore di ricerca, si entra in altra pagina, non funzia niente...

Read more
Posted on the from Mirko Boschetti
Andrea V.
Andrea V.
User
Author

Fatto ragazzi... ma non funziona. Provate ad andare con  mobile su www.millemonumenti.org e vedrete....

Read more
Posted on the from Andrea V.
Claudio D.
Claudio D.
Moderator
Best User of the month IT

da quello che vedo l'hai messo, di nuovo,  nel posto sbagliato .... non in head ma va messo in body ...

e se lo vuoi, anche su tutte le pagine , come ti ha suggerito Mirko ,

impostazioni avanzate

statistiche e seo

esperto

dopo apertura tag body

Read more
Posted on the from Claudio D.
Andrea V.
Andrea V.
User
Author

Ho provato e riprovato. L'ho messo nel tag body.. ma nulla.

Ragazzi, purtroppo i tecnicismi non li conosco e seguendo le indicazioni,

non mi funziona. Provato e riprovato.

Io MI ARRENDO. Le ho provate tutte,.... grazie comunque

Read more
Posted on the from Andrea V.
Claudio D.
Claudio D.
Moderator
Best User of the month IT

scusa colpa dell'incolla ( con il REM ) non sono stato attento all'a capo ... mettilo così:

<script type= "text/javascript">

if (screen.width <= 699) {

document.location = "http://www.tuositomobile.com/" }

</script>

Read more
Posted on the from Claudio D.
Andrea V.
Andrea V.
User
Author

Ecco... adesso funziona!!!

GRAZIEEEEEEEE

Read more
Posted on the from Andrea V.