Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • scarney Friend
    #154494

    I found the file I am looking for the other day, documented it and then deleted my documentation. Ah.. such is life…

    Can somebody tell me which file I have to edit in order to remove the Date and Last Update time from JA Teline III.

    I rememver the code I had to add which was simply:

    display:none;

    But, I am not remembering which file. It was somewhere between lines 135 to 150.

    Any help would be very much appreciated.

    I think the lines started with .jaday ???

    gray Friend
    #356213

    Actually, the easiest way is to delete from layouts/blocks/header.php
    [php]<p class=”ja-updatetime”><span><?php echo JText::_(‘Last update’)?></span><em><?php echo $this->getLastUpdate(); ?></em></p>[/php]

    Also, if you find the getLastUpdate function in libs/ja.template.helper.php (about line 520) you can change the value it returns.

    scarney Friend
    #356255

    Thank you very much. Somewhere on this forum was another reply where somebody responded to this same answer and stated there was an easier way than this which was to add a line “display:none;” to one of the files.

    I found that file at /templates/ja_teline_iii/css/template.css

    Just after line 918 we added a new line

    display: none;

    The removed the Date and Last Update Time from the template.

    Can anybody think of a reason why this might not be a good way to do this?
    Is there anything that might not function properly with this “display: none;” solution?

    Thank you, Sean Carney

    Saguaros Moderator
    #356351

    <em>@gray 194886 wrote:</em><blockquote>Actually, the easiest way is to delete from layouts/blocks/header.php
    [php]<p class=”ja-updatetime”><span><?php echo JText::_(‘Last update’)?></span><em><?php echo $this->getLastUpdate(); ?></em></p>[/php]

    Also, if you find the getLastUpdate function in libs/ja.template.helper.php (about line 520) you can change the value it returns.</blockquote>

    you remove the above code

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

This topic contains 4 replies, has 3 voices, and was last updated by  Saguaros 14 years, 2 months ago.

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