Date and time published not showing
Permalink Browser Info Environment
Hi!
I installed Easy News through the Dashboard. I have added a news item but it won´t show the date stamp. E.g "Posted by admin on January 10, 2011".
Any ideas? Is there some hidden preferences I haven´t found?
I installed Easy News through the Dashboard. I have added a news item but it won´t show the date stamp. E.g "Posted by admin on January 10, 2011".
Any ideas? Is there some hidden preferences I haven´t found?
Type: | Discussion |
---|---|
Status: | New |
Thanks for the reply!
I duplicated one of the templatefiles and added the code, but where exactly do I put the file news.php?
I duplicated one of the templatefiles and added the code, but where exactly do I put the file news.php?
You have to put news.php inside the theme folder and then following instructions insidehttp://www.concrete5.org/documentation/developers/pages/themes... to activate the new page type
I would like to do the same thing as shiki, but am having some problems. I would just like everyone to know off the bat that I am a complete noob to Concrete5. I would like for the date to show on my home page (using the soul mate theme). Where do I put this code within the home.php file?
Hi, I'm sorry. I have some problem to understand you request. If it's referred to easy news, the best way to provide date of news is to use easy news block.
If you want to show the current date, you can add a php block containing
seehttp://php.net/manual/en/function.date.php... for formatting the output
If you want to show the current date, you can add a php block containing
seehttp://php.net/manual/en/function.date.php... for formatting the output
I have the easynews block setup on my homepage to show 2 entry's and then have the page numbers under it to see the older entry's. On my home page, I would like for it to have the date posted included. Attached is a word file with what I am looking for.
Ah, ok.
Solution was already posted here:
http://www.concrete5.org/marketplace/addons/easy-news/support/publi...
Put the file attached inside (after renaiming to date.php)
edit page containing list block, click on that block, select custom template and than date
Solution was already posted here:
http://www.concrete5.org/marketplace/addons/easy-news/support/publi...
Put the file attached inside (after renaiming to date.php)
packages\easy_news\blocks\easynews_list\templates
edit page containing list block, click on that block, select custom template and than date
Thank You!! I really appreciate it!
One solution is to create a page type that also embed this content:
You can copy remaining part from default, fullpage or other custom pages of your theme, and call it news.php
Hope it helps, don't worry to ask for a better explanation.