0
Welcome Guest! Login
0 items Join Now

About time at RokMatic Latest

  • About time at RokMatic Latest

    Posted 17 years 10 months ago
    • Hi all!

      I just saw that content items shown at the RokMatic Latest module don't have the correct time.

      I mean, the last content article shown has: 2007-07-01 18:10:16 while it should had 2007-07-01 00:10:16.

      Where do I have to modify the code?

      I suppose this should be modified:
      global $mosConfig_offset, $mosConfig_live_site, $mainframe;
       
      $type        = intval( $params->get( 'type', 1 ) );
      $count       = intval( $params->get( 'count', 5 ) );
      $catid       = trim( $params->get( 'catid' ) );
      $secid       = trim( $params->get( 'secid' ) );
      $show_front = $params->get( 'show_front', 1 );
       
      $now          = _CURRENT_SERVER_TIME;
      $access      = !$mainframe->getCfg( 'shownoauth' );
      $nullDate   = $database->getNullDate();

      Thank you!
    • Bob Ateah's Avatar
    • Bob Ateah
    • Elite Rocketeer
    • Posts: 4521
    • Thanks: 0

    Re: About time at RokMatic Latest

    Posted 17 years 10 months ago
    • Is the time set correctly in your Joomla admin backend/ Global Configuration/ Locale area (server time)?

      Hint: Hover your cursor over the ? in the Time Offset row and the time displayed in the tooltip should match your computer time - if not adjust it.
    • Last Edit: 17 years 10 months ago by Bob Ateah.
    • The member formerly known as Roland Deschain
      After your question is solved, please Edit your original post and choose the Solved message icon, thank you!
  • Re: About time at RokMatic Latest

    Posted 17 years 10 months ago
    • Hi Roland!

      UTC +1! Yes it is!

      However, I think rokmatic module uses the hosting server time, which is american (I'm from Barcelona) and it has 6 hours of difference from me.

      Anything? ???

      Thanks!
    • Bob Ateah's Avatar
    • Bob Ateah
    • Elite Rocketeer
    • Posts: 4521
    • Thanks: 0

    Re: About time at RokMatic Latest

    Posted 17 years 10 months ago
    • Sorry I don't have an answer at this time mate.
      I'm sure that someone smarter than me will come along!

      Cheers!
    • The member formerly known as Roland Deschain
      After your question is solved, please Edit your original post and choose the Solved message icon, thank you!

Time to create page: 0.054 seconds