Can I get any help with making a comment? When a user makes a comment and clicks on "Add comment" button, it can't find the page, and the comment information doesn't go to the database.
EDIT: Ok, I sorta fixed it, but the info STILL doesn't go to the database. It just goes to the main Journal page. This is the link I have in the journal_comments template.
Quote:
<form action="journal.php?journalid=$journal[journalid]&action=addcomments" method="post" onSubmit="return validate(this)">
|
This is the form code in the journal_commentnewbit template
Quote:
<input type="hidden" name="userid" value="$userid" border="0"><input type="hidden" name="journalid" value="$journalid" border="0"><input type="hidden" name="s" value="journal.php?s=$session[sessionhash]&journalid=$journal[journalid]&action=view" border="0"><input class="bginput" type="submit" name="submit_add_comment" value="Add Comment" tabindex="7" accesskey="s" border="0">
|
What do I have wrong? Yes I did edit it to try to fix it, but no use.
EDIT II: Nevermind, fixed it, I just deleted the templates and reinstalled just the template section. Turned out to be one stupid thing that was missing. >_>;
EDIT III: Working very very very well now, no probs as of yet this time. ^^;
EDIT IV: Just thought of this, (so many EDITs, huh? o.O; ). Is there a way to add attachments to entries? I'd really like that add-on.