Back to top

Autore Topic: Commenti  (Letto 2181 volte)

Offline dinox

  • Esploratore
  • **
  • Post: 92
    • Mostra profilo
Commenti
« il: 09 Gen 2007, 22:57:03 »
Chi mi sa dire un buon modulo per i commenti? a parte joscomment, ho provato akocomment ma non riesco a far comparire dove si inseriscono i commenti nonostante attivo il mambot.

Offline Downunder

  • Appassionato
  • ***
  • Post: 633
  • Sesso: Maschio
  • Voi si che avete coraggio a vivere in Italia !!
    • Mostra profilo
Re: Commenti
« Risposta #1 il: 10 Gen 2007, 13:22:11 »
cosa cerchi che joscomment non ti da?

Offline dinox

  • Esploratore
  • **
  • Post: 92
    • Mostra profilo
Re: Commenti
« Risposta #2 il: 10 Gen 2007, 15:00:29 »
ogni volta che un utente si registra compare questo errore:

nomesito/components/com_comment/joscomment/template.php
on line 25

Offline surfbit

  • Instancabile
  • ******
  • Post: 7316
  • Sesso: Maschio
  • Verranno ignorati mp tecnici
    • Mostra profilo
Re: Commenti
« Risposta #3 il: 10 Gen 2007, 16:05:43 »
cosa richiama alla linea 25 di joscomment/template.php ??
A volte basta un sorriso per far felice una persona.

La guida alla scelta dell'hosting per Joomla!  Joomlaspace.it: l'hosting per Joomla

Offline Downunder

  • Appassionato
  • ***
  • Post: 633
  • Sesso: Maschio
  • Voi si che avete coraggio a vivere in Italia !!
    • Mostra profilo
Re: Commenti
« Risposta #4 il: 10 Gen 2007, 17:11:44 »
cosa richiama alla linea 25 di joscomment/template.php ??
Giusto "i denti cariati vanno curati, non tolti!"

Offline dinox

  • Esploratore
  • **
  • Post: 92
    • Mostra profilo
Re: Commenti
« Risposta #5 il: 12 Gen 2007, 14:25:41 »
Codice: [Seleziona]
<?php defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');

/**
 * Copyright Copyright (C) 2006 Frantisek Hliva. All rights reserved.
 * License http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 *
 * !JoomlaComment 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.
 *
 * !JoomlaComment 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.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA  02110-1301, USA.
 */

require_once('utils.php');

class 
template {
    var 
$_live_site;
    var 
$_absolute_path;
    var 
$_template_path '';
    var 
$_name '';
    var 
$_title '';
    var 
$_post '';
    var 
$_search '';
    var 
$_searchResults '';
    var 
$_form '';

    function 
template($name)
    {
        
$this->_name $name;
    }

    function 
loadFromFile()
    {
        
$fileName $this->_absolute_path .'/templates/'$this->_name '/index.html';
        if (
file_exists($fileName)) {
            
$file fopen ($fileName'r');
            
$template fread ($filefilesize($fileName));
            
fclose($file);
            return 
$template;
        } else die (
'!JoomlaComment template not found: ' $this->_name);
    }

    function 
CSS()
    {
        
insertToHead('<link rel="stylesheet" href="' $this->_live_site '/templates/' $this->_name '/css/template_css.css" type="text/css" />');
    }

    function 
parse()
    {
        
$template $this->loadFromFile();
        
$this->_menu block($template'menu');
        
$this->_search block($template'search');
        
$this->_searchResults block($template'searchresults');
        
$this->_post block($template'post');
        
$this->_form block($template'form');
    }
}

?>


Questo è il file template.php

Non vorrei sbagliare ma forse il problema è che si collega alla pagina index.html invece dovrebbe essere index.php
« Ultima modifica: 12 Gen 2007, 19:02:57 da dinox »

Offline dinox

  • Esploratore
  • **
  • Post: 92
    • Mostra profilo
Re: Commenti
« Risposta #6 il: 27 Gen 2007, 18:55:14 »
nessuno sa dirmi niente?  :(

Offline Downunder

  • Appassionato
  • ***
  • Post: 633
  • Sesso: Maschio
  • Voi si che avete coraggio a vivere in Italia !!
    • Mostra profilo
Re: Commenti
« Risposta #7 il: 28 Gen 2007, 00:34:47 »
posta solo a partire dalla riga 25, se posti pure il numero delle righe fai tombola!

Offline dinox

  • Esploratore
  • **
  • Post: 92
    • Mostra profilo
Re: Commenti
« Risposta #8 il: 12 Feb 2007, 21:50:44 »

 



Web Design Bolzano Kreatif