List Info

Thread: Comment Submission yields blank page




Comment Submission yields blank page
country flaguser name
United States
2007-09-06 03:47:48
Hello,
    I am having a slight problem implementing comments on my
site. Here 
is a test page I have set up:

http://fog
horn.usfca.edu/en/2392/news/510/

As you may be able to see, any comment submission does not
go through. 
Below is the excerpt of the relevant template. I have
comments enabled 
for the issue and article type and article. The comment
count shows up 
for this article in the admin panel, but it never gets
updated. Whenever 
a comment is sent, nothing seems to happen! Any ideas for
why this might be?
Thank you very much,
Jim Cortez

----------------------------------------------------------
<!-- If articleComments enabled-->
<!** if articleComment enabled>
<center>
<div class="comments">
  <!** if articleComment submitError>
    <a name="comments">Error Submitting
Comment.</a>
  <!** endif>

  <!** list ArticleComment order byDate asc>
    <table style="border-bottom: 1px solid
black;" width="100%" 
cellspacing="0" cellpadding="0"
id="comment_<!** print ArticleComment 
identifier>">
      <tr>
              <td valign="top"
align="left" style="background-color: 
#006B24; padding: 3px;">
                      <p
class="articleComment-text"><!** print 
articlecomment subject></p>
              </td>
      </tr>
      <tr>
              <td align="left"
valign="top" style=" font-size: 8pt; 
padding: 3px;">
                      <p
class="articleComment-text">Posted <!**
print 
articlecomment submitDate "%W, %M %e, %Y">
                      by <b><!** print
articlecomment 
readerEmailObfuscated></b></p></td>
      </tr>
      <tr>
              <td valign="top"
align="left" style="padding: 3px">
                      <p
