Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • janjak Friend
    #199362

    Hi !

    Could any body tell me how to remove the “,” on the article header in What’s new? module on Muzic home page ?

    You can see this on http://www.perchepoilus.com or on the screenshot…

    Regards,
    janjak


    1. capture
    Pankaj Sharma Moderator
    #540966

    HI
    try this
    Go to templatesja_muzichtmlcom_contentfeatureddefault_item.php

    and find this code

    <dd class="published">
    <?php echo JText::sprintf('TPL_COM_CONTENT_PUBLISHED_DATE_ON', '<span>'.JHtml::_('date', $this->item->publish_up, JText::_('DATE_FORMAT_LC3')).'</span>'); ?>
    </dd>

    replace it with

    <dd class="published">
    <?php echo JText::sprintf('TPL_COM_CONTENT_PUBLISHED_DATE_ON' '<span>'.JHtml::_('date', $this->item->publish_up, JText::_('DATE_FORMAT_LC3')).'</span>'); ?>
    </dd>

    Let me know if it helps

    janjak Friend
    #541038

    Hi Pankajsharma,

    Thank you for answering.
    I’ve tried your code, but it gives a html syntax error and broke the site…

    Regards,
    Janjak

    Pankaj Sharma Moderator
    #541042

    HI ,
    Can you PM me the admin credentials of your site . I will check it directly on your site

    Pankaj Sharma Moderator
    #541155

    Hello @janjak
    The credentials you are provided are not working . Anyway please try this for remove that ,

    Go to root
    languageen-GBen-GB.tpl_ja_muzic
    Find the code

    TPL_COM_CONTENT_PUBLISHED_DATE_ON =", %s"
    and change it into

    TPL_COM_CONTENT_PUBLISHED_DATE_ON =" %s"
    Let me know if it helps

    janjak Friend
    #541190

    Hi !

    Nice ! It works, but in fr-FR folder for me…

    I have forgot that template has also it’s language file.

    Regards !
    Janjak

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

This topic contains 6 replies, has 2 voices, and was last updated by  janjak 10 years, 4 months ago.

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