Re: [symfony-users] MVC vs module in Symfony

2010-05-17 Thread Benoit Montuelle
Hi, Sorry I've never seen such a diagram. There is an UML picture of symfony imternals. A module covers view and controller tiers in mvc, and yes you can define filters and forms on each module, or overload the generated ones, just pût them in module/lib folders. To disable filters in an a

[symfony-users] Re: Headers already sent

2010-05-17 Thread pghoratiu
A HTTP response is composed of a. HTTP headers b. HTTP content If you try to do echo 'aaa'; header(''); You will get this error. Check if the action throws out an error or outputs something, for this do an exit before the first header() call in sfWebResponse. Common situations where I enc

[symfony-users] Join between Two Tables/Models

2010-05-17 Thread Apul Gupta
I have two tables in my database, schema below: user: id: ~ email_id: { type: varchar(100), required: true } password: { type: varchar(50), required: true } display_name: { type: varchar(100) } about_yourself: { type: longvarchar } web_u

[symfony-users] Re: any progress on ecommerce packages using Symfony?

2010-05-17 Thread Richtermeister
I second that - if the goal is a fully fledged e-commerce app, Magento would be my first choice. On the symfony side you'll find some payment integration packages, but nothing that amounts to a full store. Closest thing I know of is here: http://groups.google.com/group/symfony-ecommerce but I don't

[symfony-users] Re: Upgrading from symfony 1.1 to symfony 1.3, admin generator problems

2010-05-17 Thread Richtermeister
Hey Yyaga, while there's been quite a few changes in propel as well as the admin generator, most of them were introduced with backwards compatibility in mind, so you shouldn't have to undertake major rewrites at all. I've upgraded 1.2 to 1.4 / p1.5 without problems, as most of the generator.yml ca

[symfony-users] Headers already sent

2010-05-17 Thread Samuel Morhaim
I am trying to move my site from one host to another... same code on both.. however on the new server, one of my modules is throwing this *Warning*: Cannot modify header information - headers already sent by (output started at /var/www/ zizzerdog.com/httpdocs/apps/backend/modules/message/actions/

Re: [symfony-users] language

2010-05-17 Thread Augusto Flavio
Hi. Try to clear the cache. If it not work, then the problem can be the cache of the browser. Try to open the page in a different browser. Bye Augusto Morais -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this mess

[symfony-users] MVC vs module in Symfony

2010-05-17 Thread Dennis
So anyone seen a definitive pictogram that shows all the elements of Symfony in relation to an MVC implementation? Something like a Venn diagram showing which element of symfony belongs in which part of pure MVC? I'm kind of wondering most of all: What role in MVC does a module perform?

[symfony-users] language

2010-05-17 Thread safa boubekri
hello i configure setting as all: .settings: default_culture: fr_FR charset: utf-8 i18n:true in order to change the language but it isn't work wath i must do i have symfony 1.3 thank you -- If you want to report a vulnerability issue on sym

[symfony-users] Re: any progress on ecommerce packages using Symfony?

2010-05-17 Thread jiggliemon
I love Magento. I feel it's the best Cart available. Sorry I don't have an answer for you. It would be a shame to steer the client away from such a robust system because you have a bad taste in your mouth. -Chase On May 16, 1:08 pm, "codewi.se" wrote: > I asked about this a few months ago, and

Re: [symfony-users] Re: sfJqueryReloadedPlugin tutorial?

2010-05-17 Thread Michał Piotrowski
2010/5/17 Abraham Montilla : > the chapter 11 of the symfony guide is the main tutorial for > sfJQueryReloadedPlugin, I think that someone should mention this in sfJqueryReload README. > if you have a specific question, just ask it in > here, we are here to help us each other  =) > > 2010/5/17 Mi

Re: [symfony-users] Re: sfJqueryReloadedPlugin tutorial?

2010-05-17 Thread Abraham Montilla
the chapter 11 of the symfony guide is the main tutorial for sfJQueryReloadedPlugin, if you have a specific question, just ask it in here, we are here to help us each other =) 2010/5/17 Michał Piotrowski > 2010/5/17 Fernando Navarro Páez : > > Hi, Michał. > > > > Thank you, but I think it's inc

