Results 1 to 5 of 5

Thread: [Solved] Template for the news comment

  1. #1
    User
    Join Date
    08-15-09.
    Location
    Sweden
    Posts
    82

    Default [Solved] Template for the news comment

    Hi,
    I'm using the comment function on a news archive. What template should I use to edit the appearance of the comment form?

    The com_default.tpl changes the actual comments. So far so good. But I want to also edit the code for the form and the headline. I have found another template, ce_comment.tpl but this template is for what I can see not used in the news archive.

    What template should I use?

  2. #2
    User
    Join Date
    06-27-09.
    Location
    Ljusne, Sweden
    Posts
    59

    Default Re: Template for the news comment

    If you want to edit the form, ce_comments.tpl should be the one you're looking for.
    And com_default.tpl is for the comments.

  3. #3
    User
    Join Date
    08-15-09.
    Location
    Sweden
    Posts
    82

    Default Re: Template for the news comment

    If I edit the ce_comments.tpl it will only affect comment forms that is published as a content element or as a module. But the comment form that is attached to a news item, will not be affected. :?

    Any more ideas which template I should be looking for?

  4. #4
    User
    Join Date
    06-27-09.
    Location
    Ljusne, Sweden
    Posts
    59

    Default Re: Template for the news comment

    You're absolutely right! I was a bit to quick answering your post, sorry... :?

    The template mod_newsreader.tpl is the one you're looking for! At the very end of that template you'll find the code for comments.
    The corresponding template for the calendar module is mod_event.tpl.

  5. #5
    User
    Join Date
    08-15-09.
    Location
    Sweden
    Posts
    82

    Default Re: Template for the news comment

    Thank you very much! :D

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •