test
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • ithacaindy Friend
    #159263

    The only way I’ve found to get rid of the “Details” text in the article byline is to turn off everything, including the author name. How can I still display the author’s name in articles but remove the Details bit?

    (This is with Joomla 1.6 only)

    Sherlock Friend
    #373873

    Dear ithacaindy,

    Please try as following

    open the folder of pluginssystemjat3jat3base-themesdefaulthtml,there you would see a folder name com_content

    Just copy that folder,put it into the folder of templatesja_teline_ivhtml
    Then open the file of templatesja_teline_ivhtmlcom_contentarticledefault.php,Look for this line of codes and remove

    <dt class=”article-info-term”><?php echo JText::_(‘COM_CONTENT_ARTICLE_INFO’); ?></dt>

    I hope it would help !

    ithacaindy Friend
    #375493

    <em>@dathq 217697Please try as following [/QUOTE wrote:</em><blockquote>

    Thank you; that worked perfectly. I hope this correction can make it into a future update of Teline IV so that users will not need to keep editing the template files.

    ithacaindy Friend
    #375656

    <em>@dathq 217697 wrote:</em><blockquote>

    Please try as following

    </blockquote>

    Your suggestion removed the “Details” portion, but introduced another problem. Articles bylines on the front page are set to “JUser.” When the full article displays, the correct author is shown, however.

    actu9 Friend
    #375658

    Thanks dathq, really helpful !!
    Maybe you vcan help me to solve an other problem I have with this line.
    Right now, it is displayed like that : Publié le Mercredi, 16 Avril 2008 02:18 Écrit par Super User
    But i would like to remove :
    1 > Publié le Mercredi,
    2 > 02:18
    3 > Écrit par
    and add a bar separator (|) between the date and the author.
    Have a good day,
    Joe

    Sherlock Friend
    #375805

    <em>@actu9 220112 wrote:</em><blockquote>Thanks dathq, really helpful !!
    Maybe you vcan help me to solve an other problem I have with this line.
    Right now, it is displayed like that : Publié le Mercredi, 16 Avril 2008 02:18 Écrit par Super User
    But i would like to remove :
    1 > Publié le Mercredi,
    2 > 02:18
    3 > Écrit par
    and add a bar separator (|) between the date and the author.
    Have a good day,
    Joe</blockquote>

    Dear actu9,

    You can try as following
    Open the language file languageyour_actived_languageyour_actived_language.com_content.ini
    Look for this line
    COM_CONTENT_PUBLISHED_DATE=”Publié le %s”
    Change it to
    COM_CONTENT_PUBLISHED_DATE=” %s”
    Then look for this
    COM_CONTENT_WRITTEN_BY=”Écrit par %s”
    Change it to
    COM_CONTENT_WRITTEN_BY=” %s”

    Finally,open the file of

    languageyour_actived_languageyour_actived_language.ini
    Look for this
    DATE_FORMAT_LC2=”l, d F Y H:i”
    Change to
    DATE_FORMAT_LC2=” d F Y ”

    I hope these would help !

    actu9 Friend
    #375877

    <em>@dathq 220299 wrote:</em><blockquote> I hope these would help !</blockquote>

    Yes dathq, it helped a lot. Thank you ! 😉
    There is still 2 things that disturb me:

    1) When the date is for instance the 9th of February, the date displayed is 09, but I prefer to have 9 (without the 0 at the beginning). Is that possible ?

    2) Regarding my former post, is it possible to add a bar separator (something like that: |) between the date and the author ?

    Thanks for your great help & have a good day,

    Joe

    Ninja Lead Moderator
    #376152

    hi actu9 nice to meet you,

    1. yes its possible, open templatesja_teline_ivhtmlcom_contentarticledefault.php
    replace all :

    DATE_FORMAT_LC2
    to

    DATE_FORMAT_LC22
    open languageen-GBen-GB.ini
    insert this line:

    DATE_FORMAT_LC22="l, j F Y H:i"

    2. in default.php add “|” above

    <?php if ($params->get('show_author') && !empty($this->item->author)) : ?>

    like this:


    |
    <?php if ($params->get('show_author') && !empty($this->item->author)) : ?>

    actu9 Friend
    #376270

    Hi hungnd, nice to meet you too 😉
    Thanks for your tips ! The 1st one unfortunately doesn’t work (the 0 remains at the beginning when days are from 1 to 9).
    The second works as you said 🙂 but as you could see in the attachment there is a big space before the | (despite the fact that, when I copy the text in Word, there is one space befaore and one space after |…
    Cheers,
    Joe


    1. Image-15
    Ninja Lead Moderator
    #376531

    hi actu9,
    1. i’ve tested, it should work, pm me you site link & ftp acc, I will check
    2. dont use word to edit code, in this case you can add ” ” after the “|” to align.

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 4 voices, and was last updated by  Ninja Lead 13 years, 10 months ago.

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