-
AuthorPosts
-
LocaLiceR Friend
LocaLiceR
- Join date:
- January 2006
- Posts:
- 47
- Downloads:
- 4
- Uploads:
- 3
- Thanks:
- 8
- Thanked:
- 13 times in 1 posts
February 9, 2011 at 6:07 am #375767This issue occurs because these details are differently handled under Joomla! 1.6. In Joomla! 1.5 only the variables were used in a language definition, while in Joomla! 1.6 both the label and the variable are included in the language definition, in file /language/en-GB/en-GB.com_content.ini e.g.
COM_CONTENT_WRITTEN_BY="Written by %s"
If you delete the string ‘Written by’ from the above definition, then only the author name will be visible in article info.
That’s why I recommended to create a language override for the related language definitions, because in the case of an upgrade you will loose your modifications, unless you won’t have language overrides.
BTW, please take care of the path, the front-end en-GB.com_content.ini is affected.
April 23, 2012 at 12:44 pm #449756How to remove the word “Details”?
What we see in html:
<dt class="article-info-term">Details</dt>
Making css override in template stylesheet:
.article-info-term {
display:none;
}Done.
Winchester FriendWinchester
- Join date:
- February 2011
- Posts:
- 32
- Downloads:
- 24
- Uploads:
- 3
- Thanks:
- 2
- Thanked:
- 19 times in 6 posts
April 28, 2012 at 6:59 am #450604<em>@sharkvt 219844 wrote:</em><blockquote>Out of curiosity, why would you recommend hacking the core files of Joomla vs. utilizing the JA T3 template framework?</blockquote>
I agree… Every time you upgrade Joomla you’re going to have to do the changes all over again.
To avoid this, you should use template overrides.
Download the “default_item.php” to your computer.
Next, go to your template folder and create a folder named, “html”. This is where you will place all template overrides.
Next, create the folder, “com_content” and in there, another folder, “featured” and then upload the “default_item.php” file into the “featured” folder. You can make all the changes (overrides) to this file.
when collecting the files in sharkvt solution, be sure to create the respective folder for the respective files. You should note though that T3 does not use a “core” folder anymore. Look in the “{your_template}/html” for these files.
Make sure that with each new folder you create to place an empty “index.html” file. This will prevent anyone from viewing the files contained in the folders.
You should look through the Joomla wiki to learn more about template overrides.
Also. The easiest way to remove the word “Details” is to use CSS. Add the following to your CSS file. Best to place it at the bottom.
.article-info-term {display:none;}
To get rid of the entire line, you can do this in Article manager in Options. See attachment for screenshot.
Set everything here to “Hide”.
A quick n dirty way to do this is to use CSS.
.article-tools {display:none;}
Hope this helps.
Winchester
April 16, 2013 at 1:18 pm #490032Thanks LocaLiceR its really work.. Thanks a lot
AuthorPostsThis topic contains 19 replies, has 9 voices, and was last updated by waqarsabir 11 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum