-
AuthorPosts
-
rbeste Friend
rbeste
- Join date:
- April 2008
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
December 26, 2011 at 11:59 pm #172181I want to remove from the article labels “Created on” and “Written by” so it leaves just the Date and “By “.
You could do this In J1.5 by editing en-GB.com_content.ini and changing the line WRITTEN BY=Written by %s to WRITTEN BY=By %s
Under j1.7 those lines have been changed to:
COM_CONTENT_FIELD_CREATED_BY_ALIAS_LABEL=”Created by alias”
COM_CONTENT_FIELD_CREATED_BY_DESC=”You can change here the name of the user who created the article.”
COM_CONTENT_FIELD_CREATED_BY_LABEL=”Created by”
COM_CONTENT_FIELD_CREATED_DESC=”Created Date”
COM_CONTENT_FIELD_CREATED_LABEL=”Created Date”But editing those lines doesn’t seem to have any effect on the labels. Any guidance on this would be much appreciated.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 27, 2011 at 12:35 am #431271Are these not selectable parameters within the article configurations itself?
rbeste Friendrbeste
- Join date:
- April 2008
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
December 27, 2011 at 12:43 am #431273Hi Tom,
The article configurations allow me to disable the author and date label but I don’t want to do that. I want to have just the date instead of “Created on Date” and “By Author” instead of “Written by Author”.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 27, 2011 at 1:08 am #431276[FONT=arial]If you only want to remove the text ‘Created on’, but leave the date, you’ll need to edit the language file for your site:[/FONT]
- Navigate to /language/en-GB (given your site is using the English language).
- Edit the en-GB.com_content.ini file
- Around line 23, you should see<blockquote>
COM_CONTENT_CREATED_DATE_ON=”Created on %s”
- Change this line to read
COM_CONTENT_CREATED_DATE_ON=”%s”
</blockquote>
Save File . . . Clear Cache . . . Refresh Page​
Hope that helps
😎
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 27, 2011 at 1:12 am #431278Likewise, to change “Written By” . . . .
Change the following line as shown in the file en-GB.com_content.ini located in the directory languageen-GB.
Before change:
<blockquote>WRITTEN BY=Written by %s</blockquote>
After change:
<blockquote>WRITTEN BY=By %s</blockquote>Hope that helps
😎
rbeste Friendrbeste
- Join date:
- April 2008
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
December 27, 2011 at 1:30 am #431284Hi Tom,
Those lines are not in the en-GB.com_content.ini file under J1.7 (or at least not in the JA Rave Quickstart setup). The equivalent lines were there under J1.5, as I used them for this purpose. I’ll try adding them to the J1.7 file and see if that does the trick.
rbeste Friendrbeste
- Join date:
- April 2008
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
December 27, 2011 at 1:40 am #431286Hi Tom.
No luck. I tried adding those lines to en-GB.com_content.ini — as they are not there in J1.7 — but they had no effect. Any other suggestions much appreciated.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 27, 2011 at 2:03 am #431289<em>@rbeste 291303 wrote:</em><blockquote>I want to remove from the article labels “Created on” and “Written by” so it leaves just the Date and “By “.
You could do this In J1.5 by editing en-GB.com_content.ini and changing the line WRITTEN BY=Written by %s to WRITTEN BY=By %s
Under j1.7 those lines have been changed to:
COM_CONTENT_FIELD_CREATED_BY_ALIAS_LABEL=”Created by alias”
COM_CONTENT_FIELD_CREATED_BY_DESC=”You can change here the name of the user who created the article.”
COM_CONTENT_FIELD_CREATED_BY_LABEL=”Created by”
COM_CONTENT_FIELD_CREATED_DESC=”Created Date”
COM_CONTENT_FIELD_CREATED_LABEL=”Created Date”But editing those lines doesn’t seem to have any effect on the labels. Any guidance on this would be much appreciated.</blockquote>
When you tried to change the lines above …. and saved the changes, did you also clear your JAT3 and browser cache before refreshing your page?
1 user says Thank You to TomC for this useful post
rbeste Friendrbeste
- Join date:
- April 2008
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
December 27, 2011 at 2:13 am #431292Hi,
Yes, I’ve been clearing cache and refreshing the page every time I’ve made changes. As the line:
COM_CONTENT_FIELD_CREATED_BY_LABEL=”Created by”
doesn’t have “Written by” — which is what is displayed – I think the changes needed must somewhere else.
rbeste Friendrbeste
- Join date:
- April 2008
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 12
- Thanked:
- 1 times in 1 posts
December 30, 2011 at 2:18 am #431851Many thanks, Tom. Using your suggestions I have now cracked it.
The lines are:
19 COM_CONTENT_CREATED_DATE_ON=”Created on %s”
55 COM_CONTENT_WRITTEN_BY=”Written by %s”Change to:
19 COM_CONTENT_CREATED_DATE_ON=”%s”
55 COM_CONTENT_WRITTEN_BY=”By %s”Your help and patience much appreciated.
-
AuthorPosts
This topic contains 11 replies, has 2 voices, and was last updated by TomC 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum