[symfony-users] Re: mediatemnple Dv server symfony deployment

2010-06-10 Thread pghoratiu
The frontend_dev.php is limited by default for accesses from localhost. Check and change that (add your IP) or delete that limitation altogether. gabriel On Jun 11, 9:13 am, fRAnKEnSTEin wrote: > using the "frontend_dev.php" i get: > > You are not allowed to access this file. Check frontend

[symfony-users] Re: mediatemnple Dv server symfony deployment

2010-06-10 Thread fRAnKEnSTEin
using the "frontend_dev.php" i get: You are not allowed to access this file. Check frontend_dev.php for more information. any idea? -- 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

[symfony-users] Re: mediatemnple Dv server symfony deployment

2010-06-10 Thread pghoratiu
Check also the output with the development controller (frontend_dev.php). In case you get blank page with prod you can see the problem with dev. gabriel On Jun 11, 7:12 am, fRAnKEnSTEin wrote: > Hi there, > > Does any body knows any tutorial/guide/page or something that explains > how to dep

[symfony-users] mediatemnple Dv server symfony deployment

2010-06-10 Thread fRAnKEnSTEin
Hi there, Does any body knows any tutorial/guide/page or something that explains how to deploy a Symfony(v1.4) project in a dedicated virtual (dv 3.5) mediatemple server? At the moment i have just uploaded the project to my dv server, chaged the Db configuration like this pgae explains: http://w

Re: [symfony-users] Re: Translation request

2010-06-10 Thread Moteo Air
LT(lithuanian): Lietuviškai sakau: Reikia Symfony programuotojų 2010/6/7 Alexandru-Emil Lupu > RO: > Ok, în engleză pură: > - Avem nevoie de programatori symfony. > > > On Mon, Jun 7, 2010 at 10:42 AM, Tom Ptacnik wrote: > >> In Czech: >> >> Potřebujeme Symfony programátory. >> >> >> On 4

[symfony-users] Re: accessing action instance in sfComponent

2010-06-10 Thread mlu...@gmail.com
p.s.: @McCumskey: There is no renderPartial in sfComponent. I forgot: The documentation would be much faster to navigate is class names in function signature would be linked to the class' documentaion. regards, michael On 10 Jun., 19:07, "mlu...@gmail.com" wrote: > Hi! > > @Eno: > I searched

[symfony-users] Re: accessing action instance in sfComponent

2010-06-10 Thread mlu...@gmail.com
p.s.: @McCumskey: There is no renderPartial in sfComponent. I forgot: The documentation would be much faster to navigate if class names in function signatures would be linked to the class decumentation. regards, michael On 10 Jun., 19:07, "mlu...@gmail.com" wrote: > Hi! > > @Eno: > I searched

[symfony-users] Re: accessing action instance in sfComponent

2010-06-10 Thread mlu...@gmail.com
Hi! @Eno: I searched the documentation, but I think it could be better. I started at the documentation of sfComponent and looked after a getter that gives something back that could lead to the action instance. Unfortunately no getter looked to me doing this. To be honest, I think to get from sfCom

[symfony-users] Re: PHP related, but on a symfony site

2010-06-10 Thread Richtermeister
Hey Parijat, actually, it just changes the order the results are displayed in. The original query stays the same except for the ORDER BY clause. The symfony admin generator behaves the same way. Daniel On Jun 9, 10:12 pm, Parijat Kalia wrote: > hello everyone, here's my 2nd doubt of the day. >

[symfony-users] sfJqueryTreeDoctrineManagerPlugin events

2010-06-10 Thread DC
Does anyone know how I can trigger the Category::save() event every time I create a new category? That is, assumming I`m using "Category" as the nested model. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

Re: [symfony-users] PHP related, but on a symfony site

2010-06-10 Thread Gareth McCumskey
Sorry if I sound snide, but thats all fascinating info. Your question was? On Thursday 10 June 2010 07:12:22 Parijat Kalia wrote: > hello everyone, here's my 2nd doubt of the day. > > So I have a paginated display of records...lets say something like this, > these are headers > > author questio

Re: [symfony-users] accessing action instance in sfComponent

2010-06-10 Thread Gareth McCumskey
I am just wondering why you would need to get the partial from within the action? If you want a component to render a partial instead of a full template why not just call $this->renderPartial('partial_name'); at the end of the component method to make it display that partial? On Thursday 10 Jun

Re: [symfony-users] accessing action instance in sfComponent

2010-06-10 Thread Eno
On Thu, 10 Jun 2010, Daniel Lohse wrote: > And I'm also going to say this: use the API documentation to find out what > you want to do and how to get there. :) What? You mean, read documentation? That would be far too convenient! :-D -- -- If you want to report a vulnerability issue on sym

[symfony-users] Re: accessing action instance in sfComponent

2010-06-10 Thread mlu...@gmail.com
Hi! Thank you very much! It was: $this->getController()->getActionStack()->getLastEntry()- >getActionInstance()->renderPartial(); regards, michael On 10 Jun., 09:38, Daniel Lohse wrote: > This actually is possible but it's pretty long-winded so here we go: > > In your component call > $this-

[symfony-users] css/js/images on different server

2010-06-10 Thread Lea Haensenberger
Hi all, on our live server we'd like to have all the css, js and image files on a different server than the application server itself. On our local installations we, however, still wanna use the files in the web folder in the application itself. Is there a way to define the root path/url for those

Re: [symfony-users] A pagination issue

2010-06-10 Thread Eno
On Wed, 9 Jun 2010, Parijat Kalia wrote: > Got it working!!! > Thanks a lot to both yourself and ENo!!! You could also clean up the URL and make it more user- and SEO-friendly by using routing and the link_to() helper (you know, actually using the framework properly). Query strings are fugly.

[symfony-users] Re: Trouble whith session and sfWebRequest

2010-06-10 Thread Albert Johé
Well... it is possible that it can be a bug? When you use a call to jquery 1.4.1 to code.google, then when you try to save a value from sfWebRequest->getParameter to session or file, this value is changed to "images". But it's only changed when it's called the jquery. You can use the correct valu

Re: [symfony-users] A pagination issue

2010-06-10 Thread Gareth McCumskey
The single BIGGEST reason for NOT using $_GET and using $request- >getParameter() instead is security. $_GET will return to you exactly what the user entered, which could be SQL injection attacks, or other security related issues. symfony automagically cleans all request parameters (be they POST

[symfony-users] Re: Custom directory structure

2010-06-10 Thread Ragnis
I made symlink but it still displays that error. On Jun 6, 4:02 pm, "rooster (Russ)" wrote: > On Jun 6, 9:21 am, Ragnis wrote: > > > I can't learn it if I can't get it to work. > > > Theese "framework guys" never think about those who are using shared > > hosting. > > The way restrictive shared

[symfony-users] Setting default culture in a task with symfony 1.4.5

2010-06-10 Thread Manel
I have a task that I want to have a culture that is no "en" I fixed the culture in settings.yml: all: i18n: true default_culture:es But, when I execute a task, the default culture for all related propel is en. If I execute sfPropel::getDefaultCulture() I get al

Re: [symfony-users] Re: How to add an error to a form field

2010-06-10 Thread Asier
Yep, they probably are being bubbled up to the parentForm. Thank you for your help, I'll give it a try. Bye! On Thu, Jun 10, 2010 at 10:03 AM, Tom Ptacnik wrote: > I think that errors of hidden fields are rendered as global errors. > And from your description it looks like embeded forms leav

[symfony-users] Re: Trouble whith session and sfWebRequest

2010-06-10 Thread Albert Johé
Tom!!! You saved my life!!! I've been hard working in this for a week. I was too lost to see the light and with your "die" i've discovered the trouble. The value is changed at the file when i load the JQuery javascript library in the layout from google. I changed it to a local version of javascrip

[symfony-users] Re: Trouble whith session and sfWebRequest

2010-06-10 Thread Albert Johé
If i do a die at the end of the function... the value in the file is correct. Then... how is possible that the value in that file change after the function? Thanks!!! On 10 Juny, 10:37, Albert Johé wrote: > Thank's so much for your attention. > > The URL i'm typing is > :http://localhost/intra

[symfony-users] Re: Trouble whith session and sfWebRequest

2010-06-10 Thread Albert Johé
Thank's so much for your attention. The URL i'm typing is : http://localhost/intranet/intranet_dev.php/web/gProva/P/4 -> where the parameter it's P and the value a number. When i write the var_dump of getParameter at the beginning of the function it shows to me: string(1) "4" Thank's a lot

[symfony-users] Re: Trouble whith session and sfWebRequest

2010-06-10 Thread Tom Ptacnik
Show the URL you are typing. look what echo $request->getParameter('P'); die; shows On 9 čvn, 13:40, Albert Johé wrote: > I have this easy function: > > public function executeGProva(sfWebRequest $request) >   { >         file_put_contents('C:\test.txt',$request->getParameter('P')); >         ec

[symfony-users] Re: Managing i18n content for frontend in the backend

2010-06-10 Thread Tom Ptacnik
I prefer codewise, but if you can show me also how it look in action, I don't mind :) On 9 čvn, 08:08, "Christopher Schnell" wrote: > Hi, > > you like to see it codewise or in action? > > Regards, > Christopher. > > -Ursprüngliche Nachricht- > Von: symfony-users@googlegroups.com [mailto

[symfony-users] Re: using PropelRouteCollections in YAML or elsewhere

2010-06-10 Thread Tom Ptacnik
Show your: symfony app:routes nameOfTheApp On 8 čvn, 18:18, Robert Schoenthal wrote: > he guys, > > i have a propelRouteCollection: > > foo: >   class: sfPropel15RouteCollection >   options: >     model:                 Foo >     module:               foo >     prefix_path:          /:sf_culture

[symfony-users] Re: How to add an error to a form field

2010-06-10 Thread Tom Ptacnik
I think that errors of hidden fields are rendered as global errors. And from your description it looks like embeded forms leave their global errors to the master form (I didn't look into Symfony how this is done). So the solution would be just to create your own attributte in the main form, set it

Re: [symfony-users] accessing action instance in sfComponent

2010-06-10 Thread Daniel Lohse
This actually is possible but it's pretty long-winded so here we go: In your component call $this->getController()->getActionStack()->getLastEntry()->renderPartial(); I'm not sure whether you'd have to call "getAction()" after the "getLastEntry()" above, so try that out. And I'm also going to

[symfony-users] Re: sfEasyGMapPlugin

2010-06-10 Thread Omar El Mazny
yes exactly like that thank you Daniel !! On Jun 10, 3:05 am, Richtermeister wrote: > Hey Omar, > > something like > this?http://www.skinmedica.com/find-a-medical-practice?submitted=1&zip=92109 > > If so, I can share how that's done. > > Daniel > > On Jun 9, 6:28 am, Omar El Mazny wrote: > > >