Welcome Guest, Not a member yet? Register   Sign In
Set Posts activ/inactiv
#1

[eluser]Zimooon[/eluser]
Hey guys,
i got for my news/blog a variable called active. when i write/edit posts i can set it to 0 or 1. Now i want only to show posts that are flagged with 1 .
i got a post model to get posts but when i do sth like if($active==1) or stuff it wont work. Where would you implement it and how?

best regards


Messages In This Thread
Set Posts activ/inactiv - by El Forum - 04-15-2011, 01:52 AM
Set Posts activ/inactiv - by El Forum - 04-15-2011, 04:31 AM
Set Posts activ/inactiv - by El Forum - 04-15-2011, 08:34 AM
Set Posts activ/inactiv - by El Forum - 04-15-2011, 12:06 PM
Set Posts activ/inactiv - by El Forum - 04-18-2011, 09:43 AM
Set Posts activ/inactiv - by El Forum - 04-18-2011, 10:48 AM
Set Posts activ/inactiv - by El Forum - 04-19-2011, 01:11 AM
Set Posts activ/inactiv - by El Forum - 04-19-2011, 03:55 AM
Set Posts activ/inactiv - by El Forum - 04-19-2011, 01:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB