I would like add field << Title >> in your beautiful component. But I have a last problem with this developpement : {comment_title} is not replace by my value !
1. Function LoadComment in chronocomments.php (add line 63)
I checked that I had saved data in the table, this part works.
You can say me what I have forget ?
NB : If Max think this hack is interesting, I could send to him by private message or even all publish. It is not yet completely finished, particularly in the administration and also for this display problem.
As you can see I'm new here, I also began developing php. I need a little help to solve the problem that I submitted, my goal is not to bother you too.
I think what Max have doing is very good job and I prepare a parallel translation into French of the version 1.2. I am not saying this to you to help me faster, but for explain the interest that I find in ChronoComment.
I have no reponse of Max because : - he has no time to answer me ? - he has no idea ? - he don't want on his Chronocomments any changes ?
I have look all files and don't understand why I have {comment_title} and not his value.
You can help me ??
For information, I have modify this file chronocomments.class.php and inside this function
class TableChronoComments extends JTable { // Declaration and initialisation of the instantiation variable // INT(11) AUTO_INCREMENT var $id=null; var $component=null; var $pageid=null; var $parentid=null; var $userid=null; var $name=null; var $email=null; var $url=null; var $text=null; var $datetime=null; var $rating= 0; var $verify= 0; var $uniqueid= null; var $published= 0; var $title=null;
// The constructor is called by the instantiation function __construct( &$database ) { parent::__construct( '#__chrono_comments', 'id', $database ); } }
I tried to change << title >> by << mytitle >> in all the code, but this has changed nothing. I thought << title >> might be a reserved word.
i don't think it's a good function for Chrone Comment, because people just want to make a comment for the article not make a new idea for article. Wordpress is a great example, It have very great comment system with askiment, fontend public, email notify ...
i think Max want to make Chrono Comment look like worpdress comment system, so he's did not pay attention for your hack.
1. Function LoadComment in chronocomments.php (add line 63)
2. templates\comment-item.html.php (lines 9 to 11 added)
3. Screenshot
I checked that I had saved data in the table, this part works.
You can say me what I have forget ?
NB : If Max think this hack is interesting, I could send to him by private message or even all publish. It is not yet completely finished, particularly in the administration and also for this display problem.
I think what Max have doing is very good job and I prepare a parallel translation into French of the version 1.2. I am not saying this to you to help me faster, but for explain the interest that I find in ChronoComment.
- he has no time to answer me ?
- he has no idea ?
- he don't want on his Chronocomments any changes ?
I have look all files and don't understand why I have {comment_title} and not his value.
You can help me ??
For information, I have modify this file chronocomments.class.php and inside this function
I tried to change << title >> by << mytitle >> in all the code, but this has changed nothing. I thought << title >> might be a reserved word.
Please, answer me. I want to know your opinion.
Now I can look for traduction.
i think Max want to make Chrono Comment look like worpdress comment system, so he's did not pay attention for your hack.
Any way thank for a good tips.