symfony commands: from creating project to deployment

by prettyscripts on 2010-03-22 12:45:30 • Leave a comment »

symfony

symfony can be called from command line with many options, from installation and project / module creation to project deployments. i don't have the best memories to remember them. i'm trying to document them all in one place so that i don't have to look… more »

Tags: symfony, symfony commands

b2evo: change default text for read more and follow up

by prettyscripts on 2010-03-10 14:37:27 • Leave a comment »

phpb2evolution

based on the source code (this is V2.4, but it's similar in V3), you need to set correct parameters for $Item->more_link(). the parameters are link_text (defaults to 'Read more') and anchor_text (defaults to 'Follow up'). for most skins this functio… more »

Tags: b2evo, more, skin

b2evo: author links to website instead of user page

by prettyscripts on 2010-03-09 11:47:53 • Leave a comment »

phpb2evolution

in the skin, the function call to show author of a post is $Item->author(). by default it links to user page. i wanted to link to user's website. there aren't much information on how to use this function and the doc is outdated. source code is alway… more »

Tags: author, b2evo, link, skin

symfony and doctrine: default table collation, a better solution

by prettyscripts on 2010-03-08 11:09:13 • 2 comments »

symfony

as of symfony 1.4 and if working with doctrine, there are still problem setting default and correct table encoding and collations with symfony doctrine:build task. i have previously posted 2 solution. the 1st involves hacking the core code, which needs… more »

Tags: collation, database, doctrine, encoding, symfony

symfony: sfDoctrineGuardPlugin and customizing user profile

by prettyscripts on 2010-03-03 11:43:54 • Leave a comment »

symfony

sfDoctrineGuardPlugin provides basic authentication. sf_guard_user table only contains minimal fields to make this feature work. all other user relevant information such as name, birthday, contact numbers etc require a new table sf_guard_user_profile tha… more »

Tags: doctrine, profile, symfony, user