-
AuthorPosts
-
September 28, 2012 at 5:30 am #181020
Does anyone know how to set up a way to display an article’s category, date published, and author BUT without including those prefixes? I know how to change the global settings so that these items don’t appear (or do appear) in general but there seems to be no way to make the labels invisible or remove them…
Thanks in advance!Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 1, 2012 at 9:26 am #468714This is the customization on com_content
Open <blockquote>templates/ja_rave/html/com_content/article/default.php</blockquote>
and change code on some comments
Category: COM_CONTENT_CATEGORY
Date : COM_CONTENT_PUBLISHED_DATE
Author: COM_CONTENT_WRITTEN_BYRemove it
1 user says Thank You to Ninja Lead for this useful post
October 1, 2012 at 8:49 pm #468788OK, thanks — that worked for when the entire article is displayed. What do I do to enable display of these items when just the intro text is shown on the front page?
October 1, 2012 at 9:51 pm #468793Also, where can I change the format the created date is displayed? I’d like to use: F j, Y (ie, Month Date, Year)
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 2, 2012 at 3:30 am #468819<em>@wcw2012 340605 wrote:</em><blockquote>OK, thanks — that worked for when the entire article is displayed. What do I do to enable display of these items when just the intro text is shown on the front page?</blockquote>
Open templates/ja_rave/html/com_content/featured/default_item.php file and change the same above<em>@wcw2012 340616 wrote:</em><blockquote>Also, where can I change the format the created date is displayed? I’d like to use: F j, Y (ie, Month Date, Year)</blockquote>
This is customization work and you can add it into language file
<blockquote>Open language/en-GB/en-GB.ini file and add</blockquote>
DATE_FORMAT_CUSTOMIZE="F j, Y"
Open back both file
<blockquote>templates/ja_rave/html/com_content/article/default.php
templates/ja_rave/html/com_content/featured/default_item.php</blockquote>Replace
DATE_FORMAT_LC3
to
DATE_FORMAT_CUSTOMIZE
October 2, 2012 at 5:56 pm #468892OK, I did that and I’m still not getting these items to display when the article is just in intro format. For example see: http://www.worldcantwait.net/jupgrade/index.php/wikileaks/7986-defense-bradley-manning-s-speedy-trial-rights-have-been-trampled-upon
On the full text version they are there (and date format is customized, thank you!) but they aren’t appearing on front page:
http://www.worldcantwait.net/jupgrade/index.php?start=5Anything else I can try?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 3, 2012 at 3:51 am #468918October 8, 2012 at 4:32 am #469377You are seeing the author’s name because we’ve typed it into the body of the articles.
When you open up an article you can see the difference: it’s supposed to show the category, date and author, not italicized.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 9, 2012 at 7:22 am #469508I could not find problem from structure html of com_content.
Please check article “Defense: Bradley Manning’s Speedy Trial Rights Have Been ‘Trampled Upon’” again, because this article linked to
<blockquote><p><em>by <a href=”http://dissenter.firedoglake.com/”>Kevin Gosztola</a> </em></p></blockquote>. This link is referred to article.October 23, 2012 at 3:16 pm #470894The reason that link is there is because we added it – it’s the original source of the article.
If there’s nothing wrong with how it’s set up why isn’t it displaying on the front page? I cannot find the answer in the CSS.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 24, 2012 at 3:39 am #470926Please send pm me with admin access and ftp account. I will find other solution help you solve it
November 1, 2012 at 5:25 pm #471695I found out why these items aren’t appearing on the front page for featured articles: the default global settings had them set to be hidden. Even though we were overriding those settings when posting new articles, apparently that doesn’t affect the front page.
We can’t have the default setting be visible for author though because we have a huge amount of older articles on the site that would start using the admin user as author because we hadn’t previously been using aliases.
Is there a way to change the default alias for users so that older articles would appear as we want them and not as if “authored by admin” ?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 2, 2012 at 3:12 am #471717JA templates have option HIDE and SHOW “Main content”
<blockquote>Admin area->Extensions->Template Manager->JA_Your_Template->Profile tabs->Hide Main content block</blockquote>
You can see it.November 7, 2012 at 4:42 am #472121I don’t understand why I would want to hide the main content block? Then the featured articles would not appear on the front page, correct? I don’t want that. I want to change the alias for admins/users.
AuthorPostsViewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 2 voices, and was last updated by wcw2012 12 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum