Forum 

Forum AspNuke.it - Il tuo Portale OpenSource in ASP

Come si modifika...

Autore Messaggio
ninobuccheri

Principiante
Principiante
5 Discussioni



Profilo - ninobuccheri
10 ottobre 2003 alle 12:55:51 Profilo - ninobuccheriInvia un messaggio privato Rispondi quotando
Salve raga..
volevo sapere come modificare il menu di sinistra.
Di default è MENu e poi di sotto Directory - Immagni - Sondaggi..ecc
Come si modifika la scritta menù e le varie categorie?

Se voglio creare una nuova categoria mi da questo errore:

ErroreSQL : [Microsoft][ODBC Microsoft Access Driver] Field 'categories.cDescription' cannot be a zero-length string.
Query : INSERT INTO categories (cTitle, cDescription, cImage, cParent, cType) VALUES ('Il Gruppo', '', '', 0, 5)

Come mai?

Lultima kosa..sapete per caso un tema attinente ad un sito musicale?

Grazie anticipatamente siete grandi!
(!)
djveleno

Amministratore

Esperto
Esperto
1025 Discussioni



Profilo - djveleno
13 ottobre 2003 alle 19:55:30 Profilo - djvelenoInvia un messaggio privato Rispondi quotando
Per quanto riguarda l'intestazione della tabella del MENU, edita il file /lang/IT.XML e cerca questa stringa nelle traduzioni:
<translation name="LANG_MENU">Menu</translation>
Tra i 2 tag, scrivi ciò che vuoi che compaia....

Questo vale anche per i links richiamati nel menù.
Ciauzz Dj
---------------
A lavare la testa ai somari, ci si rimette l'acqua e il sapone!

http://aspnuke208.somee.com/Default.asp

ninobuccheri

Principiante
Principiante
5 Discussioni



Profilo - ninobuccheri
13 ottobre 2003 alle 20:30:29 Profilo - ninobuccheriInvia un messaggio privato Rispondi quotando
Grazie dj veleno...

E se voglio inserire altri link nel MENU?

Come si fa?

GRazie ankora!! (r) (r) (r) (r)
djveleno

Amministratore

Esperto
Esperto
1025 Discussioni



Profilo - djveleno
13 ottobre 2003 alle 20:46:18 Profilo - djvelenoInvia un messaggio privato Rispondi quotando
Per inserire un link nel menù, edita il file /includes/menu-inc.asp, e, aggiungi una riga come questa per ogni link:

Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & "gbook/default.asp"">Guestbook</a><br>" & vbCRLF


Questo nel caso del guestbook, ma, la struttura vale per ogni link che devi aggiungere.
Ciauzz Dj
---------------
A lavare la testa ai somari, ci si rimette l'acqua e il sapone!

http://aspnuke208.somee.com/Default.asp

ninobuccheri

Principiante
Principiante
5 Discussioni



Profilo - ninobuccheri
13 ottobre 2003 alle 21:05:50 Profilo - ninobuccheriInvia un messaggio privato Rispondi quotando
ankora tante grazie...

e dopo ke kreo il link kome faccio per creare la pagina?Nn e kome il PHpnuke ke t permette d crearle lui?

Mi spiegheresti un po la situation?

Grazie 1000 (k)
ninobuccheri

Principiante
Principiante
5 Discussioni



Profilo - ninobuccheri
13 ottobre 2003 alle 21:53:27 Profilo - ninobuccheriInvia un messaggio privato Rispondi quotando
Ciao scusa ma dove devo inserire la stringa d preciso?

questo e il file menu-inc

<%
' ************************************************************************
' * ASP-Nuke: Free web portal in ASP *
' ************************************************************************
' * 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. *
' * *
' ************************************************************************
%>
<%
' Display website's menu
' IN : -
' OUT : -
Sub DisplayMenu()
Dim sBullet