Re: [symfony-users] Re: sfJqueryReloadedPlugin tutorial?

2010-05-17 Thread Michał Piotrowski
2010/5/17 Fernando Navarro Páez : > Hi, Michał. > > Thank you, but I think it's incomplete. I'm looking for a step by step > tutorial or similar. I have looked for something like that a few months ago and didn't found. Maybe you will have more luck. > > On 17 mayo, 20:45, Michał Piotrowski wrot

[symfony-users] Re: sfJqueryReloadedPlugin tutorial?

2010-05-17 Thread Fernando Navarro Páez
Hi, Michał. Thank you, but I think it's incomplete. I'm looking for a step by step tutorial or similar. On 17 mayo, 20:45, Michał Piotrowski wrote: > Hi, > > 2010/5/17 Fernando Navarro Páez : > > > Hi! > > > Do you know if exist sfJqueryReloadedPlugin tutorial or similar? > > It's not exactly sf

Re: [symfony-users] sfJqueryReloadedPlugin tutorial?

2010-05-17 Thread Michał Piotrowski
Hi, 2010/5/17 Fernando Navarro Páez : > Hi! > > Do you know if exist sfJqueryReloadedPlugin tutorial or similar? It's not exactly sfJquery tutorial http://www.symfony-project.org/book/1_2/11-Ajax-Integration but API is similar - you need to use jq_link_to_remote instead of link_to_remote and so o

[symfony-users] sfJqueryReloadedPlugin tutorial?

2010-05-17 Thread Fernando Navarro Páez
Hi! Do you know if exist sfJqueryReloadedPlugin tutorial or similar? Thanks in advance Fernando -- 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 Groups "symfony users

[symfony-users] Call to undefined function include_component()

2010-05-17 Thread fRAnKEnSTEin
Hi, I have followed "Language Switching" from http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19 tutorial for implementing a combo laguage selector to my site. When i try to load the site i get an error: Fatal error: Call to undefined function include_component() in apps/frontend/temp

[symfony-users] Re: Templates in a single directory

2010-05-17 Thread Richtermeister
There's also this plugin: http://github.com/weaverryan/sfThemePlugin/blob/master/README.markdown Haven't tried it yet, but seems to take care of theming, except the image directory as far as I can see, but that seems to make sense to me, as some images could be shared between themes. Daniel On

Re: [symfony-users] Symfony Cache grows to much?

2010-05-17 Thread Eno
On Mon, 17 May 2010, ToM wrote: > I've got a question about automatic file cache cleaning in symfony > 1.1.x. The problem is that when all the cache files stored in ./cache > folder grows the apache server has problems with parsing them > consuming to much RAM. I've found in sfCache API that we ca

Re: [symfony-users] Hey guys... transactions??

2010-05-17 Thread Garry Freemyer
I dunno, which of my guesses was the correct one in your case? If you mean moving it out of the transaction made it work. I reasoned that a resilient database engine might have been programmed to choose to simply ignore the transaction related stuff, including the rollback in favor of giving an

Re: [symfony-users] Re: passing values as query string to a form

2010-05-17 Thread Arun Raj R
Thank you Tom . I done it and pasted in my blog : http://www.techaspirant.com/how-to-set-values-input-field-in-symfony-1-4-generated-forms/ On Mon, May 17, 2010 at 7:54 PM, Tom Ptacnik wrote: > You can create your own route for this form (with customer id), then > read the id from the url > > >

[symfony-users] Symfony Cache grows to much?

2010-05-17 Thread ToM
Hello All, I've got a question about automatic file cache cleaning in symfony 1.1.x. The problem is that when all the cache files stored in ./cache folder grows the apache server has problems with parsing them consuming to much RAM. I've found in sfCache API that we can set lifetime and automatic_

[symfony-users] Circular references in fixtures (patch for sfPropelData.class.php)

2010-05-17 Thread Jan Fabry
I believe there is currently no support for circular references in data fixtures. I have created a patch for sfPropel15Plugin that allows this, and I think it can be easily adapted for Doctrine or Propel 1.4. My solution allows you to update an already defined and saved object, and it provides an

[symfony-users] Re: passing values as query string to a form

2010-05-17 Thread Tom Ptacnik
You can create your own route for this form (with customer id), then read the id from the url On 16 kvě, 18:20, TechieMe wrote: > basically i have two modules > > Customers and logs, > > This is basically CRM tool. it used to record how many times we > contacted the customer > > This is my schem

[symfony-users] Re: Templates in a single directory

2010-05-17 Thread Johannes
I've struggled with this problem myself, and as far as my research went there are two possible solutions: 1. Overwrite getTemplateDirectory, getDecoratorDirectory of sfApplicationConfiguration in your appConfiguration class (i.e. frontendConfiguration). Pros: - looks like the cleaner approach, not

Re: [symfony-users] Using sfPHPExcelPlugin in Symfony 1.4

2010-05-17 Thread ReynierPM
Hi Deepak: As the error says you have missing the handler or maybe the config file. Try this: 1) Under apps/[application_name]/config create a file called phpexcel.yml and setup the parameters like this example: all: meta: creator: title: subject: description: keywords:

[symfony-users] Upgrading from symfony 1.1 to symfony 1.3, admin generator problems

2010-05-17 Thread tyaga
We have a project on symfony 1.1 and propel 1.3. We want to upgrade it to symfony 1.4 and propel 1.5. We've realized that there are some problems with admin generator - it seems like the interfaces of classes have been changed. Even the names of generated files in /cache/ also have been changed, an

[symfony-users] any progress on ecommerce packages using Symfony?

2010-05-17 Thread codewi.se
I asked about this a few months ago, and I wonder if there has been much progress? I'm about to do a big ecommerce project and the client is leaning toward using Magento. I hate Magento. Are there any worthwhile ecommerce packages out there based on Symfony? -- If you want to report a vulnerabil

Re: [symfony-users] "project" reserved

2010-05-17 Thread Pietrino Atzeni
Hi, "project" is not a reserved word in symfony... I used that in a Doctrine project about Project Management, see http://github.com/nubee/nubee. Why do you say that? Cheers, Pietro Is "project" a special reserved word in your data model for Symfony / Propel? I know MySQL accepts it as a ta

[symfony-users] "project" reserved

2010-05-17 Thread HAUSa
Is "project" a special reserved word in your data model for Symfony / Propel? I know MySQL accepts it as a table name. Is there a hack for still using it? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message becau

[symfony-users] Re: In the Jobeet tutorial day 4 what is the 'a' parameter to createQuery do?

2010-05-17 Thread bedomon
I think it is an alias for the table. Get a look on this page: http://www.symfony-project.org/doctrine/1_2/en/06-Working-With-Data in the Create New Query section you will find your answer. On 15 mai, 22:42, Garry Freemyer wrote: > I looked over google till my eyes bled. I do not find any expl

Re: [symfony-users] Where to put sfPHPExcelPlugin in Symfony 1.4

2010-05-17 Thread DEEPAK BHATIA
Thanks Alvaro, All the files are present as they are part of the downloaded package. Can you send me your package ? Regards Deepak Bhatia On Mon, May 17, 2010 at 5:01 PM, Alvaro Videla wrote: > Hi, > > By READING your error message, I can see that it says this: > > *Fatal error*: Uncaught exc

[symfony-users] Re: sfCKEditorPlugin not dislplaying

2010-05-17 Thread Fabrizio Cuscini
I solved by putting path: %sf_web_dir%/js/ckeditor/ in the config/autoload.yml file This could let your app load CKEditor class. And, concerning to the components loading of ckeditor, put this in app.yml all: ckeditor: basePath: /js/ckeditor/ this path is relative to the web ro

Re: [symfony-users] Where to put sfPHPExcelPlugin in Symfony 1.4

