[symfony-users] Web shop based on symfony

2010-02-07 Thread apm
I need write some small online web store. Pretty simple, multiple categories, subcategories, basket, delivery status, discounts, personal accounts, in such a way. Does anybody know plugin or some skeleton of project open-sourced and which used syfony for this? -- You received this message

Re: [symfony-users] Web shop based on symfony

2010-02-07 Thread Alexandru-Emil Lupu
Try sfshop... sent via htc magic On Feb 7, 2010 10:50 AM, apm korja...@gmail.com wrote: I need write some small online web store. Pretty simple, multiple categories, subcategories, basket, delivery status, discounts, personal accounts, in such a way. Does anybody know plugin or some skeleton

[symfony-users] Strange problem with Doctrine and SF

2010-02-07 Thread ReynierPM
Hi every: I've generated a admin module using doctrine:generate-admin task. When I try to access this module I get this error: 500 | Internal Server Error | Doctrine_Connection_Pgsql_Exception SQLSTATE[42703]: Undefined column: 7 ERROR: column t.reup does not exist LINE 1: SELECT t.id_entidad

[symfony-users] Re: ORDER BY insists on using sort_order

2010-02-07 Thread Tom Ptacnik
How do you know that this default sort value is ignored? The sorting column and order is saved to the session, right? Isn't possible that you have this sorting in the session already set - and thus your default sort setting is ignored? On 7 ún, 07:04, michael hodges mhodg...@gmail.com wrote:

Re: [symfony-users] Problem - Fatal error: Call to undefined function link_to()

2010-02-07 Thread Azrael
link_to() is a helper. Helpers are loaded while template processing. Use it from template. 2010/2/7 Eno symb...@gmail.com On Sat, 6 Feb 2010, Rodrigo Prado wrote: I haved a problem. I tried to use the function link_to():

Re: [symfony-users] Strange problem with Doctrine and SF

2010-02-07 Thread Alexandru-Emil Lupu
maybe a text in the generator.yml ? On Sun, Feb 7, 2010 at 3:19 PM, ReynierPM rper...@uci.cu wrote: Hi every: I've generated a admin module using doctrine:generate-admin task. When I try to access this module I get this error: 500 | Internal Server Error |

[symfony-users] Re: ORDER BY insists on using sort_order

2010-02-07 Thread michael hodges
Issue: updating the list sort criteria in the generator.yml file does not seem to change the default sort for the list. Symptoms: initially updating the list sort criteria seems to work, and then it stops working and appears to be ignored. Worse case is that you may be stuck with a sort criteria

Re: [symfony-users] Web shop based on symfony

2010-02-07 Thread apm
Alexandru-Emil Lupu : Try sfshop... sent via htc magic Its for 1.2. After a day playing with sfShop, i cant switch it to 1.4. And found some problems. But tnx, its better than nothing. Now i have 2 new Q: 1. Exists something else like webshop in symfony? 2. Is it a good pattern do all

[symfony-users] Re: Problem - Fatal error: Call to undefined function link_to()

2010-02-07 Thread Rodrigo Prado
I'm sorry for inconvenience... It's ok, using in my template the function works... Thanks! On Feb 7, 6:37 am, Azrael azrael@gmail.com wrote: link_to() is a helper. Helpers are loaded while template processing. Use it from template. 2010/2/7 Eno symb...@gmail.com On Sat, 6 Feb 2010,

[symfony-users] sfDoctrineGuard not working

2010-02-07 Thread SamuelM
Hi I followed all the instructions on the sfDoctrineGuard page step by step on a fresh install of Symfony 1.4 with the only plugin being sfDoctrineGuard but I get this error when trying to access a secure section: http://zizzerdog.com/backend_dev.php/sfGuardUser I already checked settings.yml

Re: [symfony-users] sfDoctrineGuard not working

2010-02-07 Thread Tugdual SAUNIER
Hi, In settings.yml: login_module: sfGuardAuth login_module without S ;-) Tugdual SAUNIER 2010/2/7 SamuelM samuel.morh...@gmail.com Hi I followed all the instructions on the sfDoctrineGuard page step by step on a fresh install of Symfony 1.4 with the only plugin being

[symfony-users] Route making automatic database calls

2010-02-07 Thread HiDDeN
I have this route: product: url: /:slug-:id.html param: { module: info, action: index } options: { model: Product, type: object, segment_separators: ['/', '.', '-'] } And I'm using this link_to inside a foreach (it's a list of products urls): ?php echo link_to($product['title'],

Re: [symfony-users] Route making automatic database calls

2010-02-07 Thread Eno
On Sun, 7 Feb 2010, HiDDeN wrote: I have this route: product: url: /:slug-:id.html param: { module: info, action: index } options: { model: Product, type: object, segment_separators: ['/', '.', '-'] } And I'm using this link_to inside a foreach (it's a list of products

Re: [symfony-users] Route making automatic database calls

2010-02-07 Thread Sid Bachtiar
Could it be that there's code that is executed to make sure the ids are valid ids? On Mon, Feb 8, 2010 at 1:33 PM, Eno symb...@gmail.com wrote: On Sun, 7 Feb 2010, HiDDeN wrote: I have this route: product:   url:     /:slug-:id.html   param:   { module: info, action: index }   options: {

Re: [symfony-users] Route making automatic database calls

2010-02-07 Thread Eno
On Mon, 8 Feb 2010, Sid Bachtiar wrote: Could it be that there's code that is executed to make sure the ids are valid ids? How about looking at the actual queries to see? -- -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this

[symfony-users] Editing an embedded form

2010-02-07 Thread Avi Block
I'm more or less doing the same thing that Jonathan Wage recommended doing in his article on extending sfDoctrineGuard with a profile object, only I'm doing it in reverse. I have different entities which each have a relation to the sfGuardUser object (eg., presenters who can use the admin of the

[symfony-users] Change Labels sfguarddoctrine

2010-02-07 Thread Gabo
Help! I try to change the labels: 1. Username: 2. Password For: 1. Usuario: 2. Clave I try to set: *class sfGuardUserForm extends PluginsfGuardUserForm* *{* * public function configure()* * {* * /*** * * Colocar las etiquetas a los formularios* * */* *

Re: [symfony-users] Change Labels sfguarddoctrine

2010-02-07 Thread Michał Piotrowski
Hi, 2010/2/8 Gabo gabopo...@gmail.com: Help! I try to change the labels: 1. Username: 2. Password For: 1. Usuario: 2. Clave I try to set: class sfGuardUserForm extends PluginsfGuardUserForm {   public function configure()   {       /**        * Colocar las etiquetas a los

[symfony-users] File permissions

2010-02-07 Thread EddieG
Hi everybody, while looking for file permissions I always end up in this thread: http://groups.google.com/group/symfony-devs/browse_thread/thread/afeee2a065ca5910 ... that doesn't help too much. Obviously the permissions that can be set by using symfony project:permissions are too weak.

[symfony-users] sfDoctrine and admin-generator questions

2010-02-07 Thread ReynierPM
Hi: I'm having several problems right now with sfDoctrine and admin-generator. After create successfully one module with doctrine:generate-admin task I try all this functionality: 1) When I add a new record and press the button Save and add all is fine but if I press the button Save (only) I

Re: [symfony-users] File permissions

2010-02-07 Thread Eno
On Sun, 7 Feb 2010, EddieG wrote: Obviously the permissions that can be set by using symfony project:permissions are too weak. Nonetheless in my case they don't even work. I usually do the following: 1) local: symfony project:deploy production --go Which makes me end up with a totally

[symfony-users] how to set up and configure memcache?

2010-02-07 Thread Joshua
I have searched and read and searched but I can't find any clear documentation to set this up for symfony 1.2+. Apparently there are configurations that need to be added to yml files and other things. Where can I go to read about how to do this? -- You received this message because you are

[symfony-users] Re: how to set up and configure memcache?

2010-02-07 Thread Joshua
My end goal here is to have propel queries be memcached so common queries do not need to be constantly run. On Feb 7, 11:04 pm, Joshua houseaddi...@gmail.com wrote: I have searched and read and searched but I can't find any clear documentation to set this up for symfony 1.2+. Apparently there

Re: [symfony-users] Re: how to set up and configure memcache?

2010-02-07 Thread Frank Stelzer
Hi, Here is explained, how you could configure memcache for the view cache or how you can handle memcache using within a singleton using it for everything: http://dev.esl.eu/blog/2009/06/05/memcached-as-singleton-in-symfony/ Frank Am 08.02.2010 um 05:05 schrieb Joshua: My end goal here

Re: [symfony-users] Route making automatic database calls

2010-02-07 Thread Frank Stelzer
Is $product in your foreach loop a simple array or a doctrine record? When it is a doctrine record, this would work too (without doing further db queries): ?php echo link_to($product['title'], 'product', $product) ? Frank Am 08.02.2010 um 01:24 schrieb HiDDeN: I have this route:

Re: [symfony-users] how to set up and configure memcache?

2010-02-07 Thread Gareth McCumskey
I actually wrote a blog entry on getting this done using APC cache but the underlying symfony classes work the same way for memcache as well: http://garethmccumskey.blogspot.com/2009/04/memory-caching-can-be-saviour.html On Mon, Feb 8, 2010 at 6:04 AM, Joshua houseaddi...@gmail.com wrote: I

Re: [symfony-users] Route making automatic database calls

2010-02-07 Thread Alexandru-Emil Lupu
I think that he is using doctrine and he has enabled the 'slugable' bwhavior. If so, when he is selecting the products, he does not join the translation table as well. Alecs sent via htc magic On Feb 8, 2010 3:08 AM, Eno symb...@gmail.com wrote: On Mon, 8 Feb 2010, Sid Bachtiar wrote: Could it

Re: [symfony-users] Route making automatic database calls

2010-02-07 Thread Alexandru-Emil Lupu
Ahh i think what i have said earlier is walid in case of i18n and slugable behavior... Of course.. i just asume that... i would need more info... sent via htc magic On Feb 8, 2010 3:08 AM, Eno symb...@gmail.com wrote: On Mon, 8 Feb 2010, Sid Bachtiar wrote: Could it be that there's code that