4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 17, 2017, 03:19:32 PM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Help / Hilfe
| |-+  FAQ, Tips
| | |-+  How i can delete Headline field from post comment
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: How i can delete Headline field from post comment  (Read 19804 times)
Rembrandt
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4187

Thank You
-Given: 116
-Receive: 896

Vienna


View Profile WWW
« on: July 18, 2011, 05:33:53 AM »

1.) search in templates/yourTemplates/comment_form.html:
1
2
3
4
               <tr>
                  <td width="90"><b>{lang_headline}</b></td>
                  <td><input type="text" name="comment_headline" size="30" value="{comment_headline}" class="commentinput" /></td>
                </tr>
remove it or comment out with <!--  -->

2.) search in templates/yourTemplates/member_editcomment.html:
1
2
3
4
5
6
          <tr
            <
td class="row2"><b>{lang_headline}</b></td>
            <
td class="row2"
              <
input type="text" name="comment_headline" size="30" value="{comment_headline}" class="commentinput" />
            </
td>
          </
tr
remove it or comment out with <!--  -->

3.) search in details.php:
1
2
      $msg .= (($msg != "") ? "<br />" "").$lang['headline_required'];
      
$error 1;
replace:
1
2
      $msg .= (($msg != "") ? "<br />" "").$lang['headline_required'];
      
$error 0;

4.) search in member.php:
1
2
  if ($comment_headline == "")  {
    
$error 1;
replace:
1
2
  if ($comment_headline == "")  {
    
$error 0;

5.) search and remove the follow lines or comment out with <!--  --> in admin/comments.php:
1
$comment_headline trim($HTTP_POST_VARS['comment_headline']);
1
2
3
if ($comment_headline == "") {
    
$error['comment_headline'] = 1;
  }
1
show_input_row($lang['field_headline'], "comment_headline"$comment['comment_headline'], $textinput_size);

mfg Andi
« Last Edit: July 21, 2011, 03:01:54 PM by Rembrandt » Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.163 seconds with 19 queries.
Post your comments here