Visualizzazione risultati 1 fino 18 di 18

Discussione: il tag non va...

  1. #1
    Guest

    Predefinito

    il tag non va ...
    soluzioni?
    AlterVistaTag(\"altervistabanner2\");
    lo inserisco nella pagina , ma mi riscrive la scritta
    lo stesso vale per il tag del contatore...

    HHHHHHHHHHHELP

  2. #2
    L'avatar di Gianluca
    Gianluca non è connesso Amministratore
    Data registrazione
    15-02-2001
    Messaggi
    18,035

    Predefinito

    Sei sicuro di aver inserito il tag proprio in una pagina php? Se la funzione fosse inserita in una pagina php \"vera e propria\" genererebbe un messaggio d\'errore, oppure non darebbe nessun output, il fatto che sia venuta scritta indica che non è stata interpretata dal php engine.

    Puoi il percorso completo del file in cui è inserito? E se possibile un url?
    Gianluca

  3. #3
    Guest

    Predefinito

    il problema è che viene inserito attraverso una caselle di testo dell\'amministrazione
    ps: posso includere in questa anche il codice html

  4. #4
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    ????

    l\'html nn viene interpretato dal modulo PHP...

    cmq a me quel tag inserito nelle pagine con estensione .php funzia bene
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  5. #5
    Guest

    Predefinito

    non si può creare un tag da inserire alternativo?
    tipo javascript o simili

  6. #6
    L'avatar di Gianluca
    Gianluca non è connesso Amministratore
    Data registrazione
    15-02-2001
    Messaggi
    18,035

    Predefinito

    Io in questo caso suggerirei di provare sia la versione html che php, comunque sarà resa disponibile una versione anche javascript il prima possibile.
    Gianluca

  7. #7
    Guest

    Predefinito

    nel frattempo che faccio?

    DAMMI UNA SOLUZIONE PLZ!

  8. #8
    Guest

    Predefinito

    non posso inserire quello che apache dovrebbe sostituire temporaneamente?

    me lo potresti scrivere?
    GRAZIE 1000
    Paolo

    PS mi serve
    Banner grande circuito 2
    Popunder
    Contatore
    e un banner piccolo

  9. #9
    mattemod non è connesso AlterVistiano
    Data registrazione
    07-06-2002
    Residenza
    Livorno, Toscana, Italia
    Messaggi
    755

    Predefinito

    dweb ha scritto:
    il tag non va ...
    soluzioni?
    AlterVistaTag(\"altervistabanner2\");
    lo inserisco nella pagina , ma mi riscrive la scritta
    lo stesso vale per il tag del contatore...

    HHHHHHHHHHHELP
    Perché devi scrivere
    <? AlterVistaTag(\"altervistabanner2\"); ?>
    e non solo
    AlterVistaTag(\"altervistabanner2\");
    Matteo

    Hestiun World
    Drago Bianco
    Fantasy Art

    Gentoo Linux rsync - hybrid +amd64/~amd64 - last gentoo-sources

  10. #10
    Guest

    Predefinito

    beh, una parte di problema l\'abbiamo risolta, grazie mattemod!
    ma ora non appare nulla!

  11. #11
    mattemod non è connesso AlterVistiano
    Data registrazione
    07-06-2002
    Residenza
    Livorno, Toscana, Italia
    Messaggi
    755

    Predefinito

    dweb ha scritto:
    beh, una parte di problema l\'abbiamo risolta, grazie mattemod!
    ma ora non appare nulla!
    Allora non so che dirti: nella mia pagina Sponsor ci sono tutti e banner e vanno perfettamente e poi funzionano anche la top100 e la popunder. Sono ignorante in materia ma può darsi che non sia compatibile con phpnuke o postnuke o quello che stai usando, boh!
    Matteo

    Hestiun World
    Drago Bianco
    Fantasy Art

    Gentoo Linux rsync - hybrid +amd64/~amd64 - last gentoo-sources

  12. #12
    L'avatar di Evcz
    Evcz non è connesso Utente storico
    Data registrazione
    31-05-2002
    Residenza
    Vicenza
    Messaggi
    5,670

    Predefinito

    hai provato ad inserire il tag nello stato normale x html?
    There are three kinds of people in this world: people who watch things happen ... people who complain about things that happen ... and people who make things happen...

  13. #13
    Guest

    Predefinito

    se intendi #altervistatag# si se no no come?

  14. #14
    L'avatar di Gianluca
    Gianluca non è connesso Amministratore
    Data registrazione
    15-02-2001
    Messaggi
    18,035

    Predefinito

    Non credo sia un problema denza soluzione, se si tratta effettivamente di uno script php credo che ci sia un punto del codice in cui puoi inserirlo.
    Gianluca

  15. #15
    Guest

    Predefinito

    non va ancora

    non puoi darmi i frammenti che apache sostituisce?

  16. #16
    L'avatar di Gianluca
    Gianluca non è connesso Amministratore
    Data registrazione
    15-02-2001
    Messaggi
    18,035

    Predefinito

    Sì, se fosse possibile, purtroppo i tags di AlterVista sono dinamici, ad ogni tag vengono sostituiti frammenti di html generati \"on the fly\" che sono sempre diversi è per questo che si usano i famosi tag di AlterVista anzichè l\'html.

    Comunque se ci comunichi un url esemplificativo possiamo aiutarti (io o qualcuno che ha già praticità con i tags nel php).
    Gianluca

  17. #17
    Guest

    Predefinito

    <?php
    // File: $Id: footer.php,v 1.22.2.1 2002/04/14 16:04:54 proca Exp $ $Name: $
    // ----------------------------------------------------------------------
    // POST-NUKE Content Management System
    // Copyright (C) 2001 by the Post-Nuke Development Team.
    // http://www.postnuke.com/
    // ----------------------------------------------------------------------
    // Based on:
    // PHP-NUKE Web Portal System - http://phpnuke.org/
    // Thatware - http://thatware.org/
    // ----------------------------------------------------------------------
    // LICENSE
    //
    // This program is free software; you can redistribute it and/or
    // modify it under the terms of the GNU General Public License (GPL)
    // as published by the Free Software Foundation; either version 2
    // of the License, or (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    // GNU General Public License for more details.
    //
    // To read the license please visit http://www.gnu.org/copyleft/gpl.html
    // ----------------------------------------------------------------------
    // Original Author of file: Francisco Burzi
    // Purpose of file:
    // ----------------------------------------------------------------------

    global $PHP_SELF;

    if (eregi(\"footer.php\", $PHP_SELF)) {
    die (\"You can\'t access this file directly...\");
    }

    // XHTML Support by Matt Jarjoura. <mjarjo1@umbc.edu>

    function footmsg()
    {
    echo \"<font class=\\\"pn-sub\\\">\\n
    \".pnConfigGetVar(\'foot1\').\"
    \\n
    </font>\\n\";
    }

    function foot()
    {
    global $index;

    // modification .71 multisites mouzaia
    /* it should not be necessary here, since config.php is in a table.
    if (!isset($index)) {
    include(WHERE_IS_PERSO.\"config.php\");
    }
    */
    themefooter();
    /**
    * DebugXHTML will place a link at the bottom of all pages which directs
    * the page to w3.org\'s validator server. This will allow all
    * module developers and theme writers to check their code for XHTML
    * compliance. Transitional XHTML is hard-coded till the next major
    * release.
    */
    $debugxhtml = -1;
    if (pnConfigGetVar(\'supportxhtml\')) {
    if ($debugxhtml)
    xhtml_display_test();
    }
    echo \"</body>\\n&lt;/html&gt;\";
    }

    foot();

    global $pnconfig, $pndebug, $dbg, $debug_sqlcalls, $dbg_starttime;

    // show time to render
    $mtime = explode(\" \",microtime());
    $dbg_endtime = $mtime[1] + $mtime[0];
    $dbg_totaltime = ($dbg_endtime - $dbg_starttime);

    // printf(\"&lt;center&gt;&lt;font size=-1&gt;Page created in %f seconds.&lt;/font&gt;&lt;/center&gt;\", $dbg_totaltime);
    if ($pndebug[\'debug\']){
    $dbg-&gt;v($dbg_totaltime,\"Page created in (seconds)\");
    $dbg-&gt;v($debug_sqlcalls,\"Number of SQL Calls\");
    }
    ?&gt;


    Questo è footer.php
    il problema è che io tutte le robe scritte le scrivo in un pannello di amministrazione, che le mette nel file come fossero variabili
    ps: questo pannello supporta l\'inserimento del codice html


    inoltre se io voglio mettere il contatore in home? tra le scritte delle variabili? rimango inchiappettato?
    non c\'è una altra soluzione???

  18. #18
    Guest

    Predefinito

    nessuna soluzione?

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •