If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

PrestaShop 1.6.x. How to change the date format for the “SmartBlog Latest News” module

PrestaShop 1.6.x. How to change the date format for the “SmartBlog Latest News” module

This tutorial shows how to edit date format for the SmartBlog Latest News module in Prestashop 1.6.x.

PrestaShop 1.6.x. How to change the date format for the SmartBlog Latest News module-1

Date format for the SmartBlog Latest News module is called out from the template files on server.

  1. Connect to server via FTP or open cPanel File manager.

  2. Open the \themes\themeXXX\modules\smartbloghomelatestnews\views\templates\front folder of your Prestashop installation. Find and edit the smartblog_latest_news.tpl file.

  3. Find the date code with Ctrl/Cmd+F hotkeys:

    <p class="date-added">{$smarty.now|date_format:"%b %e %Y"}</p>
  4. Here you can use various combinations of date format year/month/day: b/e/y, m/d/y etc.

  5. Save changes in the file. Refresh your home page to check the changes at the front-end:

    PrestaShop 1.6.x. How to change the date format for the SmartBlog Latest News module-2

Feel free to check the detailed video tutorial below:

PrestaShop 1.6.x. How to change the date format for the “SmartBlog Latest News” module