Go Back   Pligg Forum > Pligg Development > Bug Report
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-09-2007, 08:28 PM
LeoNel LeoNel is offline
Pligg Donor
 
Join Date: Oct 2006
Posts: 61
Downloads: 22
Uploads: 0
Thanks: 4
Thanked 3 Times in 2 Posts
[SOLVED] Allow edit of summary

In the Admin section, when configuring the Summary option for Allow edit of summary, the expected result is that the Summary edit box is disabled when the option is set to 0.

On my site, when Allow edit of summary is set to 0, the summary box is disabled, however, every time I enter a description for a story, Internet Explorer 7 displays a error in the lower left hand corner of the browser window as 'Error on page'

Double clicking on the 'Error on page' brings up the box with more error details:

Line 183
Char 1
Error: "this.form.summarycheckbox.checked' is null or not an object
Code: 0

In Firefox, the Error Console displays error Error: this.form.summarycheckbox has no properties

Last edited by LeoNel : 09-17-2007 at 04:21 PM. Reason: More information
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-15-2007, 10:07 PM
LeoNel LeoNel is offline
Pligg Donor
 
Join Date: Oct 2006
Posts: 61
Downloads: 22
Uploads: 0
Thanks: 4
Thanked 3 Times in 2 Posts
Has anyone been able to reproduce this error?
Reply With Quote
  #3 (permalink)  
Old 10-03-2007, 08:30 PM
LeoNel LeoNel is offline
Pligg Donor
 
Join Date: Oct 2006
Posts: 61
Downloads: 22
Uploads: 0
Thanks: 4
Thanked 3 Times in 2 Posts
Has anyone been able to reproduce this error?
Reply With Quote
  #4 (permalink)  
Old 01-15-2008, 07:50 AM
LeoNel LeoNel is offline
Pligg Donor
 
Join Date: Oct 2006
Posts: 61
Downloads: 22
Uploads: 0
Thanks: 4
Thanked 3 Times in 2 Posts
This bug still exists in Pligg 9.9
Reply With Quote
  #5 (permalink)  
Old 01-19-2008, 10:36 AM
AshDigg's Avatar
AshDigg AshDigg is offline
Mayor of PliggVille
 
Join Date: Dec 2005
Posts: 1,623
Downloads: 34
Uploads: 10
Thanks: 237
Thanked 346 Times in 207 Posts
In your editlink_edit_center.tpl, replace line 54

PHP Code:
<br/><textarea name="bodytext" rows="10" cols="60" id="bodytext" WRAP=SOFT onkeyup="if(this.form.summarycheckbox.checked == false) {ldelim}this.form.summarytext.value = this.form.bodytext.value.substring(0, {$StorySummary_ContentTruncate});{rdelim}textCounter(this.form.summarytext,this.form.remLen, {$StorySummary_ContentTruncate});">{$submit_content}</textarea><br /> 
with this

PHP Code:
<br/><textarea name="bodytext" rows="10" cols="60" id="bodytext" WRAP=SOFT {if $SubmitSummary_Allow_Edit eq 1}onkeyup="if(this.form.summarycheckbox.checked == false) {ldelim}this.form.summarytext.value = this.form.bodytext.value.substring(0, {$StorySummary_ContentTruncate});{rdelim}textCounter(this.form.summarytext,this.form.remLen, {$StorySummary_ContentTruncate});"{/if}>{$submit_content}</textarea><br /> 
__________________
- Ash
Reply With Quote
  #6 (permalink)  
Old 02-06-2008, 11:56 AM
LeoNel LeoNel is offline
Pligg Donor
 
Join Date: Oct 2006
Posts: 61
Downloads: 22
Uploads: 0
Thanks: 4
Thanked 3 Times in 2 Posts
Still getting an error. Error text:

this.form.summarycheckbox has no properties
http://www.site.com/submit.php
Line 1
Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you Edit the source URL of a story after submission djdrue General Help 7 02-08-2008 03:11 AM
full story (not summary) on index page revolver General Help 2 06-24-2007 10:03 AM
Edit summary outkast General Help 0 03-04-2007 07:55 PM
Summary length change doesn't take effect Iceburg Bug Report 5 01-28-2007 02:55 PM
How can I reduce the space (padding) between "Posted By" line and the News summary sholiviks Pligg Templates 0 12-14-2006 10:53 AM


LinkBacks Enabled by vBSEO 3.0.0