1 kutupiilu Jan 19, 2009 17:02
3 edb Jan 20, 2009 01:19
Here's the "is it plugged in" question: are comments allowed? If so then John is spot-on. You can try changing skins and see if a post where comments are allowed gets a comment link. evopress or custom are the ones you should switch to for testing purposes. Anyway if you know comments are allowed and you get the "comments" button then for sure it is your skin.
4 kutupiilu Jan 20, 2009 19:46
Jeap. It's skin problem. How to fix it? :)
Yes there is missing _item_comment.inc.php
5 john Jan 20, 2009 22:56
Ok, so look at the other skins, find one with _item_comment.inc.php, copy that file into your NaturalRemedy skin folder.
6 edb Jan 21, 2009 03:38
um...
if the skin asks for the comment file it should find it in the /skins/ folder after not finding it in the /skins/yourskin/ folder, so doesn't this mean a hack to the index.main.php (and possibly other) file(s) is required? Like adding the code that asks for the comment file?
7 john Jan 21, 2009 03:50
In that skin's index.main.php it has this call...
<?php
// ------------------ FEEDBACK (COMMENTS/TRACKBACKS) INCLUDED HERE ------------------
skin_include( '_item_feedback.inc.php', array(
'before_section_title' => '<h4>',
'after_section_title' => '</h4>',
) );
// Note: You can customize the default item feedback by copying the generic
// /skins/_item_feedback.inc.php file into the current skin folder.
// ---------------------- END OF FEEDBACK (COMMENTS/TRACKBACKS) ---------------------
?>
Try _item_feedback.inc.php as well !!
8 edb Jan 21, 2009 03:56
But still if it isn't in the actual skin it should grab it from the "skin root" right?
Aw crap I should just look at the skin. brb...
9 edb Jan 21, 2009 03:58
Okay that skin is broken.
10 edb Jan 21, 2009 04:01
In your SuperLongNameForASkin skin folder open your index.main.php file and look for this bit:
<!-- You can follow any responses to this entry through the RSS feed. -->
<?php
$Item->edit_link( array( // Link to backoffice for editing
'before' => '',
'after' => '',
) );
?>
</div>
Now change it to look like this instead:
<!-- You can follow any responses to this entry through the RSS feed. -->
<?php
$Item->edit_link( array( // Link to backoffice for editing
'before' => '',
'after' => '',
) );
// Link to comments, trackbacks, etc.:
$Item->feedback_link( array(
'type' => 'comments',
'link_before' => '',
'link_after' => ' ',
'link_text_zero' => '#',
'link_text_one' => '#',
'link_text_more' => '#',
'link_title' => '#',
'use_popup' => false,
) ); ?>
</div>
No need to add files to your skin's actual folder, though if you want to customize stuff then yeah you add the file and tweak it to suit your needs.
11 john Jan 21, 2009 04:02
It is a pretty minimal set up.
It might look good but has very little "file" substance :)
Seems like a "Skin" issue to me.
index.main.php seems to be asking for, yet you may be missing _item_comment.inc.php
Is that file in your skins folder?