6 years 2 weeks ago - 6 years 2 weeks ago #5041
by Dirk
Sorry for the late response.
{joodb ifis|estatus|[publicado]|[ne]}
Please don't use [] inside joodb commands! The [] are only symbols in documentations to indicate that parameters are optional.
So the correct command should be
{joodb ifis|estatus|publicado|ne}
But this makes no sense. It displays the following block only if the field estatus is not = "publicado"!
Tipp: The published field should be tinyint! 0 invisible or 1 published
Then you can use
{joodb ifis|estatus}
// publisehed show the data
{joodb else}
// Hidden: show something else
{joodb endif}
And yes: you forgot to close the table row <tr> with </tr>
Thank you @phoenixschule
Last edit: 6 years 2 weeks ago by Dirk.
Please Log in to join the conversation.