2010-05-17 Thread Alvaro Videla
Hi, By READING your error message, I can see that it says this: > Fatal error: Uncaught exception 'sfConfigurationException' with message > 'Configuration file > "C:/development/sfprojects/jobeet/lib/vendor/symfony/lib/plugins/sfPhpExcelPlugin/config/phpexcel.yml" > does not have a registered

[symfony-users] Where to put sfPHPExcelPlugin in Symfony 1.4

2010-05-17 Thread DEEPAK BHATIA
Hi, I initialised the sfPHPExcelPlugin in ProjectConfiguration. I see the my plugin is getting invoked but I get the following error ** * == * *Fatal error*: Uncaught exception 'sfConfigurationException' w

Re: [symfony-users] Re: I cannot see the images in the browsers of Windows XP (VirtualBox)

2010-05-17 Thread Michał Piotrowski
So you need to add 10.0.2.2 rs.localhost to Windows and Linux host file. Then type rs.localhost in your browser. 2010/5/17 Javier Garcia : > "Can't see" means the images are not showed. > > I have Ubuntu and then I installed VirtualBox with: > > Windows XP: the images from 'uploads' directory ar

Re: [symfony-users] Re: I cannot see the images in the browsers of Windows XP (VirtualBox)

2010-05-17 Thread Javier Garcia
"Can't see" means the images are not showed. I have Ubuntu and then I installed VirtualBox with: Windows XP: the images from 'uploads' directory are showed but, for example, the images of the debug toolbar no... Ubuntu: the same as in Windows XP. This is the virtual host configuration: Ser

[symfony-users] Re: In the Jobeet tutorial day 4 what is the 'a' parameter to createQuery do?

2010-05-17 Thread Tom Ptacnik
It's only an alias. So usualy when i create query from users I use ->createQuery('u'), from Pages ->createQuery('p') if from Pages and Programs in one query ... ->createQuery('pa'). ->from('Programs pr') On 15 kvě, 22:42, Garry Freemyer wrote: > I looked over google till my eyes b

[symfony-users] Re: IP blocking for a specific page element in a symfony 1.0 project

2010-05-17 Thread Tom Ptacnik
Yes, you can add the relevant ip's into the app.yml. Then in the appropriate action I would do sometnig like if ($actualIP is in_array(config->(app_denied_ips)) { $this->hideEmail = true} And you have to customize you template On 13 kvě, 10:44, blurmy23 wrote: > Hey folks, > > I've inherite

[symfony-users] Re: I cannot see the images in the browsers of Windows XP (VirtualBox)

2010-05-17 Thread Tom Ptacnik
What does it mean "Can't see" ? They are not showed in the browser? - On other platform (ie linux) they are show on the sam page? or "can't see" means something else? On 14 kvě, 13:37, Javier Garcia wrote: > Hi, > > I've some browsers installed in VirtualBox/Windows XP, and I can not see > the

[symfony-users] Re: How to show the validation errors inside the modal box?

2010-05-17 Thread Tom Ptacnik
Ok, and how do you show the modal box? Is it a simple div or some library? What you need is to modify the process form action... something like: if ($form->isValid()) { .. save it, redirect } else { //show modal box with errors .. e.g. set template, renderPartial(), redirect or don't redirect.

[symfony-users] Using sfPHPExcelPlugin in Symfony 1.4

2010-05-17 Thread DEEPAK BHATIA
Hi, I downloaded the sfPhpExcelPlugin-1.0.3.gz and installed in the C:\development\sfprojects\jobeet\lib\vendor\symfony\lib\plugins\sfPhpExcelPlugin I updated the ProjectConfiguration.class.php enablePlugins(array('sfPropelPlugin','sfPhpExcelPlugin')); } } But I get the following error in th

Re: [symfony-users] Templates in a single directory

2010-05-17 Thread Georg Gell
It might be worth looking into using your own view class: something along class myView extends sfPHPView { public function setDirectory($directory){ $this->directory = $directory . '/theme'; //whatever, must be full path } } and in filters.yml rendering: class: myView But then caching