-
AuthorPosts
-
troy Friend
troy
- Join date:
- September 2008
- Posts:
- 56
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
May 5, 2010 at 4:05 pm #150871How do i edit article details to display the following:
This Is My Wonderful Article Title That Will Get A Lot Of Attention… Not!
Wednesday, May 05, 2010 | Author’s Name | Add Comment (3)Essentially I want the article details to appear as day, date, vertical bar, author, vertical bar, link to comment area at bottom of page and number of comments the article has wrapped in parenthesis.
I’m using JA Seleni with JA Comments installed.
Any ideas would be most welcome.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 10, 2010 at 2:58 am #343091Dear troy!
i’m sorry, i could not help you resolve this issue at the moment, i informed our dev to find a solution
THanks
troy Friendtroy
- Join date:
- September 2008
- Posts:
- 56
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
May 10, 2010 at 2:08 pm #343138Thanks tienhc… meanwhile… if anyone else can anyone else offer a solution???
troy Friendtroy
- Join date:
- September 2008
- Posts:
- 56
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
May 10, 2010 at 3:14 pm #343144was thinkng… the “add comments (0)” statement appears on the category blog layout page… though not where i want it to appear…
Can anyone direct me to the code generating the add comment link on a catgory page layout?
Then direct me to the code generating the author name and date/timestamp?
I can probably copy the add comment code and paste it on the author line… correct?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 11, 2010 at 9:40 am #343210<em>@troy 177499 wrote:</em><blockquote>How do i edit article details to display the following:
This Is My Wonderful Article Title That Will Get A Lot Of Attention… Not!
Wednesday, May 05, 2010 | Author’s Name | Add Comment (3)Essentially I want the article details to appear as day, date, vertical bar, author, vertical bar, link to comment area at bottom of page and number of comments the article has wrapped in parenthesis.
I’m using JA Seleni with JA Comments installed.
Any ideas would be most welcome.</blockquote>
Hi Troy,
Please do as follows to fit your needs:
1. Goto plugin content_jacomment >> select the position of add new button: Before content ads
2. Goto file templatesja_purity_iihtmlcom_contentfrontpagedefault_item.php >> Find code line <?php echo $this->item->event->beforeDisplayContent; ?> and move it to your expected position. Add Comment (3) will be located at the position containing this code line <?php echo $this->item->event->beforeDisplayContent; ?>Kindly check and let me know for further help.
troy Friendtroy
- Join date:
- September 2008
- Posts:
- 56
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
May 17, 2010 at 3:24 pm #343839this is not working for me… in JA Seleni… here is what i’ve done:
1. set Content – JA Comment plugin position to ‘Before content ads’
2. opened templatesja_purity_iihtmlcom_contentfrontpagedefault_item.php
3. copied <?php echo $this->item->event->beforeDisplayContent; ?>
4. opened templatesja_purity_iihtmlcom_contentarticledefault.php
5. paste code (see HELLO code WORLD below):[PHP]<div class=”article-tools clearfix”>
<div class=”article-meta”>
<?php if ($this->params->get(‘show_create_date’)) : ?>
<span class=”createdate”>
<?php echo JHTML::_(‘date’, $this->article->created, JText::_(‘DATE_FORMAT_LC2’)) ?>
</span>
<?php endif; ?>
***HELLO <?php echo $this->item->event->beforeDisplayContent; ?> WORLD | ***
<?php if (($this->params->get(‘show_author’)) && ($this->article->author != “”)) : ?>
<span class=”createby”>
<?php $this->escape(JText::printf(($this->escape($this->article->created_by_alias) ? $this->escape($this->article->created_by_alias) : $this->escape($this->article->author)) )); ?>
</span>
<?php endif; ?>[/PHP]
6. only hello world is displayed
7. i tested moving to various locations and using the code on the default.php page (<?php echo $this->article->event->beforeDisplayContent; ?>)
8. also tried changing the string variables ($this->item->event->topDisplayContent;) and Content – JA Comment plugin positions
9. without successAny ideas?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 21, 2010 at 8:16 am #344241Hi Troy,
Please keep on hold and I will be back right after getting more information.
Really appreciate your great patience.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 22, 2010 at 7:37 am #344318<em>@troy 178873 wrote:</em><blockquote>this is not working for me… in JA Seleni… here is what i’ve done:
1. set Content – JA Comment plugin position to ‘Before content ads’
2. opened templatesja_purity_iihtmlcom_contentfrontpagedefault_item.php
3. copied <?php echo $this->item->event->beforeDisplayContent; ?>
4. opened templatesja_purity_iihtmlcom_contentarticledefault.php
5. paste code (see HELLO code WORLD below):[PHP]<div class=”article-tools clearfix”>
<div class=”article-meta”>
<?php if ($this->params->get(‘show_create_date’)) : ?>
<span class=”createdate”>
<?php echo JHTML::_(‘date’, $this->article->created, JText::_(‘DATE_FORMAT_LC2’)) ?>
</span>
<?php endif; ?>
***HELLO <?php echo $this->item->event->beforeDisplayContent; ?> WORLD | ***
<?php if (($this->params->get(‘show_author’)) && ($this->article->author != “”)) : ?>
<span class=”createby”>
<?php $this->escape(JText::printf(($this->escape($this->article->created_by_alias) ? $this->escape($this->article->created_by_alias) : $this->escape($this->article->author)) )); ?>
</span>
<?php endif; ?>[/PHP]
6. only hello world is displayed
7. i tested moving to various locations and using the code on the default.php page (<?php echo $this->article->event->beforeDisplayContent; ?>)
8. also tried changing the string variables ($this->item->event->topDisplayContent;) and Content – JA Comment plugin positions
9. without successAny ideas?</blockquote>
Hi Troy,
Thank you for your patience.
Regarding your questions, kindly do as follow in Template ja_purity_ii to get your expectation.
Please go to file templatesja_purity_iihtmlcom_contentfrontpagedefault_item.php
Cut the line of code <?php echo $this->item->event->beforeDisplayContent; ?> at line 125
Paste it into code line 64, under this code line :
<?php if (($this->item->params->get(‘show_author’)) && ($this->item->author != “”)) : ?>
<span class=”createby”>
<?php JText::printf(($this->item->created_by_alias ? $this->escape($this->item->created_by_alias) : $this->escape($this->item->author)) ); ?>
</span>
<?php endif; ?>Please try and get back to me for any help.
troy Friendtroy
- Join date:
- September 2008
- Posts:
- 56
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
May 22, 2010 at 3:43 pm #344329the above solution does not work… Add comments still appears under the author line… I would like it to appear beside the author… i.e.
DATE | AUTHOR | COMMENTS (0)
instead of
DATE AUTHOR
COMMENTS (0)Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 27, 2010 at 3:42 am #344867Hey troy,
Under this case, you need to add the stylesheet for COMMENTS(0), if you want it display inline with DATE | AUTHOR.
troy Friendtroy
- Join date:
- September 2008
- Posts:
- 56
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
June 14, 2010 at 4:09 pm #347018<em>@JA Developer 180163 wrote:</em><blockquote>Hey troy,
Under this case, you need to add the stylesheet for COMMENTS(0), if you want it display inline with DATE | AUTHOR.</blockquote>
ok… where do I add the stylesheet variables? On JA Comments plugin page i do not see a mod style input area.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 17, 2010 at 7:28 am #347338<em>@troy 182769 wrote:</em><blockquote>ok… where do I add the stylesheet variables? On JA Comments plugin page i do not see a mod style input area.</blockquote>
Hi there,
Please keep on hold as we are inspecting your issue and I will be back right after getting more information.
Really appreciate your great patience.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 22, 2010 at 9:08 am #347692<em>@troy 182769 wrote:</em><blockquote>ok… where do I add the stylesheet variables? On JA Comments plugin page i do not see a mod style input area.</blockquote>
Please give me your admin account and fpt account for closer look at the root of the matter.
-
AuthorPosts
This topic contains 13 replies, has 3 voices, and was last updated by Anonymous 14 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum