{"id":61899,"date":"2016-02-15T04:43:03","date_gmt":"2016-02-15T09:43:03","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=61899"},"modified":"2016-03-22T08:45:07","modified_gmt":"2016-03-22T12:45:07","slug":"prestashop-1-6-x-how-to-change-the-date-format-for-the-smartblog-latest-news-module","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/prestashop-1-6-x-how-to-change-the-date-format-for-the-smartblog-latest-news-module.html","title":{"rendered":"PrestaShop 1.6.x. How to change the date format for the &#8220;SmartBlog Latest News&#8221; module"},"content":{"rendered":"<p><a href=\"http:\/\/www.youtube.com\/watch?v=G5hOoeEU0so?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to change the date format for the &#8220;SmartBlog Latest News&#8221; module<\/a><\/p>\r\n<p>This tutorial shows how to edit <strong>date format<\/strong> for the SmartBlog Latest News module in Prestashop 1.6.x.<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/PrestaShop-1.6.x.-How-to-change-the-date-format-for-the-SmartBlog-Latest-News-module-1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/PrestaShop-1.6.x.-How-to-change-the-date-format-for-the-SmartBlog-Latest-News-module-1-300x210.png\" alt=\"PrestaShop 1.6.x. How to change the date format for the SmartBlog Latest News module-1\" width=\"300\" height=\"210\" class=\"aligncenter size-medium wp-image-61906\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/PrestaShop-1.6.x.-How-to-change-the-date-format-for-the-SmartBlog-Latest-News-module-1-300x210.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/PrestaShop-1.6.x.-How-to-change-the-date-format-for-the-SmartBlog-Latest-News-module-1-150x105.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/PrestaShop-1.6.x.-How-to-change-the-date-format-for-the-SmartBlog-Latest-News-module-1.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p><strong>Date format<\/strong> for the SmartBlog Latest News module is called out from the template files on server.<\/p>\r\n<ol>\r\n<li>\r\n<p>Connect to server via <a target=\"_blank\" href=\"https:\/\/www.templatemonster.com\/help\/how-upload-files-server-2.html\">FTP<\/a> or open <a target=\"_blank\" href=\"https:\/\/www.templatemonster.com\/help\/how-to-manage-filesfolders-permissions-with-total-commander-filezilla-and-cpanel-webhost-manager-whm.html\">cPanel File manager<\/a>.\r\n  <\/p>\r\n<\/li>\r\n<li>\r\n<p>Open the <strong>\\themes\\themeXXX\\modules\\smartbloghomelatestnews\\views\\templates\\front<\/strong> folder of your Prestashop installation. Find and edit the <strong>smartblog_latest_news.tpl<\/strong> file.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Find the date code with <strong>Ctrl\/Cmd+F<\/strong> hotkeys:<\/p>\r\n<pre class=\"brush:html\">&lt;p class=&quot;date-added&quot;&gt;{$smarty.now|date_format:&quot;%b %e %Y&quot;}&lt;\/p&gt;<\/pre>\r\n<\/li>\r\n<li>\r\n<p>Here you can use various combinations of <strong>date format<\/strong> year\/month\/day: b\/e\/y, m\/d\/y etc.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Save changes in the file. Refresh your home page to check the changes at the front-end: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2016\/02\/PrestaShop-1.6.x.-How-to-change-the-date-format-for-the-SmartBlog-Latest-News-module-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/02\/PrestaShop-1.6.x.-How-to-change-the-date-format-for-the-SmartBlog-Latest-News-module-2-300x210.png\" alt=\"PrestaShop 1.6.x. How to change the date format for the SmartBlog Latest News module-2\" width=\"300\" height=\"210\" class=\"aligncenter size-medium wp-image-61907\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/PrestaShop-1.6.x.-How-to-change-the-date-format-for-the-SmartBlog-Latest-News-module-2-300x210.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/PrestaShop-1.6.x.-How-to-change-the-date-format-for-the-SmartBlog-Latest-News-module-2-150x105.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/02\/PrestaShop-1.6.x.-How-to-change-the-date-format-for-the-SmartBlog-Latest-News-module-2.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=G5hOoeEU0so?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to change the date format for the &#8220;SmartBlog Latest News&#8221; module<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to edit <strong>date format<\/strong> for the SmartBlog Latest News module in Prestashop 1.6.x.<\/p>\n","protected":false},"author":65,"featured_media":61909,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[843,804,684,557,936,552,2181],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/61899"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=61899"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/61899\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/61909"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=61899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=61899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=61899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}