Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    gestione news da webtool

    Ciao ragazzi,
    stamattina ho comprato da webtool un pacchetto gestione news, tutto bene, tranne una cosa: non posso personalizzare la pagina che visualizza la news: c'è un modo per farlo?

    QUESTA E' LA PAGINA INDICE, E VA BENE

    http://www.texarredo.it/prova/italiano/news.asp


    IN QUESTA PAGINA VORREI INSERIRE LA TABELLA NEWS NELLA MIA IN ALTO

    http://news.webtool.it//view.aspx?id...67&idnews=6267

  2. #2
    C'è una sezione del forum dedicata ai servizi offerti da Weebtool.

  3. #3
    ...ho cambiato il pacchetto news, ma dopo aver inserito user e pass, mi esce:

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][Driver ODBC Microsoft Access]Errore generale. Impossibile aprire la chiave 'Temporary (volatile) Jet DSN for process 0x864 Thread 0x9f8 DBC 0x28bdf94 Jet' del Registro di sistema.

    /prova/newsV2004/common.inc, line 48

    -----------------------QUESTO è IL CODICE DEL FILE COMMON.INC----------------

    <%
    '************************************************* ***************************************

    '************************************************* ***************************************


    Dim adoCon 'Database Connection Variable
    Dim rsConfiguration 'Holds the configuartion recordset
    Dim strCon 'Holds the Database driver and the path and name of the database
    Dim strSQL 'Holds the SQL query for the database
    Dim intRecordsPerPage 'Holds the number of files shown on each page
    Dim strBgColour 'Holds the background colour of the News Administrator
    Dim strTextColour 'Holds the text colour of the News Administrator
    Dim strTextType 'Holds the font type of the News Administrator
    Dim intTextSize 'Holds the font size of the News Administrator
    Dim strLinkColour 'Holds the link colour of the News Administrator
    Dim strTableColour 'Holds the table colour
    Dim strTableBorderColour 'Holds the table border colour
    Dim strTableTitleColour 'Holds the table title colour
    Dim strVisitedLinkColour 'Holds the visited link colour of the News Administrator
    Dim strActiveLinkColour 'Holds the active link colour of the News Administrator



    'Create database connection

    'Create a connection odject
    Set adoCon = Server.CreateObject("ADODB.Connection")

    '------------- If you are having problems with the script then try using a diffrent driver or DSN by editing the lines below --------------

    'Database connection info and driver
    strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("\database\news.mdb")

    'Database driver info for Brinkster
    'strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("/USERNAME/db/news.mdb") 'This one is for Brinkster users place your Brinster username where you see USERNAME

    'Alternative drivers faster than the basic one above
    'strCon = "Provider=Microsoft.Jet.OLEDB.3.51; Data Source=" & Server.MapPath("news.mdb") 'This one is if you convert the database to Access 97
    'strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("news.mdb") 'This one is for Access 2000/2002

    'If you wish to use DSN then comment out the driver above and uncomment the line below (DSN is slower than the above drivers)
    'strCon = "DSN = DSN_NAME" 'Place the DSN where you see DSN_NAME

    '---------------------------------------------------------------------------------------------------------------------------------------------

    'Set an active connection to the Connection object
    adoCon.Open strCon



    'Read in the configuration for the script
    'Intialise the ADO recordset object
    Set rsConfiguration = Server.CreateObject("ADODB.Recordset")

    'Initialise the SQL variable with an SQL statement to get the configuration details from the database
    strSQL = "SELECT tblConfiguration.* From tblConfiguration;"

    'Query the database
    rsConfiguration.Open strSQL, strCon

    'If there is config deatils in the recordset then read them in
    If NOT rsConfiguration.EOF Then

    'Read in the configuration details from the recordset
    intRecordsPerPage = CInt(rsConfiguration("No_records_per_page"))
    strBgColour = rsConfiguration("bg_colour")
    strTextColour = rsConfiguration("text_colour")
    strTextType = rsConfiguration("text_type")
    intTextSize = CInt(rsConfiguration("text_size"))
    strTableColour = rsConfiguration("table_colour")
    strTableBorderColour = rsConfiguration("table_border_colour")
    strTableTitleColour = rsConfiguration("table_title_colour")
    strLinkColour = rsConfiguration("links_colour")
    strVisitedLinkColour = rsConfiguration("visited_links_colour")
    strActiveLinkColour = rsConfiguration("active_links_colour")
    End If

    'Reset server object
    Set rsConfiguration = Nothing
    %>

    DOVE DEVO INTERVENIRE???????

  4. #4
    Sul server, e' un problema di permessi di scrittura!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.