Autore |
Messaggio |
blackghost
Principiante
10 Discussioni
|
21 ottobre 2006 alle 11:25:12
Salve, scusate la mia ignoranza. Vorrei inserire la top 5 forum che c'è in home, laterale sul menu, e al suo posto inserire la top dei download qualcuno mi puo spiegare come deo fare?? grazie mille.
|
piosky_to2003
Esperto
2291 Discussioni
|
21 ottobre 2006 alle 11:49:48 Modificato il 22 ottobre 2006 alle 15:04:12
Per i download devi aprire il defaulX-inc.asp che stai usando e inserire in alto dopo gli altri include questa riga
<!-- #include file="downloads-inc.asp" -->
e mettere al posto di
if GLOBAL_FORUM_TOP > 0 Then Response.Write " <td valign=""top"" align=""right"">" & vbCRLF DisplayTopForum GLOBAL_FORUM_TOP Response.Write " </td>" & vbCRLF End If
questa
if GLOBAL_DOWNLOADS_TOP > 0 Then Response.Write " <td valign=""top"" align=""right"">" & vbCRLF DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "hits" Response.Write " </td>" & vbCRLF End If
--------------- Silvio Andrighetti Formaggini (Piosky)
http://www.roadrunners.to.it Sito Prove http://www.piosky.somee.com msn : chat_silvio@hotmail.com
|
piosky_to2003
Esperto
2291 Discussioni
|
21 ottobre 2006 alle 12:10:59 Modificato il 21 ottobre 2006 alle 12:12:00
per il forum
secondo me non ha molto senso perche ti allargherebbe troppo la colonna o andrebbe a capo troppe volte se metti il forum in laterale e se forzi di leggere solo i primi toto caratteri della frase non si capirebbe il senso
--------------- Silvio Andrighetti Formaggini (Piosky)
http://www.roadrunners.to.it Sito Prove http://www.piosky.somee.com msn : chat_silvio@hotmail.com
|
blackghost
Principiante
10 Discussioni
|
22 ottobre 2006 alle 14:58:57
Mi da questo errore:Microsoft VB Script runtime error '800a01f4'
Variable is undefined: 'DisplayTopDownloadsLinks'
/home/includes/default5-inc.asp, line 33
il codice della pagina modificato è questo: <!-- #include file="news-inc.asp" --> <!-- #include file="articles-inc.asp" --> <!-- #include file="downloads-inc.asp" --> <% Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF If GLOBAL_ARTICLES_LINKS_TOP > 0 and GLOBAL_DOWNLOADS_TOP > 0 Then Response.Write " <td valign=""top"" align=""right"">" & vbCRLF DisplayTopArticlesLinks GLOBAL_ARTICLES_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF Response.Write " <td> </td>" & vbCRLF Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & vbCRLF DisplayTopDownloadsLinks GLOBAL_DOWNLOADS_TOP Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF ElseIf GLOBAL_ARTICLES_LINKS_TOP > 0 Then Response.Write " <td width=""100%"" valign=""top"">" & vbCRLF DisplayTopArticlesLinks GLOBAL_ARTICLES_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF ElseIf GLOBAL_FORUM_TOP > 0 Then Response.Write " <td width=""100%"" valign=""top"" align=""right"">" & vbCRLF DisplayTopForum GLOBAL_FORUM_TOP Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF End If
|
piosky_to2003
Esperto
2291 Discussioni
|
22 ottobre 2006 alle 15:03:43 Modificato il 22 ottobre 2006 alle 15:04:51
la funzione e' DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "hits"
--------------- Silvio Andrighetti Formaggini (Piosky)
http://www.roadrunners.to.it Sito Prove http://www.piosky.somee.com msn : chat_silvio@hotmail.com
|
blackghost
Principiante
10 Discussioni
|
22 ottobre 2006 alle 15:04:31
Ok adesso ci provo. Grazie mille!!!
|
blackghost
Principiante
10 Discussioni
|
22 ottobre 2006 alle 15:06:33 Modificato il 22 ottobre 2006 alle 15:32:31
scusami puoi spiegare meglio a me sembra uguale a quella di prima DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "hits"
DisplayTopDownloads GLOBAL_DOWNLOADS_TOP, "hits"
|
blackghost
Principiante
10 Discussioni
|
22 ottobre 2006 alle 15:08:12
nel mess. precedente volevo scrivere scusami ovviamente.!!!! sorry!!!
|
piosky_to2003
Esperto
2291 Discussioni
|
22 ottobre 2006 alle 15:08:22
No, ho corretto anche il messaggio postato precedentemente altrimenti poi viene usato da altri e gli da errore
--------------- Silvio Andrighetti Formaggini (Piosky)
http://www.roadrunners.to.it Sito Prove http://www.piosky.somee.com msn : chat_silvio@hotmail.com
|
piosky_to2003
Esperto
2291 Discussioni
|
22 ottobre 2006 alle 15:09:50 Modificato il 22 ottobre 2006 alle 15:16:49
Se vai sul messaggio puoi fare un modifica e correggerlo, ore 15:09 siamo ancora in fascia protetta ehheheheh
--------------- Silvio Andrighetti Formaggini (Piosky)
http://www.roadrunners.to.it Sito Prove http://www.piosky.somee.com msn : chat_silvio@hotmail.com
|
1
2
>>
|