Castor
Newbie
Karma: 0
Offline
Posts: 6
|
 |
« on: December 31, 2009, 19:16:18 » |
|
I use Jcomments and it's best comment component i've ever seen!  But now i have a problem: In the file /components/com_jcomments/tpl/default/tpl_links.php i have the definition of how the comments link is displayed. Now in a usual joomla blog frontpage the Link to the comments is displayed AFTER the whole text. Now i want the Links to be displayed BEFORE the text: Between title of article and text of the title. Can you help me how to work this out? Because in fact somewhere in any code must be something, that loads the tpl_links.php file... But i did not find the right place...  Thank you already very much! 
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #1 on: January 02, 2010, 02:25:40 » |
|
You can setup this in Content - JComments plugin parameters - there is parameter named "Links Position" and it has 2 possible values: Before article and After article. By default these links are displayed after the article text. But you can easy change that.
|
|
|
|
|
Logged
|
|
|
|
Castor
Newbie
Karma: 0
Offline
Posts: 6
|
 |
« Reply #2 on: January 03, 2010, 19:25:04 » |
|
Very very nice!  Thank you MUCH 
|
|
|
|
|
Logged
|
|
|
|
Hivvu
Newbie
Karma: 0
Offline
Posts: 6
|
 |
« Reply #3 on: June 04, 2010, 16:50:17 » |
|
Hi there!
i have the same problem, i already put the option before article, but i want to put the comments link where joomla have the edit button, pdf button etc, in the same line as the title. how can i do that?
i appreciate your help
|
|
|
|
|
Logged
|
|
|
|
Castor
Newbie
Karma: 0
Offline
Posts: 6
|
 |
« Reply #4 on: August 30, 2010, 23:33:53 » |
|
Hi there!
i have the same problem, i already put the option before article, but i want to put the comments link where joomla have the edit button, pdf button etc, in the same line as the title. how can i do that?
i appreciate your help
well you have to change the source code to do this. Can you do this, if not i'll help you. (float: right)
|
|
|
|
|
Logged
|
|
|
|
gregy1403
Newbie
Karma: 0
Offline
Posts: 7
|
 |
« Reply #5 on: September 08, 2010, 22:14:56 » |
|
hi please would you mind to tell me how to make them appear right? As you can see in first article at www.balonarstvo.com link for More and Add comments appear below picture .. if thay would be positioned right it would be under article... Thank you!!!
|
|
|
|
|
Logged
|
|
|
|
gregy1403
Newbie
Karma: 0
Offline
Posts: 7
|
 |
« Reply #6 on: September 09, 2010, 02:19:21 » |
|
huh .. found in other topic .. had to change css file. Now i want another thing. Button More (joomla style) to appear above "Add comment" ... any idea?
Thank you!
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #7 on: September 09, 2010, 15:08:38 » |
|
Button More (joomla style) to appear above "Add comment" ... any idea? This is normal. Because if you're using Joomla's readmore link it displayed in different table row. So it shown on other row. If you want to see these links in one line you need to switch style to JComments. If you want reamore link to look with Joomla's css - just fill appropriate class name in plugin settings for that link.
|
|
|
|
|
Logged
|
|
|
|
gregy1403
Newbie
Karma: 0
Offline
Posts: 7
|
 |
« Reply #8 on: September 09, 2010, 15:13:02 » |
|
Thank you .. so i guess it's up to me to dig into code and find that row and play little with that ..
Thanks again!
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #9 on: September 09, 2010, 15:14:19 » |
|
You're welcome! Feel free to contact me if something goes wrong.
|
|
|
|
|
Logged
|
|
|
|
gregy1403
Newbie
Karma: 0
Offline
Posts: 7
|
 |
« Reply #10 on: September 10, 2010, 22:25:02 » |
|
Can't find where to edit  Since i'm no programmer those php endif div are killing me  Would you please mind to see where can i edit this? I just would like to put Readmore button below the article and above Add Comment line Thank you!
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #11 on: September 10, 2010, 23:50:28 » |
|
Try next solution: 1. Open file /components/com_jcomments/tpl/default/tpl_links.php and replace code: <div class="jcomments-links"><?php echo $readmoreLink; ?> <?php echo $commentsLink; ?> <?php echo $hitsCount; ?></div> with <div class="jcomments-links"><?php echo $readmoreLink; ?><br /><?php echo $commentsLink; ?></div> 2. Open Content - JComments plugin and set Readmore style to JComments 3. Open Content - JComments plugin and set Readmore Link CSS to readon (this is default Joomla class for readmore link).
|
|
|
|
|
Logged
|
|
|
|
gregy1403
Newbie
Karma: 0
Offline
Posts: 7
|
 |
« Reply #12 on: September 11, 2010, 00:16:10 » |
|
thank you .. i made some changes .. that <br > did the trick, now we have some fine tuning .. as you can see our first article at www.balonarstvo.com has now huge gap under picture. Does the first article have it's own code? To make this gap smaller somehow. Those 3 articles below are just perfect! Thank you a lot for your time and help!
|
|
|
|
|
Logged
|
|
|
|
gregy1403
Newbie
Karma: 0
Offline
Posts: 7
|
 |
« Reply #13 on: September 28, 2010, 00:02:46 » |
|
Smart .. have a minute for me? 
|
|
|
|
|
Logged
|
|
|
|
|
smart
|
 |
« Reply #14 on: September 28, 2010, 00:28:38 » |
|
To make this gap smaller somehow. Those 3 articles below are just perfect! Open file /components/com_jcomments/tpl/default/style.css and replace: .jcomments-links {margin-top: 10px; clear:both; text-align: left} with .jcomments-links {margin-top: 10px; text-align: left} And all would be fine 
|
|
|
|
|
Logged
|
|
|
|
|