Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • obliat Friend
    #162606

    I’ve set my JA_News FP to show Last modified on instead of Created date on the lead news story (K2), but now it updates with the current time every time I refresh the site no matter I’m not editing the item in the Back-end?

    How do I fix this?

    thangnn1510 Friend
    #386281

    Please submit your login information (FTP/Admin) via IEG-173-44026. We should check with further detail for you.

    obliat Friend
    #386518

    Ticket updated – in hosting cPanel File Manager is under Файлов мениджър (as it’s in Bulgarian)

    Can you also please check why my Home page K2 items pics (as well as K2 blog page pics) are not linked (I can a href them in the items but would like to have this in the code if possible – explained in detail in this thread )

    thangnn1510 Friend
    #386634

    I have checked your site and seen that you have chosen “Most recent first” not “last modified”. I have changed it for you and now, it keeps after each refresh

    obliat Friend
    #386664

    Hi thangnn1510,
    I didn’t mean that – I have manually changed the code to make JA News FP show “Last modified on” as a date instead of “Created date” (and not “Latest modified”) – I was not talking about module or categories settings in the back-end. So what happens is that “Last modified on” must show your last time you edit the item in the back-end, right? And instead it shows the current time with every refresh.

    In other words let say that I modify the lead news story in JA News FP in 12:45 than if I refresh the page in 12:50 it should still show “Last modified on” 12:45, but it shows the current computer time not “Last modified on”.

    Basically I want to show Most recent items, but instead of having a “created date” – to show “last modified on” date/hour

    obliat Friend
    #386668

    Its me of course that made a mistake – I coded it like:

    <div><?php echo JText::_('Last modified on'); ?> <?php echo JHTML::_('date', $this->item->modified, JText::_('DATE_FORMAT_LC5')); ?></div>

    and I created this LC5 custom date – but it does not show Last modified on actually, but just my custom date. I have to fix the code or just leave it as you made it – to show Last modified on.

    I also think Latest modified and Last modified on are completely different things.

    Latest modified will show last modified item as leading news, and that’s not what I want – I need to keep them show with Most recent first, but the Lead news story to show when it was last modified within the time it is Leading. And then when I create new story it becomes Lead story and if I modify it in 10 minutes to show this mod time. This way if there is a development on the story while it is Lead (Breaking news) story – people will see the time it was updated at.

    Inside K2 Items it successufully shows “Last modified on” at the end of the Item/article – that’s exactly what I want to show at JA News FP Lead news story below the title. Question is why my (above) code is OK and FP module shows current, but not last modified on time (I changed to LC2 and it still shows current, not LMO.

    It maybe needs more coding like adding

    <?php if($this->item->params->get('catItemDateModified')): ?>
    or what?

    thangnn1510 Friend
    #386813

    Dear obliat!

    Sorry but we can’t help to customize code of the module, all custom works are done by users.

    Thanks for your understanding!

    obliat Friend
    #386974

    You could’ve save me 3 days if you would say that earlier.

    Thank you. I will try to work it out and post my solution for other’s that may benefit from it.

    obliat Friend
    #387812

    And I’ve being helped so many times with the code in some modules – this just sounds weird…

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

This topic contains 9 replies, has 2 voices, and was last updated by  obliat 13 years, 6 months ago.

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