class="articleComment-text"><!** print 
articlecomment content></p>
              </td>
      </tr>
    </table>

    <script>
      document.getElementById("comment_<!** print
ArticleComment 
identifier>").style.padding-left=10*<!** print
ArticleComment level>+"px";
    </script>

    <!** ForEmptyList>
            <p class="comments">No comments
have been posted.</p>
    <!** endlist>

    <div style="padding-top: 15px;">
        <a name="comments"></a>
        <div id="articleComment">
          <!**ArticleCommentForm article.tpl "Submit
Comment" "Preview 
Comment">
            <label>Subject:</label> <!**Edit
ArticleComment subject><br />
            <label>Content:</label> <!**Edit
ArticleComment content><br />
            <label>Your Email:</label>
<!**Edit ArticleComment 
ReaderEmail><br />
            <label>Human Verification</label>
<img src="<!**Print 
CAPTCHA ImageLink>" /> <!**Edit CAPTCHA
Code><br />
            Please enter the code above to the box on the
right.<br />
          <!**EndArticleCommentForm>
        </div>
    </div>
</div>
</center>
<!** endif articleComment>
<!-- end if articleComment enabled -->
------------------------------------------------------------
----------------

Re: Comment Submission yields blank page
user name
2007-09-06 09:51:26
Hi Jim !

what Campsite version are you using?


On 9/6/07, Jim Cortez <jimjimcortez.com> wrote:
> Hello,
>     I am having a slight problem implementing comments
on my site. Here
> is a test page I have set up:
>
> http://fog
horn.usfca.edu/en/2392/news/510/
>
> As you may be able to see, any comment submission does
not go through.
> Below is the excerpt of the relevant template. I have
comments enabled
> for the issue and article type and article. The comment
count shows up
> for this article in the admin panel, but it never gets
updated. Whenever
> a comment is sent, nothing seems to happen! Any ideas
for why this might be?
> Thank you very much,
> Jim Cortez
>
>
----------------------------------------------------------
> <!-- If articleComments enabled-->
> <!** if articleComment enabled>
> <center>
> <div class="comments">
>   <!** if articleComment submitError>
>     <a name="comments">Error Submitting
Comment.</a>
>   <!** endif>
>
>   <!** list ArticleComment order byDate asc>
>     <table style="border-bottom: 1px solid
black;" width="100%"
> cellspacing="0" cellpadding="0"
id="comment_<!** print ArticleComment
> identifier>">
>       <tr>
>               <td valign="top"
align="left" style="background-color:
> #006B24; padding: 3px;">
>                       <p
class="articleComment-text"><!** print
> articlecomment subject></p>
>               </td>
>       </tr>
>       <tr>
>               <td align="left"
valign="top" style=" font-size: 8pt;
> padding: 3px;">
>                       <p
class="articleComment-text">Posted <!**
print
> articlecomment submitDate "%W, %M %e,
%Y">
>                       by <b><!** print
articlecomment
>
readerEmailObfuscated></b></p></td>
>       </tr>
>       <tr>
>               <td valign="top"
align="left" style="padding: 3px">
>                       <p
class="articleComment-text"><!** print
> articlecomment content></p>
>               </td>
>       </tr>
>     </table>
>
>     <script>
>       document.getElementById("comment_<!**
print ArticleComment
> identifier>").style.padding-left=10*<!**
print ArticleComment level>+"px";
>     </script>
>
>     <!** ForEmptyList>
>             <p class="comments">No
comments have been posted.</p>
>     <!** endlist>
>
>     <div style="padding-top: 15px;">
>         <a name="comments"></a>
>         <div id="articleComment">
>           <!**ArticleCommentForm article.tpl
"Submit Comment" "Preview
> Comment">
>             <label>Subject:</label>
<!**Edit ArticleComment subject><br />
>             <label>Content:</label>
<!**Edit ArticleComment content><br />
>             <label>Your Email:</label>
<!**Edit ArticleComment
> ReaderEmail><br />
>             <label>Human
Verification</label> <img src="<!**Print
> CAPTCHA ImageLink>" /> <!**Edit CAPTCHA
Code><br />
>             Please enter the code above to the box on
the right.<br />
>           <!**EndArticleCommentForm>
>         </div>
>     </div>
> </div>
> </center>
> <!** endif articleComment>
> <!-- end if articleComment enabled -->
>
------------------------------------------------------------
----------------
>


-- 
/holman

Re: Comment Submission yields blank page
country flaguser name
United States
2007-09-10 23:29:06
2.6.8
Thanks!
Jim

Holman Romero wrote:
> Hi Jim !
>
> what Campsite version are you using?
>
>
> On 9/6/07, Jim Cortez <jimjimcortez.com> wrote:
>   
>> Hello,
>>     I am having a slight problem implementing
comments on my site. Here
>> is a test page I have set up:
>>
>> http://fog
horn.usfca.edu/en/2392/news/510/
>>
>> As you may be able to see, any comment submission
does not go through.
>> Below is the excerpt of the relevant template. I
have comments enabled
>> for the issue and article type and article. The
comment count shows up
>> for this article in the admin panel, but it never
gets updated. Whenever
>> a comment is sent, nothing seems to happen! Any
ideas for why this might be?
>> Thank you very much,
>> Jim Cortez
>>
>>
----------------------------------------------------------
>> <!-- If articleComments enabled-->
>> <!** if articleComment enabled>
>> <center>
>> <div class="comments">
>>   <!** if articleComment submitError>
>>     <a name="comments">Error
Submitting Comment.</a>
>>   <!** endif>
>>
>>   <!** list ArticleComment order byDate asc>
>>     <table style="border-bottom: 1px solid
black;" width="100%"
>> cellspacing="0" cellpadding="0"
id="comment_<!** print ArticleComment
>> identifier>">
>>       <tr>
>>               <td valign="top"
align="left" style="background-color:
>> #006B24; padding: 3px;">
>>                       <p
class="articleComment-text"><!** print
>> articlecomment subject></p>
>>               </td>
>>       </tr>
>>       <tr>
>>               <td align="left"
valign="top" style=" font-size: 8pt;
>> padding: 3px;">
>>                       <p
class="articleComment-text">Posted <!**
print
>> articlecomment submitDate "%W, %M %e,
%Y">
>>                       by <b><!** print
articlecomment
>>
readerEmailObfuscated></b></p></td>
>>       </tr>
>>       <tr>
>>               <td valign="top"
align="left" style="padding: 3px">
>>                       <p
class="articleComment-text"><!** print
>> articlecomment content></p>
>>               </td>
>>       </tr>
>>     </table>
>>
>>     <script>
>>       document.getElementById("comment_<!**
print ArticleComment
>> identifier>").style.padding-left=10*<!**
print ArticleComment level>+"px";
>>     </script>
>>
>>     <!** ForEmptyList>
>>             <p class="comments">No
comments have been posted.</p>
>>     <!** endlist>
>>
>>     <div style="padding-top:
15px;">
>>         <a
name="comments"></a>
>>         <div id="articleComment">
>>           <!**ArticleCommentForm article.tpl
"Submit Comment" "Preview
>> Comment">
>>             <label>Subject:</label>
<!**Edit ArticleComment subject><br />
>>             <label>Content:</label>
<!**Edit ArticleComment content><br />
>>             <label>Your Email:</label>
<!**Edit ArticleComment
>> ReaderEmail><br />
>>             <label>Human
Verification</label> <img src="<!**Print
>> CAPTCHA ImageLink>" /> <!**Edit
CAPTCHA Code><br />
>>             Please enter the code above to the box
on the right.<br />
>>           <!**EndArticleCommentForm>
>>         </div>
>>     </div>
>> </div>
>> </center>
>> <!** endif articleComment>
>> <!-- end if articleComment enabled -->
>>
------------------------------------------------------------
----------------
>>
>>     
>
>
>   


Re: Comment Submission yields blank page
country flaguser name
United States
2007-09-14 01:10:37
Holman,
    Thanks for responding! It looks like things are getting
into the 
database, but not showing up. Any ideas why?
Thanks,
Jim

Holman Romero wrote:
> hi Jim !
>
> sorry for the delayed answer, we are a bit busy these
days.
> the template code you sent looks good, what about
database? are data
> successfully stored in db tables when one submit a
comment ? (even
> though comment is not shown).
>
> please, take a look at phorum_messages table in the
database and let us know.
>
> greetings,
>
>
> On 9/10/07, Jim Cortez <jimjimcortez.com> wrote:
>   
>> 2.6.8
>> Thanks!
>> Jim
>>
>> Holman Romero wrote:
>>     
>>> Hi Jim !
>>>
>>> what Campsite version are you using?
>>>
>>>
>>> On 9/6/07, Jim Cortez <jimjimcortez.com> wrote:
>>>
>>>       
>>>> Hello,
>>>>     I am having a slight problem
implementing comments on my site. Here
>>>> is a test page I have set up:
>>>>
>>>> http://fog
horn.usfca.edu/en/2392/news/510/
>>>>
>>>> As you may be able to see, any comment
submission does not go through.
>>>> Below is the excerpt of the relevant
template. I have comments enabled
>>>> for the issue and article type and article.
The comment count shows up
>>>> for this article in the admin panel, but it
never gets updated. Whenever
>>>> a comment is sent, nothing seems to happen!
Any ideas for why this might be?
>>>> Thank you very much,
>>>> Jim Cortez
>>>>
>>>>
----------------------------------------------------------
>>>> <!-- If articleComments enabled-->
>>>> <!** if articleComment enabled>
>>>> <center>
>>>> <div class="comments">
>>>>   <!** if articleComment
submitError>
>>>>     <a
name="comments">Error Submitting
Comment.</a>
>>>>   <!** endif>
>>>>
>>>>   <!** list ArticleComment order byDate
asc>
>>>>     <table style="border-bottom:
1px solid black;" width="100%"
>>>> cellspacing="0"
cellpadding="0" id="comment_<!** print
ArticleComment
>>>> identifier>">
>>>>       <tr>
>>>>               <td valign="top"
align="left" style="background-color:
>>>> #006B24; padding: 3px;">
>>>>                       <p
class="articleComment-text"><!** print
>>>> articlecomment subject></p>
>>>>               </td>
>>>>       </tr>
>>>>       <tr>
>>>>               <td align="left"
valign="top" style=" font-size: 8pt;
>>>> padding: 3px;">
>>>>                       <p
class="articleComment-text">Posted <!**
print
>>>> articlecomment submitDate "%W, %M %e,
%Y">
>>>>                       by <b><!**
print articlecomment
>>>>
readerEmailObfuscated></b></p></td>
>>>>       </tr>
>>>>       <tr>
>>>>               <td valign="top"
align="left" style="padding: 3px">
>>>>                       <p
class="articleComment-text"><!** print
>>>> articlecomment content></p>
>>>>               </td>
>>>>       </tr>
>>>>     </table>
>>>>
>>>>     <script>
>>>>      
document.getElementById("comment_<!** print
ArticleComment
>>>>
identifier>").style.padding-left=10*<!** print
ArticleComment level>+"px";
>>>>     </script>
>>>>
>>>>     <!** ForEmptyList>
>>>>             <p
class="comments">No comments have been
posted.</p>
>>>>     <!** endlist>
>>>>
>>>>     <div style="padding-top:
15px;">
>>>>         <a
name="comments"></a>
>>>>         <div
id="articleComment">
>>>>           <!**ArticleCommentForm
article.tpl "Submit Comment" "Preview
>>>> Comment">
>>>>            
<label>Subject:</label> <!**Edit
ArticleComment subject><br />
>>>>            
<label>Content:</label> <!**Edit
ArticleComment content><br />
>>>>             <label>Your
Email:</label> <!**Edit ArticleComment
>>>> ReaderEmail><br />
>>>>             <label>Human
Verification</label> <img src="<!**Print
>>>> CAPTCHA ImageLink>" />
<!**Edit CAPTCHA Code><br />
>>>>             Please enter the code above to
the box on the right.<br />
>>>>           <!**EndArticleCommentForm>
>>>>         </div>
>>>>     </div>
>>>> </div>
>>>> </center>
>>>> <!** endif articleComment>
>>>> <!-- end if articleComment enabled
-->
>>>>
------------------------------------------------------------
----------------
>>>>
>>>>
>>>>         
>>>
>>>       
>>     
>
>
>   


Re: Comment Submission yields blank page
user name
2007-10-04 21:56:19
Hi Jim !

sorry again for the delay.  i just took a look at the html
code
generated by campsite and i can see you set a hidden input
field for
tpl = 65 within the comment form, what is that template?
could you
send that file to me?

greetings,



On 9/14/07, Jim Cortez <jimjimcortez.com> wrote:
> Holman,
>     Thanks for responding! It looks like things are
getting into the
> database, but not showing up. Any ideas why?
> Thanks,
> Jim
>
> Holman Romero wrote:
> > hi Jim !
> >
> > sorry for the delayed answer, we are a bit busy
these days.
> > the template code you sent looks good, what about
database? are data
> > successfully stored in db tables when one submit a
comment ? (even
> > though comment is not shown).
> >
> > please, take a look at phorum_messages table in
the database and let us know.
> >
> > greetings,
> >
> >
> > On 9/10/07, Jim Cortez <jimjimcortez.com> wrote:
> >
> >> 2.6.8
> >> Thanks!
> >> Jim
> >>
> >> Holman Romero wrote:
> >>
> >>> Hi Jim !
> >>>
> >>> what Campsite version are you using?
> >>>
> >>>
> >>> On 9/6/07, Jim Cortez <jimjimcortez.com> wrote:
> >>>
> >>>
> >>>> Hello,
> >>>>     I am having a slight problem
implementing comments on my site. Here
> >>>> is a test page I have set up:
> >>>>
> >>>> http://fog
horn.usfca.edu/en/2392/news/510/
> >>>>
> >>>> As you may be able to see, any comment
submission does not go through.
> >>>> Below is the excerpt of the relevant
template. I have comments enabled
> >>>> for the issue and article type and
article. The comment count shows up
> >>>> for this article in the admin panel,
but it never gets updated. Whenever
> >>>> a comment is sent, nothing seems to
happen! Any ideas for why this might be?
> >>>> Thank you very much,
> >>>> Jim Cortez
> >>>>
> >>>>
----------------------------------------------------------
> >>>> <!-- If articleComments
enabled-->
> >>>> <!** if articleComment enabled>
> >>>> <center>
> >>>> <div
class="comments">
> >>>>   <!** if articleComment
submitError>
> >>>>     <a
name="comments">Error Submitting
Comment.</a>
> >>>>   <!** endif>
> >>>>
> >>>>   <!** list ArticleComment order
byDate asc>
> >>>>     <table
style="border-bottom: 1px solid black;"
width="100%"
> >>>> cellspacing="0"
cellpadding="0" id="comment_<!** print
ArticleComment
> >>>> identifier>">
> >>>>       <tr>
> >>>>               <td
valign="top" align="left"
style="background-color:
> >>>> #006B24; padding: 3px;">
> >>>>                       <p
class="articleComment-text"><!** print
> >>>> articlecomment subject></p>
> >>>>               </td>
> >>>>       </tr>
> >>>>       <tr>
> >>>>               <td
align="left" valign="top" style="
font-size: 8pt;
> >>>> padding: 3px;">
> >>>>                       <p
class="articleComment-text">Posted <!**
print
> >>>> articlecomment submitDate "%W, %M
%e, %Y">
> >>>>                       by
<b><!** print articlecomment
> >>>>
readerEmailObfuscated></b></p></td>
> >>>>       </tr>
> >>>>       <tr>
> >>>>               <td
valign="top" align="left"
style="padding: 3px">
> >>>>                       <p
class="articleComment-text"><!** print
> >>>> articlecomment content></p>
> >>>>               </td>
> >>>>       </tr>
> >>>>     </table>
> >>>>
> >>>>     <script>
> >>>>      
document.getElementById("comment_<!** print
ArticleComment
> >>>>
identifier>").style.padding-left=10*<!** print
ArticleComment level>+"px";
> >>>>     </script>
> >>>>
> >>>>     <!** ForEmptyList>
> >>>>             <p
class="comments">No comments have been
posted.</p>
> >>>>     <!** endlist>
> >>>>
> >>>>     <div style="padding-top:
15px;">
> >>>>         <a
name="comments"></a>
> >>>>         <div
id="articleComment">
> >>>>           <!**ArticleCommentForm
article.tpl "Submit Comment" "Preview
> >>>> Comment">
> >>>>            
<label>Subject:</label> <!**Edit
ArticleComment subject><br />
> >>>>            
<label>Content:</label> <!**Edit
ArticleComment content><br />
> >>>>             <label>Your
Email:</label> <!**Edit ArticleComment
> >>>> ReaderEmail><br />
> >>>>             <label>Human
Verification</label> <img src="<!**Print
> >>>> CAPTCHA ImageLink>" />
<!**Edit CAPTCHA Code><br />
> >>>>             Please enter the code
above to the box on the right.<br />
> >>>>          
<!**EndArticleCommentForm>
> >>>>         </div>
> >>>>     </div>
> >>>> </div>
> >>>> </center>
> >>>> <!** endif articleComment>
> >>>> <!-- end if articleComment enabled
-->
> >>>>
------------------------------------------------------------
----------------
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >
> >
> >
>
>


-- 
/holman

Re: Comment Submission yields blank page
country flaguser name
United States
2007-10-07 18:30:35
No problem with the delay! That template does not seem to
exist, should 
it? Do you happen to know where that hidden field is
generated?
Thanks,
Jim

Holman Romero wrote:
> Hi Jim !
>
> sorry again for the delay.  i just took a look at the
html code
> generated by campsite and i can see you set a hidden
input field for
> tpl = 65 within the comment form, what is that
template? could you
> send that file to me?
>
> greetings,
>
>
>
> On 9/14/07, Jim Cortez <jimjimcortez.com> wrote:
>   
>> Holman,
>>     Thanks for responding! It looks like things are
getting into the
>> database, but not showing up. Any ideas why?
>> Thanks,
>> Jim
>>
>> Holman Romero wrote:
>>     
>>> hi Jim !
>>>
>>> sorry for the delayed answer, we are a bit busy
these days.
>>> the template code you sent looks good, what
about database? are data
>>> successfully stored in db tables when one
submit a comment ? (even
>>> though comment is not shown).
>>>
>>> please, take a look at phorum_messages table in
the database and let us know.
>>>
>>> greetings,
>>>
>>>
>>> On 9/10/07, Jim Cortez <jimjimcortez.com> wrote:
>>>
>>>       
>>>> 2.6.8
>>>> Thanks!
>>>> Jim
>>>>
>>>> Holman Romero wrote:
>>>>
>>>>         
>>>>> Hi Jim !
>>>>>
>>>>> what Campsite version are you using?
>>>>>
>>>>>
>>>>> On 9/6/07, Jim Cortez <jimjimcortez.com> wrote:
>>>>>
>>>>>
>>>>>           
>>>>>> Hello,
>>>>>>     I am having a slight problem
implementing comments on my site. Here
>>>>>> is a test page I have set up:
>>>>>>
>>>>>> http://fog
horn.usfca.edu/en/2392/news/510/
>>>>>>
>>>>>> As you may be able to see, any
comment submission does not go through.
>>>>>> Below is the excerpt of the
relevant template. I have comments enabled
>>>>>> for the issue and article type and
article. The comment count shows up
>>>>>> for this article in the admin
panel, but it never gets updated. Whenever
>>>>>> a comment is sent, nothing seems to
happen! Any ideas for why this might be?
>>>>>> Thank you very much,
>>>>>> Jim Cortez
>>>>>>
>>>>>>
----------------------------------------------------------
>>>>>> <!-- If articleComments
enabled-->
>>>>>> <!** if articleComment
enabled>
>>>>>> <center>
>>>>>> <div
class="comments">
>>>>>>   <!** if articleComment
submitError>
>>>>>>     <a
name="comments">Error Submitting
Comment.</a>
>>>>>>   <!** endif>
>>>>>>
>>>>>>   <!** list ArticleComment order
byDate asc>
>>>>>>     <table
style="border-bottom: 1px solid black;"
width="100%"
>>>>>> cellspacing="0"
cellpadding="0" id="comment_<!** print
ArticleComment
>>>>>> identifier>">
>>>>>>       <tr>
>>>>>>               <td
valign="top" align="left"
style="background-color:
>>>>>> #006B24; padding: 3px;">
>>>>>>                       <p
class="articleComment-text"><!** print
>>>>>> articlecomment
subject></p>
>>>>>>               </td>
>>>>>>       </tr>
>>>>>>       <tr>
>>>>>>               <td
align="left" valign="top" style="
font-size: 8pt;
>>>>>> padding: 3px;">
>>>>>>                       <p
class="articleComment-text">Posted <!**
print
>>>>>> articlecomment submitDate "%W,
%M %e, %Y">
>>>>>>                       by
<b><!** print articlecomment
>>>>>>
readerEmailObfuscated></b></p></td>
>>>>>>       </tr>
>>>>>>       <tr>
>>>>>>               <td
valign="top" align="left"
style="padding: 3px">
>>>>>>                       <p
class="articleComment-text"><!** print
>>>>>> articlecomment
content></p>
>>>>>>               </td>
>>>>>>       </tr>
>>>>>>     </table>
>>>>>>
>>>>>>     <script>
>>>>>>      
document.getElementById("comment_<!** print
ArticleComment
>>>>>>
identifier>").style.padding-left=10*<!** print
ArticleComment level>+"px";
>>>>>>     </script>
>>>>>>
>>>>>>     <!** ForEmptyList>
>>>>>>             <p
class="comments">No comments have been
posted.</p>
>>>>>>     <!** endlist>
>>>>>>
>>>>>>     <div
style="padding-top: 15px;">
>>>>>>         <a
name="comments"></a>
>>>>>>         <div
id="articleComment">
>>>>>>           <!**ArticleCommentForm
article.tpl "Submit Comment" "Preview
>>>>>> Comment">
>>>>>>            
<label>Subject:</label> <!**Edit
ArticleComment subject><br />
>>>>>>            
<label>Content:</label> <!**Edit
ArticleComment content><br />
>>>>>>             <label>Your
Email:</label> <!**Edit ArticleComment
>>>>>> ReaderEmail><br />
>>>>>>             <label>Human
Verification</label> <img src="<!**Print
>>>>>> CAPTCHA ImageLink>" />
<!**Edit CAPTCHA Code><br />
>>>>>>             Please enter the code
above to the box on the right.<br />
>>>>>>          
<!**EndArticleCommentForm>
>>>>>>         </div>
>>>>>>     </div>
>>>>>> </div>
>>>>>> </center>
>>>>>> <!** endif articleComment>
>>>>>> <!-- end if articleComment
enabled -->
>>>>>>
------------------------------------------------------------
----------------
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>>           
>>>
>>>       
>>     
>
>
>   


Re: Comment Submission yields blank page
user name
2007-10-08 09:14:39
hi Jim !
let's try by changing this (in your template):

       <div id="articleComment">
         <!**ArticleCommentForm article.tpl "Submit
Comment" "Preview
Comment">
           <label>Subject:</label> <!**Edit
ArticleComment subject><br />
           <label>Content:</label> <!**Edit
ArticleComment content><br />
           <label>Your Email:</label>
<!**Edit ArticleComment
ReaderEmail><br />
           <label>Human Verification</label>
<img src="<!**Print
CAPTCHA ImageLink>" /> <!**Edit CAPTCHA
Code><br />
           Please enter the code above to the box on the
right.<br />
         <!**EndArticleCommentForm>
       </div>

to:

<div class="articleComment">
<form name="articleComment"
action="<!** URI template article.tpl> "
method="post">
<input type="hidden"
name="IdLanguage" value="<!** print
language number>" />
<input type="hidden"
name="IdPublication" value="<!** print
publication identifier>" />
<input type="hidden" name="NrIssue"
value="<!** print issue number>" />
<input type="hidden" name="NrSection"
value="<!** print section number>" />
<input type="hidden" name="NrArticle"
value="<!** print article number>" />

<label
for="CommentSubject">Subject:</label>
<input type="text"
name="CommentSubject"
id="CommentSubject"
maxlength="255" size="30"
value="" class="formInputText"
/><br/>

<label
for="CommentContent">Comment:</label>
<textarea name="CommentContent"
id="CommentContent" cols="30"
rows="6"></textarea><br/>

<label
for="CommentReaderEMail">Name/email:</label&
gt;
<input type="text"
name="CommentReaderEMail"
id="CommentReaderEMail"
maxlength="255" size="30"
value="<!** print articleComment
readerEmailPreview>" class="formInputText"
/><br/>

<label for="f_captcha_code">Type in this
code:</label>
<input type="text"
name="f_captcha_code"
id="f_captcha_code"
maxlength="255" size="10"
class="formInputText" /><br/><img
src="<!**
Print CAPTCHA ImageLink >" alt="captcha
image" class="captcha" /><br/>

<input type="submit"
name="submitComment" class="button"
id="articleCommentSubmit" value="Submit
comment"
style="clear:left;margin:0 0 0 135px;"/>
</form>
</div>

... and, as always, let us know if it works  

greetings.



On 10/7/07, Jim Cortez <jimjimcortez.com> wrote:
> No problem with the delay! That template does not seem
to exist, should
> it? Do you happen to know where that hidden field is
generated?
> Thanks,
> Jim
>
> Holman Romero wrote:
> > Hi Jim !
> >
> > sorry again for the delay.  i just took a look at
the html code
> > generated by campsite and i can see you set a
hidden input field for
> > tpl = 65 within the comment form, what is that
template? could you
> > send that file to me?
> >
> > greetings,
> >
> >
> >
> > On 9/14/07, Jim Cortez <jimjimcortez.com> wrote:
> >
> >> Holman,
> >>     Thanks for responding! It looks like
things are getting into the
> >> database, but not showing up. Any ideas why?
> >> Thanks,
> >> Jim
> >>
> >> Holman Romero wrote:
> >>
> >>> hi Jim !
> >>>
> >>> sorry for the delayed answer, we are a bit
busy these days.
> >>> the template code you sent looks good,
what about database? are data
> >>> successfully stored in db tables when one
submit a comment ? (even
> >>> though comment is not shown).
> >>>
> >>> please, take a look at phorum_messages
table in the database and let us know.
> >>>
> >>> greetings,
> >>>
> >>>
> >>> On 9/10/07, Jim Cortez <jimjimcortez.com> wrote:
> >>>
> >>>
> >>>> 2.6.8
> >>>> Thanks!
> >>>> Jim
> >>>>
> >>>> Holman Romero wrote:
> >>>>
> >>>>
> >>>>> Hi Jim !
> >>>>>
> >>>>> what Campsite version are you
using?
> >>>>>
> >>>>>
> >>>>> On 9/6/07, Jim Cortez <jimjimcortez.com> wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>> Hello,
> >>>>>>     I am having a slight
problem implementing comments on my site. Here
> >>>>>> is a test page I have set up:
> >>>>>>
> >>>>>> http://fog
horn.usfca.edu/en/2392/news/510/
> >>>>>>
> >>>>>> As you may be able to see, any
comment submission does not go through.
> >>>>>> Below is the excerpt of the
relevant template. I have comments enabled
> >>>>>> for the issue and article type
and article. The comment count shows up
> >>>>>> for this article in the admin
panel, but it never gets updated. Whenever
> >>>>>> a comment is sent, nothing
seems to happen! Any ideas for why this might be?
> >>>>>> Thank you very much,
> >>>>>> Jim Cortez
> >>>>>>
> >>>>>>
----------------------------------------------------------
> >>>>>> <!-- If articleComments
enabled-->
> >>>>>> <!** if articleComment
enabled>
> >>>>>> <center>
> >>>>>> <div
class="comments">
> >>>>>>   <!** if articleComment
submitError>
> >>>>>>     <a
name="comments">Error Submitting
Comment.</a>
> >>>>>>   <!** endif>
> >>>>>>
> >>>>>>   <!** list ArticleComment
order byDate asc>
> >>>>>>     <table
style="border-bottom: 1px solid black;"
width="100%"
> >>>>>> cellspacing="0"
cellpadding="0" id="comment_<!** print
ArticleComment
> >>>>>> identifier>">
> >>>>>>       <tr>
> >>>>>>               <td
valign="top" align="left"
style="background-color:
> >>>>>> #006B24; padding:
3px;">
> >>>>>>                       <p
class="articleComment-text"><!** print
> >>>>>> articlecomment
subject></p>
> >>>>>>               </td>
> >>>>>>       </tr>
> >>>>>>       <tr>
> >>>>>>               <td
align="left" valign="top" style="
font-size: 8pt;
> >>>>>> padding: 3px;">
> >>>>>>                       <p
class="articleComment-text">Posted <!**
print
> >>>>>> articlecomment submitDate
"%W, %M %e, %Y">
> >>>>>>                       by
<b><!** print articlecomment
> >>>>>>
readerEmailObfuscated></b></p></td>
> >>>>>>       </tr>
> >>>>>>       <tr>
> >>>>>>               <td
valign="top" align="left"
style="padding: 3px">
> >>>>>>                       <p
class="articleComment-text"><!** print
> >>>>>> articlecomment
content></p>
> >>>>>>               </td>
> >>>>>>       </tr>
> >>>>>>     </table>
> >>>>>>
> >>>>>>     <script>
> >>>>>>      
document.getElementById("comment_<!** print
ArticleComment
> >>>>>>
identifier>").style.padding-left=10*<!** print
ArticleComment level>+"px";
> >>>>>>     </script>
> >>>>>>
> >>>>>>     <!** ForEmptyList>
> >>>>>>             <p
class="comments">No comments have been
posted.</p>
> >>>>>>     <!** endlist>
> >>>>>>
> >>>>>>     <div
style="padding-top: 15px;">
> >>>>>>         <a
name="comments"></a>
> >>>>>>         <div
id="articleComment">
> >>>>>>          
<!**ArticleCommentForm article.tpl "Submit
Comment" "Preview
> >>>>>> Comment">
> >>>>>>            
<label>Subject:</label> <!**Edit
ArticleComment subject><br />
> >>>>>>            
<label>Content:</label> <!**Edit
ArticleComment content><br />
> >>>>>>             <label>Your
Email:</label> <!**Edit ArticleComment
> >>>>>> ReaderEmail><br />
> >>>>>>             <label>Human
Verification</label> <img src="<!**Print
> >>>>>> CAPTCHA ImageLink>"
/> <!**Edit CAPTCHA Code><br />
> >>>>>>             Please enter the
code above to the box on the right.<br />
> >>>>>>          
<!**EndArticleCommentForm>
> >>>>>>         </div>
> >>>>>>     </div>
> >>>>>> </div>
> >>>>>> </center>
> >>>>>> <!** endif
articleComment>
> >>>>>> <!-- end if articleComment
enabled -->
> >>>>>>
------------------------------------------------------------
----------------
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>
> >>>
> >>
> >
> >
> >
>
>


-- 
/holman

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )