[SOLVED] Allow edit of summary

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-09-2007, 10:28 PM
Pligg Donor
 
Join Date: Oct 2006
Posts: 52
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 06:21 PM. Reason: More information
Reply With Quote
  #2 (permalink)  
Old 09-16-2007, 12:07 AM
Pligg Donor
 
Join Date: Oct 2006
Posts: 52
Has anyone been able to reproduce this error?
Reply With Quote
  #3 (permalink)  
Old 10-03-2007, 10:30 PM
Pligg Donor
 
Join Date: Oct 2006
Posts: 52
Has anyone been able to reproduce this error?
Reply With Quote
  #4 (permalink)  
Old 01-15-2008, 09:50 AM
Pligg Donor
 
Join Date: Oct 2006
Posts: 52
This bug still exists in Pligg 9.9
Reply With Quote
  #5 (permalink)  
Old 01-19-2008, 12:36 PM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
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 /> 
Reply With Quote
  #6 (permalink)  
Old 02-06-2008, 01:56 PM
Pligg Donor
 
Join Date: Oct 2006
Posts: 52
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Video Thumbnail Preview in link summary channelztv Questions and Comments 4 12-24-2008 04:52 PM
When you edit a link, whatever the summary is, it's replaced by the full text VictorML Questions and Comments 0 07-27-2008 11:57 AM
[SOLVED] can't edit config in admin area mike34z Questions and Comments 4 08-25-2007 01:33 AM
[SOLVED] Where do I edit the welcome email and message? AshMCairo Questions and Comments 1 07-23-2007 03:00 PM
Adding rn to summary; edit = no preview warefare Questions and Comments 0 07-19-2007 04:10 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development