Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • LocaLiceR Friend
    #375767

    This 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.

    spawnua Friend
    #449756

    How 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 Friend
    #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


    1. Article-Options

    Best regards,
    H. Winchester Lyon

    waqarsabir Friend
    #490032

    Thanks LocaLiceR its really work.. Thanks a lot

Viewing 4 posts - 16 through 19 (of 19 total)

This topic contains 19 replies, has 9 voices, and was last updated by  waqarsabir 11 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum