Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorraslam
     

    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
     

    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.