Тема в коментариях

Главные вкладки

Аватар пользователя Zinchenko Zinchenko 6 мая 2011 в 1:29

Здраствуйте! Подскажите пожалуйста как убрать тему в коментариях, я в типах содержимогу отключил показывать тему, но он всеравно первые слова текста ставит в название темы, потом я зашол в comment.tpl.php и удалил

<?php print $title ?>

. Что я нетак делаю??? всеравно показывае первые слова в назв темы(((((

Комментарии

Аватар пользователя Zinchenko Zinchenko 6 мая 2011 в 22:53

да вроде сбросил но может подскажите свой способ сброса может я неправельно чета делаю, помогите плиз так раздражает эта фигня((((

Аватар пользователя Zinchenko Zinchenko 6 мая 2011 в 23:24

Вот все что в осталось

comment.tpl.php:

<?php
// $Id: comment.tpl.php,v 1.4.2.1 2008/03/21 21:58:28 goba Exp $

/**
* file comment.tpl.php
* Default theme implementation for comments.
*
* Available variables:
* - $author: Comment author. Can be link or plain text.
* - $content: Body of the post.
* - $date: Date and time of posting.
* - $links: Various operational links.
* - $new: New comment marker.
* - $picture: Authors picture.
* - $signature: Authors signature.
* - $status: Comment status. Possible values are:
* comment-unpublished, comment-published or comment-preview.
* - $submitted: By line with date and time.
* - $title: Linked title.
*
* These two variables are provided for context.
* - $comment: Full comment object.
* - $node: Node object the comments are attached to.
*
* see template_preprocess_comment()
* see theme_comment()
*/
?>

new) ? ' comment-new' : ''; print ' '. $status ?> clear-block">
<?php print $picture ?>

<?php if ($comment->new): ?>
<?php print $new ?>
<?php endif; ?>

<?php print $content ?>
<?php if ($signature): ?>
<?php print $signature ?>

<?php endif; ?>

<?php print $links ?>