ho inserito nella default del mio sito (aspnuke 2.0) la tabella relativa a top Articoli.
La default si presenta quindi così:
<% ' ************************************************************************ ' * ASPNUKE: Free web portal in ASP * ' ************************************************************************ ' * ASP-Nuke 2.0 Copyright (c) 2004 by Aspnuke.it Staff * ' * (staff@aspnuke.it) http://www.aspnuke.it * ' * * ' * Re-design by Enrico Musante (c) 2004 (emu@libero.it) * ' * Re-design by Frank Zalabard (c) 2004 (fsarzana@hotmail.com) * ' * Re-design by DJ (c) 2004 (infoz@searchwarezz.net) ' * * ' * ASP-Nuke 1.0, 1.1, 1.2 Copyright (c) 2002-2003 by Gaetan Bouveret * ' * (webmaster@asp-nuke.com) http://www.asp-nuke.com * ' * * ' * This program is free software. You can redistribute it and/or modify * ' * it under the terms of the GNU General Public License as published by * ' * the Free Software Foundation; either version 2 of the License, or * ' * (at your option) any later version. * ' * * ' ************************************************************************ %> <!-- #include file="news-inc.asp" --> <!-- #include file="forum-inc.asp" --> <!-- #include file="articles-inc.asp"--> <% Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td width=""50%"" valign=""top"" align=""right"">" & vbCRLF DisplayTopHomeEvents Response.Write " </td>" & vbCRLF Response.Write " <td> </td>" & vbCrlf If GLOBAL_FORUM_TOP > 0 Then Response.Write " <td width=""50%""valign=""top"" align=""right"">" & vbCRLF DisplayTopForum GLOBAL_FORUM_TOP Response.Write " </td>" & vbCRLF End If Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF If GLOBAL_NEWS_LINKS_TOP > 0 AND GLOBAL_ARTICLES_TOP > 0 Then Response.Write "<table width=""100%"" cellspacing=""0"" cellpadding=""0"" border=""0"" align=""center"">" & vbCRLF Response.Write " <tr>" & vbCRLF Response.Write " <td width=""50%"" valign=""top"" colspan=""3"">" & vbCRLF DisplayTopNewsLinks GLOBAL_NEWS_LINKS_TOP, 0 Response.Write " </td>" & vbCRLF Response.Write " <td> </td>" & vbCrlf Response.Write " <td width=""50%"" valign=""top"" colspan=""3"">" & vbCRLF DisplayTopArticles GLOBAL_ARTICLES_TOP Response.Write " </td>" & vbCRLF Response.Write " </tr>" & vbCRLF Response.Write "</table>" & vbCRLF End If DisplayTopNews GLOBAL_NEWS_TOP, 0 %>
e fin qui tutto ok, ma quando vado sul mio sito in default.asp viene visualizzata esattamente la tabella, ma i links sono sbagliati, mi spiego: invece di essere -http://www.miosito.com/articoli.asp?id=1- è http://www.miosito.com/default.asp?id=1 quindi risulta impossibile visualizzare la pagina di destinazione.
Credo che il problema sia in articles-inc.asp, dove ho trovato questa riga che dovrebbe essere responsabile del collegamento:
23 luglio 2004 alle 14:02:16 Prova a fare la stessa modifica che si faceva alla 1.2 per lo stesso problema, pero fatti un backup del file prima di uppare quellonuovo
---------------
23 luglio 2004 alle 15:25:57 Leggi bene l'articolo, troverai le modifiche da effettuare anche nella pagina articles-inc.asp Ciauzz DJ
--------------- A lavare la testa ai somari, ci si rimette l'acqua e il sapone!
23 luglio 2004 alle 15:52:13 Quello che c'è nel mio portale, da dove hai preso la modifica alla default.... Ciauzz DJ
--------------- A lavare la testa ai somari, ci si rimette l'acqua e il sapone!