Topic: Only today news
Hi.
I wondering how can i show only today news on one page. And yesterday news on another.
I found only $number, but it shows only some numbers of posts. I need only post what was posted today
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
You are not logged in. Please login or register.
CutePHP Forums → Problem Solving / Help & Support → Only today news
Hi.
I wondering how can i show only today news on one page. And yesterday news on another.
I found only $number, but it shows only some numbers of posts. I need only post what was posted today
Hi.
I wondering how can i show only today news on one page. And yesterday news on another.
I found only $number, but it shows only some numbers of posts. I need only post what was posted today
Hello astral4ik,
what happens when today no post are posted?
greetings perry
Hello astral4ik,
what happens when today no post are posted?
greetings perry
blank page
blank page
In your Template:
<article>
<span>{day}</span>
<div>your content</div>
</article>
DOM manipulation with Javascript
in clear text:
if {day} != getDay()
.css('display','none')
Why do want use post of today?
In your Template:
<article>
<span>{day}</span>
<div>your content</div>
</article>DOM manipulation with Javascript
in clear text:
if {day} != getDay()
.css('display','none')
can u write an examples, plz. i not for sure where i must use this codes
can u write an examples, plz. i not for sure where i must use this codes
I think there have not a only cutenews solution so you must found a way with java script:
http://www.tutorialspoint.com/jquery/jquery-dom.htm
CutePHP Forums → Problem Solving / Help & Support → Only today news
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.