' Skining for bullet
If bDisplayBullet Then sBullet = "<img src=""" & GLOBAL_SITE_THEMES_PATH & sTheme & "/bullet.gif"" border=""0"" alt=""""> "

CreateTopTable "MainMenu", GetTranslation("LANG_MENU")

Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & "Default.asp"">" & GetTranslation("LANG_DEFAULT") & "</a><br>" & vbCRLF
If GLOBAL_NEWS_TOP > 0 Then
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_NEWS_PAGE & """>" & GetTranslation("LANG_NEWS") & "</a><br>" & vbCRLF
End If
If GLOBAL_ARTICLES_TOP > 0 Then
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_ARTICLES_PAGE & """>" & GetTranslation("LANG_ARTICLES") & "</a><br>" & vbCRLF
End If
If GLOBAL_FORUM_TOP > 0 Then
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_FORUM_PAGE & """>" & GetTranslation("LANG_FORUM") & "</a><br>" & vbCRLF
End If
If GLOBAL_DIRECTORY_TOP > 0 Then
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_DIRECTORY_PAGE & """>" & GetTranslation("LANG_DIRECTORY") & "</a><br>" & vbCRLF
End If
If GLOBAL_DOWNLOADS_TOP > 0 Then
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_DOWNLOADS_PAGE & """>" & GetTranslation("LANG_DOWNLOADS") & "</a><br>" & vbCRLF
End If
If GLOBAL_IMAGES_TOP > 0 Then
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_IMAGES_PAGE & """>" & GetTranslation("LANG_IMAGES") & "</a><br>" & vbCRLF
End If
If GLOBAL_POLLS_TOP > 0 Then
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_POLLS_PAGE & """>" & GetTranslation("LANG_POLLS") & "</a><br>" & vbCRLF
End If

Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_SMILEYS_PAGE & """>" & GetTranslation("LANG_TAGS") & "</a><br>" & vbCRLF
Response.Write "<br>" & vbCRLF

If sPseudo <> "" Then
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_ACCOUNTS_PAGE & """>" & GetTranslation("LANG_MY_ACCOUNT") & "</a><br>" & vbCRLF
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_PRIVATE_MESSAGES_PAGE & """>" & GetTranslation("LANG_PRIVATE_MESSAGES") & "</a><br>" & vbCRLF
If iRole > ROLE_USER Then Response.Write sBullet & "<a href=""" & GLOBAL_SITE_ADMIN_PATH & "Default.asp"">" & GetTranslation("LANG_ADMINISTRATION") & "</a><br>" & vbCRLF
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_DECONNECT_PAGE & """>" & GetTranslation("LANG_DECONNECT") & "</a><br>" & vbCRLF
Else
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_AUTHENTICATION_PAGE & """>" & GetTranslation("LANG_AUTHENTICATION") & "</a><br>" & vbCRLF
Response.Write sBullet & "<a href=""" & GLOBAL_SITE_PATH & GLOBAL_SITE_SIGNUP_PAGE & """>" & GetTranslation("LANG_SIGNUP") & "</a><br>" & vbCRLF
End If

CreateBottomTable ""
End Sub
%>

dove inserisco la stringa ke mi hai dato? (r)
djveleno

Amministratore

Esperto
Esperto
1025 Discussioni



Profilo - djveleno
14 ottobre 2003 alle 09:17:43 Profilo - djvelenoInvia un messaggio privato Rispondi quotando
La stringa va inserita in un punto a scelta, purchè dopo una istruzione END IF.

Per quanto riguarda le nuove pagine, puoi sempre scaricare il file di Mirabilweb, che ti permette di costruire pagine per AspNuke.
Ciauzz Dj
---------------
A lavare la testa ai somari, ci si rimette l'acqua e il sapone!

http://aspnuke208.somee.com/Default.asp

ninobuccheri

Principiante
Principiante
5 Discussioni



Profilo - ninobuccheri
14 ottobre 2003 alle 23:28:12 Profilo - ninobuccheriInvia un messaggio privato Rispondi quotando
GRazie dove lo trovo il file? (o)
iceman123

Amatore
Amatore
30 Discussioni



Profilo - iceman123
14 ottobre 2003 alle 23:47:36 Profilo - iceman123Invia un messaggio privato Rispondi quotando

Il file lo trovi al seguente URL:

http://aspnuke-mod.splinder.it/

Ciao Iceman123

Log in

Login
Password
Memorizza i tuoi dati:

Cerca

 

Sostieni AspNuke

Un piccolo gesto per aiutarci a mantenere AspNuke.it online

Promo

MusicWebItalia.it
Video Testi Traduzioni Spot Colonne sonore Accordi e Spartiti gratis.

Visitatori

Visitatori Correnti : 213
Membri : 0 offline Anna

Iscritti

 Utenti: 18940
Ultimo iscritto : glauco
Lista iscritti
Messaggi privati: 3373 Commenti: 2210 Immagini: 39 Downloads: 144 Articoli: 49 Pagine: 101 Siti web: 558 Notizie: 180 Sondaggi: 11 Preferiti: 5685537 Post sui forum: 51195 Libro degli ospiti: 4 Eventi: 7

Versioni

Temi