mudlusamoi Posted September 13, 2018 Share Posted September 13, 2018 Hello, I am adding announcements to the homepage.tpl but the "announcement.timestamp" variable is not working. Can you help me? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 15, 2018 Share Posted September 15, 2018 the homepage.tpl template for Six already contains the code to display annoucements and, in v7.6, will use... {$carbon->translatePassedToFormat($announcement.rawDate, 'M jS')} i'd recommend taking a look at the Six template code and then adapting it for your custom template. 1 Quote Link to comment Share on other sites More sharing options...
mudlusamoi Posted September 15, 2018 Author Share Posted September 15, 2018 I was already using the code on the Six. Quote {$carbon->translatePassedToFormat($announcement.rawDate, 'M jS')} This code worked. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.