Author Topic: Delite Headline field from Post comment  (Read 8012 times)

0 Members and 1 Guest are viewing this topic.

Offline milanNN

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://www.planesphotos.net
Delite Headline field from Post comment
« on: January 23, 2011, 09:50:20 PM »
Can you tell me how i can delite Headline field from Post comment?

Rembrandt

  • Guest
Re: Delite Headline field from Post comment
« Reply #1 on: January 23, 2011, 10:29:44 PM »
search in your templates:
Code: [Select]
<td valign="top"><b>{comment_headline}</b></td>remove it or comment out with <!--  -->

Offline milanNN

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://www.planesphotos.net
Re: Delite Headline field from Post comment
« Reply #2 on: January 24, 2011, 04:27:39 AM »
search in your templates:
Code: [Select]
<td valign="top"><b>{comment_headline}</b></td>remove it or comment out with <!--  -->
I removed it from comment_bit.html but get Please enter a headline.

Rembrandt

  • Guest
Re: Delite Headline field from Post comment
« Reply #3 on: January 24, 2011, 05:58:39 AM »
search in details.php:
      $msg .= (($msg != "") ? "<br />" "").$lang['headline_required'];
      
$error 1;

replace  "$error = 1" to  "$error = 0"

Offline milanNN

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://www.planesphotos.net
Re: Delite Headline field from Post comment
« Reply #4 on: January 24, 2011, 03:32:58 PM »
search in details.php:
      $msg .= (($msg != "") ? "<br />" "").$lang['headline_required'];
      
$error 1;

replace  "$error = 1" to  "$error = 0"
Thank's.

Offline milanNN

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://www.planesphotos.net
Re: Delite Headline field from Post comment
« Reply #5 on: March 17, 2011, 09:20:05 PM »
And how i can remove headline field from control panel when editing the comment?

Rembrandt

  • Guest
Re: Delite Headline field from Post comment
« Reply #6 on: March 18, 2011, 04:33:07 AM »
search and remove or comment  out  in admin/comments.php:
$comment_headline trim($HTTP_POST_VARS['comment_headline'])

if ($comment_headline == "") {
    
$error['comment_headline'] = 1;
  }

show_input_row($lang['field_headline'], "comment_headline"$comment['comment_headline'], $textinput_size);

mfg Andi

Offline milanNN

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • http://www.planesphotos.net
Re: Delite Headline field from Post comment
« Reply #7 on: March 18, 2011, 10:20:00 AM »
Thank's.