Thursday, February 14, 2008

symfony askeet tutorial

on day7, got problem to show the user profile. need sort out.

when 'we can also link to a user profile from a question', solve 'Don't forget to declare the use of the Date helper in _list.php.' by add <?php use_helper('Date', 'Global') ?> on top  of _list.php, I guess add <?php use_helper('Date') ?> would work too.

when add sidebar

on the view.yml

sidebar: [sidebar, default]

actually just need

sidebar: [sidebar, default]

otherwise there's 2 default keywords in the yml file and get a non-css and non-sidebar page

the user profile problem remains, even after checked the askeet SVN repository. will need a further investigation later.

No comments: