Re: [symfony-users] Rewrite the url in a action

2010-10-28 Thread Gareth McCumskey
I'm afraid you cannot rewrite the URL in an action. The best you can do, and why I linked you to that chapter, is from an action to send the browser to the URL you want and then set your routing up in symfony so that it can map the URL you want to the correct action. Its like, by default, the symfo

Re: [symfony-users] Frames? Slots? Structure help

2010-10-28 Thread Gustavo Adrian
I'd prefer the "old fashion" common links rather than using frames. Just use links like gallery/category_slug and you're good to go. Don't use frames. Or use jQuery for AJAX. It's easy to learn and it'll help you to learn things that are worth to know On Thu, Oct 28, 2010 at 3:11 AM, Gareth McCums

Re: [symfony-users] Rewrite the url in a action

2010-10-28 Thread Alejandro Linares
Thanks, I read all the article but i didnt found the answer to my problem, i want to rewrite the url to a diferent url inside the action without redirect to another action to acomplish this. Sorry for my english. thansk for the help. 2010/10/28 Gareth McCumskey > > http://www.symfony-project.or

[symfony-users] [symfony2]start a project whithout the sand box

2010-10-28 Thread samuel
Hello, Where can I found some about how start a project based on the symfony2 project whithout using the sandbox? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Group

Re: [symfony-users] All new symfony developers please read...

2010-10-28 Thread Michał Piotrowski
2010/10/28 Gareth McCumskey : > I thought I'd point something what a lot of new symfony developers don't > seem to realise. There is a great piece of documentation on the symfony site > that can answer 90% of questions for anyone new to symfony. I use symfony for year and a half and thanks to this

Re: [symfony-users] Re: Best practice: Sharing data (e.g. i18n files) among symfony applications

2010-10-28 Thread Alexandru-Emil Lupu
Hello! Why don't you move your i18n to your database? this allows you / your team to easily add / remove / change the texts without any "deploy" / "cache-clearing" or other kind of task ... Alecs On Oct 28, 2010, at 1:46 PM, cestcri wrote: > Actually this was even easier then expected, I just

Re: [symfony-users] Re: All new symfony developers please read...

2010-10-28 Thread Alexandru-Emil Lupu
Hello! +1 to this For a long long time, i have stopped to read most of the features her, because is just noise... I have even done a filter to skip my inbox, as i do not have enough time to read and fix all the documentation related problems When had the time, i have entered on #symfony

[symfony-users] Re: All new symfony developers please read...

2010-10-28 Thread Reo
Agree, don't stop yourself to jobeet tutorial, others books are even more usefull ! On 28 oct, 17:10, James DeMichele wrote: > Totally agreed. In fact, I think the "Gentle Introduction" should be > highlighted more on the Symfony web pages than the Jobeet tutorial. The > Gentle Introduction is fa

[symfony-users] Symfony creates underscore index tables when delete looks for classname_index tables

2010-10-28 Thread Simon Cast
Hi, I was testing out an application I am building when I came across a rather odd behaviour with a table that has a CamelCase class name and has a searchable behaviour. Basically, when the index table is created Doctrine added a _ between the camel case. So the index table became camel_case_ind

[symfony-users] Re: per RECORD/Entity permissions?

2010-10-28 Thread Dennis
Thank you for the input. That's an interesting idea, to do it at the listener level. I will explore it :-) sorry about late reply, just moved and Starbucks is my ISP right now :-) On Oct 27, 3:10 am, Stéphane wrote: > Here it is : > > > class Doctrine_Template_Permissionable extends Doctrine_T

RE: [symfony-users] All new symfony developers please read...

2010-10-28 Thread James DeMichele
Totally agreed. In fact, I think the "Gentle Introduction" should be highlighted more on the Symfony web pages than the Jobeet tutorial. The Gentle Introduction is fantastic. -Jamie -Original Message- From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] On Behalf O

