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

top left position add header template smart news
(1 viewing) (1) Guest

TOPIC: top left position add header template smart news

Re: top left position add header template smart news 11 years, 9 months ago #4111

  • noumidianews
  • OFFLINE
  • Single Product
  • Expert Boarder
  • Posts: 88
  • Karma: 1
thanksss
I change
I have one question for the header
is possible to translate what the date is below the logo
in Arabic
which file to be translated
thanksssssssssss
The topic has been locked.

Re: top left position add header template smart news 11 years, 9 months ago #4121

  • noumidianews
  • OFFLINE
  • Single Product
  • Expert Boarder
  • Posts: 88
  • Karma: 1
hello
which file must be translated to the date
thank you
The topic has been locked.

Re: top left position add header template smart news 11 years, 9 months ago #4139

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Hi Youness tallih,

Please open the yt_template.class.php file in "your_site/templates/smart_news25(17)/includes", finding:

 echo "<span class=\"date\">".date('D jS\, M Y')."</span> -- <span class=\"gmdate\">Updated ".gmdate("h:i:s A", $sec+$tz)." GMT</span>";


change to your language.

Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.

Re: top left position add header template smart news 11 years, 9 months ago #4157

  • noumidianews
  • OFFLINE
  • Single Product
  • Expert Boarder
  • Posts: 88
  • Karma: 1
hello
thank you for the answer
I can not bring a date if you can help me and what to change to Arabic
thank you
The topic has been locked.

Re: top left position add header template smart news 11 years, 3 months ago #7162

  • noumidianews
  • OFFLINE
  • Single Product
  • Expert Boarder
  • Posts: 88
  • Karma: 1
hello
Please help me to translate the date in Arabic
smart news template
I tried but no result
best regards
The topic has been locked.

Re: top left position add header template smart news 11 years, 3 months ago #7356

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Youness tallih,

Please go to "templates/smart_news25(17)/includes/yt_template.class.php", finding:

echo "<span class=\"date\">".date('D jS\, M Y')."</span> -- <span class=\"gmdate\">Updated ".gmdate("h:i:s A", $sec+$tz)." GMT</span>";


=>

echo "<span class=\"date\">".date(JText::_('DATE_FORMAT_LC2'))."</span> -- <span class=\"gmdate\">Updated ".gmdate("h:i:s A", $sec+$tz)." GMT</span>";


Otherwise, you can install the arabic language package.

Thanks
Ticket System | Join our Clubs to download our extensions and templates
Last Edit: 11 years, 3 months ago by loitt.
The topic has been locked.
Time to create page: 0.23 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