Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorraslam
    • CommentTimeNov 2nd 2007
     

    currently there is no option for conditional statement like. if this is introduced then i believe it will be very helpful and simple. {session-user-id == post.id}

    but now, we have to use a longer syntax <?php if ($session[''user']['id'] == $post->id)?>

    •  
      CommentAuthorbermi
    • CommentTimeNov 2nd 2007
     

    Rashid, adding comparisons to Sintags is not that easy, although you might want to give it a try ;)

    Meanwhile, you can use PHP, or if that starts to smell to spaguetti code you might refactor into helpers where presentation logic can be reused.

Add your comments
    Username Password
  • Format comments as