Re: [symfony-users] All new symfony developers please read...

2010-10-28 Thread Diego Bello
On Thu, Oct 28, 2010 at 3:16 AM, Gareth McCumskey wrote: > I thought I'd point something what a lot of new symfony developers don't > seem to realise. There is a great piece of documentation on the symfony site > that can answer 90% of questions for anyone new to symfony. It is the Gentle > Introd

Re: [symfony-users] Re: question about variables in symfony 1

2010-10-28 Thread Michał Piotrowski
Hi, 2010/10/27 pghoratiu : > Two possible solutions: > > 1. create a class or helper in lib/ that caches the data extraction so > that the second time when you request the data > you have it, something like this: > class myUserProfileCache > { >   static protected $userData = null; > >   public st

[symfony-users] Re: Best practice: Sharing data (e.g. i18n files) among symfony applications

2010-10-28 Thread cestcri
Actually this was even easier then expected, I just moved the i18n to a new plugin directory, included it in the ProjectConfiguration.class.php and that's it. Thank you symfony! Have a nice day, Christian On Oct 28, 12:13 pm, cestcri wrote: > Thanks for your immediate reply, Damien! > > I act

[symfony-users] Re: Best practice: Sharing data (e.g. i18n files) among symfony applications

2010-10-28 Thread cestcri
Thanks for your immediate reply, Damien! I actually looked already into the nice and neat sfView extension, but a whole new application is the better way in my case. I will try my luck with a private i18n plugin... and will report back if this turns out to be a good choice. Thanks again, Christ

Re: [symfony-users] Best practice: Sharing data (e.g. i18n files) among symfony applications

2010-10-28 Thread Damien Alexandre
The main goal is to avoid code duplication, for your mobile version, if the changes are only different templates, you can extend sfView to return a myView::MOBILE_SUCCESS and create your indexMobileSuccess.php views right to your indexSuccess.php. If you have change to make in your actions, then a

[symfony-users] Best practice: Sharing data (e.g. i18n files) among symfony applications

2010-10-28 Thread cestcri
Hi all, I am currently building a mobile version for my symfony site. I chose to create a new app next to the frontend, since the mobile version will be very different, basically with fewer features. I wonder now if: a) this is a good choice b) how to access shared data like my i18n files Tha

[symfony-users] Re: WkHtmlToPdf in Symfony

2010-10-28 Thread fxsymfony
Hey Florian thanks for the help. I have Snappy up and running in Symfony 1.4 following the steps you described. The only difference is that I save the temp html files in the web folder so that they can access the images and css (I'm planning on having them erased with a script afterwards). It wor

Re: [symfony-users] Re: best way to implement ownership?

2010-10-28 Thread Paul Burdon
Thanks Gustavo, I'll take a look. Paul On 27 October 2010 18:04, Gustavo Fonseca wrote: > Hi, the solution i've used for solving the "ownership" issue is here: > > http://reddes.bvsalud.org/projects/institutions_directory/browser/trunk/lib/doctrine/Doctrine/Template > > I hope this help =] > >

Re: [symfony-users] All new symfony developers please read...

2010-10-28 Thread Daniel Lohse
Well said! It also contributes to the readability of the mailinglist because there's less noise with answers like "it's in the documentation — just read it". Cheers, Daniel Sent from my iPhone4 On Oct 28, 2010, at 8:16 AM, Gareth McCumskey wrote: > I thought I'd point something what a lot of

Re: [symfony-users] Mondongo, an ODM for PHP and MongoDB (and symfony!)

2010-10-28 Thread Konrad Korzeniowski
Looks promising! :-) -- rgrds., Konrad Korzeniowski [2010-10-28 08:48] Pablo Díez: > Hi all, > > I'm the creator of Mondongo, an ODM for PHP and MongoDB. > > Another ODM? I know (as a symfony and a doctrine user) that Doctrine has an > ODM to work with MongoDB, but its architecture is completel