-
AuthorPosts
-
Carlos Friend
Carlos
- Join date:
- January 2008
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 18, 2013 at 9:41 pm #184144Hello friends!
I have two questions, I hope you can help:
1. – How I can remove this link?
2. – How do I remove the black circles from the list of extra fields?, Once the dark circles disappear, how to align the text with the green line that appears in the picture?
In advance thank you very much!
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
January 19, 2013 at 9:00 am #480428Hello,
Hope these answers can help you:
1.<blockquote>How I can remove this link?</blockquote>
In order to remove link of Comment, go to this file: <blockquote>templatesja_mendozitehtmlcom_k2templatesja_mendoziteitem.php</blockquote>
Find these lines:
<div class="ItemCommentsLink">
<?php if(!empty($this->item->event->K2CommentsCounter)): ?>
<!-- K2 Plugins: K2CommentsCounter -->
<?php echo $this->item->event->K2CommentsCounter; ?>
<?php else: ?>
<?php if($this->item->numOfComments > 0): ?>
<a class="itemCommentsLink k2Anchor" href="<?php echo $this->item->link; ?>#itemCommentsAnchor">
<span><?php echo $this->item->numOfComments; ?></span> <?php echo ($this->item->numOfComments>1) ? JText::_('K2_COMMENTS') : JText::_('K2_COMMENT'); ?>
</a>
<?php else: ?>
<a class="itemCommentsLink k2Anchor" href="<?php echo $this->item->link; ?>#itemCommentsAnchor">
<?php echo JText::_('K2_BE_THE_FIRST_TO_COMMENT'); ?>
</a>
<?php endif; ?>
<?php endif; ?>
</div>Change to:
<div class="ItemCommentsLink">
<?php if($this->item->params->get('itemCommentsAnchor') && $this->item->params->get('itemComments') && ( ($this->item->params->get('comments') == '2' && !$this->user->guest) || ($this->item->params->get('comments') == '1')) ): ?>
<!-- Anchor link to comments below - if enabled --><?php if(!empty($this->item->event->K2CommentsCounter)): ?>
<!-- K2 Plugins: K2CommentsCounter -->
<?php echo $this->item->event->K2CommentsCounter; ?>
<?php else: ?>
<?php if($this->item->numOfComments > 0): ?>
<a class="itemCommentsLink k2Anchor" href="<?php echo $this->item->link; ?>#itemCommentsAnchor">
<span><?php echo $this->item->numOfComments; ?></span> <?php echo ($this->item->numOfComments>1) ? JText::_('K2_COMMENTS') : JText::_('K2_COMMENT'); ?>
</a>
<?php else: ?>
<a class="itemCommentsLink k2Anchor" href="<?php echo $this->item->link; ?>#itemCommentsAnchor">
<?php echo JText::_('K2_BE_THE_FIRST_TO_COMMENT'); ?>
</a>
<?php endif; ?>
<?php endif; ?><?php endif; ?>
</div>2. <blockquote>How do I remove the black circles from the list of extra fields?, Once the dark circles disappear, how to align the text with the green line that appears in the picture?</blockquote>
Go to this file <blockquote>templates/ja_mendozite/css/k2.css</blockquote>
Find these lines:
div.itemExtraFields ul li {
display: block;
}change to:
div.itemExtraFields ul li {
display: block;
background: none;
padding-left: 10px; >> or any value you want here
}Carlos FriendCarlos
- Join date:
- January 2008
- Posts:
- 26
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 20, 2013 at 3:26 am #480482wooooww
Thank you very much!
It worked great, just what I needed!
Best regards from Tamaulipas, Mexico!
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by Carlos 11 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Modify attributes list (K2 Extra Fields)
Viewing 3 posts - 1 through 3 (of 3 total)