Vorrei sapere quale č il codice html del cutenews da inserire nel sito
Printable View
Vorrei sapere quale č il codice html del cutenews da inserire nel sito
crei una pagina in .php e la chiami "cutenews.php" e all'interno inserisci questo codice:
poi nella pagina in cui vuoi inserire le news inserisci questo codice, modificando il testo in MAIUSCOLO:Codice HTML:<?PHP
$number = "Numero di news che vuoi che compargono --- Esempio: 5";
include("cutenews/show_news.php");
?>
se i suggerimenti ti danno fastidio copia e incolla questo codice:Codice HTML:<iframe src ="cutenews.php" width="LARGHEZZA DEL BOX ESPRESSI IN PIXEL, CANCELLA QUESTA SCRITTA E INSERISCI AD ESEMPIO: 500" height="ALTEZZA DEL BOX ESPRESSA IN PIXEL" border="0" framespacing="0" frameborder="0" border="no" scrolling="auto" name="cutenews" <!-- LA PAROLA "cutenews" INDICA LO SPAZIO DEL COLLEGAMENTO IFRAME, SE AD ESEMPIO VUOI FARE UN BOTTONE IN CUI LA PAGINA COMPARE DENTRO IL BOX DELLE NEWS, DOVREI INSERIRE IL CODICE <A HREF="LINK PAGINA" TARGET="cutenews"> ELIMINA QUESTO TESTO PER EVITARE ERRORI E PROBLEMI --> >
<p>OooPs! Pare che il tuo browser non supporta questa pagina.</p>
</iframe>
Codice HTML:<iframe src ="cutenews.php" width="500" height="500" border="0" framespacing="0" frameborder="0" border="no" scrolling="auto" name="cutenews">
<p>OooPs! Pare che il tuo browser non supporta questa pagina.</p>
</iframe>
La guida č molto chiara,perņ io non riesco a visualizzare comunque nulla nella mia home.Cutenews č stato ben installato e funziona,allora dove sta il problema?
ma bisogna per forza mettere l'iframe per farlo funzionare?
EDIT
non si puņ fare tutto in php?
Come da regolamento non riesumare vecchi topic e non postare messaggi consecutivi.
Apri un nuovo topic.
Chiudo.