Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

sj-day in header
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: sj-day in header

sj-day in header 9 years, 9 months ago #19591

hi
i bought sj news and would like to remove sj-day ( 14 July 2014 Last updated at 10:23 GMT ) from right upper corner so can you help me with that
thanks

Re: sj-day in header 9 years, 9 months ago #19634

  • SA Thuy
Dear zita crol,

Please go to the file: your_site\templates\sj_news\html\mod_login\default.php and remove the code:

<p class="sj-day">
      <?php 
        $db	 = &JFactory::getDBO();
        $query = 'SELECT created FROM #__content a ORDER BY created DESC LIMIT 1';
        $db->setQuery($query);
        $data = $db->loadObject();
        if( $data->created ){  //return gmdate( 'h:i:s A', strtotime($data->created) ) .' GMT ';
             $date =& JFactory::getDate(strtotime($data->created));
             $user =& JFactory::getUser();
             $tz = $user->getParam('timezone');
             $sec =$date->toUNIX();   //set the date time to second
            // echo "<span class=\"date\">".date('d F Y')."</span> Last <span class=\"gmdate\">updated at ".gmdate("h:i ", $sec+$tz)." GMT</span>";
			 echo "<span class=\"date\">".date('d F Y')."</span> Last <span class=\"gmdate\">updated at ".date("h:i")."</span>";
        }
        
      ?>
    </p>



Thanks
  • Page:
  • 1
Time to create page: 0.19 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes