[symfony-users] Re: vim and eclipse

2008-02-17 Thread Jorge Vargas
On Feb 16, 2008 11:28 AM, Thierry <[EMAIL PROTECTED]> wrote: > > Anybody knows if there are decent key bindings out there (vim style) > for eclipse? why fake it when you can get the real thing? just change the default editor to be vim. I know this can be done, (an ex-coworker did it) I just did

[symfony-users] Re: apache and symfony .htaccess issue.

2008-02-17 Thread Jorge Vargas
On Feb 15, 2008 3:35 AM, Stefan Koopmanschap <[EMAIL PROTECTED]> wrote: > > On Feb 15, 8:31 am, "Jorge Vargas" <[EMAIL PROTECTED]> wrote: > > I though about that but I didn't wanted to run thru all that. is this > > the only possible solution? what's wrong with having the whole symfony > > project

[symfony-users] Re: Multi-language news (i18n)

2008-02-17 Thread Tom Haskins-Vaughan
OK, not sure if I've done it the best way, so feel free to point out my obvious errors! But here's what I came up with: I created a method in the NewsItem class: public function getNewsItemI18nInCulture($culture) { return NewsItemI18nPeer::retrieveByPk($this->getId, $culture); } then as I

[symfony-users] Re: Embedding symfony components in non-symfony web pages

2008-02-17 Thread Tom Haskins-Vaughan
Sorry I'm not sure if I was very clear: You set up a module/action in symfony to create the content for the portion of the page that you want to use symfony for. You could just export the html for the portion without the whole page decoration. Then in standard PHP, you use an include (not sure

[symfony-users] Re: Embedding symfony components in non-symfony web pages

2008-02-17 Thread Tom Haskins-Vaughan
So what if you use a PHP include to insert a portion of page that has been rendered by symfony? Balaji Srinivasan wrote: > Hi Tom > That works if the full page was served by symfony. We already use > that. But now we have come to the point where portions of the page > could be migrated to S

[symfony-users] Re: Embedding symfony components in non-symfony web pages

2008-02-17 Thread Balaji Srinivasan
Hi Tom That works if the full page was served by symfony. We already use that. But now we have come to the point where portions of the page could be migrated to Symfony. In that case the full page will be served by the PHP code but we want portions of it to be rendered by Symfony. Balaji

[symfony-users] Re: Embedding symfony components in non-symfony web pages

2008-02-17 Thread Tom Haskins-Vaughan
Hi Balaji, I've thought about this for an app I wrote in PHP that's in use at the moment. I was thinking of putting symfony in a sub directory of the web root: www.domain.com/symfony/ There were going to be session issues, that I think someone on the list suggested possible solutions for, but

[symfony-users] Embedding symfony components in non-symfony web pages

2008-02-17 Thread Balaji Srinivasan
Hi There I have a current application that was developed in plain PHP. I want to migrate it over to Symfony. Instead of rewriting everything at one shot, I was wondering if there was a way where I could migrate portions of the web page (akin to component-slots) over to symfony and have it

[symfony-users] Multi-language news (i18n)

2008-02-17 Thread Tom Haskins-Vaughan
Hi, I'm writing a news module for a client who wants the news items to be available in several languages. I have a table in the db with the allowed cultures - so far fr_FR and en_GB. In the edit template I have a fieldset for date and author and now I'm trying to write the fieldset with field

[symfony-users] Re: Append Site Name to Title

2008-02-17 Thread Frank van Noorden
On Feb 17, 12:56 am, xanders <[EMAIL PROTECTED]> wrote: > Hi All, > > this is probably something pretty common for all of us. I would like > the site title to be appended / perpended (not sure what one yet) to > each page title. So if a template is set to have "About Us" in the > view.yml, the act

[symfony-users] Re: Append Site Name to Title

2008-02-17 Thread Nicolas Perriault
On Feb 17, 2008 12:56 AM, xanders <[EMAIL PROTECTED]> wrote: > this is probably something pretty common for all of us. I would like > the site title to be appended / perpended (not sure what one yet) to > each page title. For Symfonians, I've put the thing in the layout and handle the page title