[symfony-users] Re: How to implement a basic filter on frontend with Doctrine sf1.4??

2010-03-26 Thread trankh
Yes... On 26 mar, 00:03, Tom Haskins-Vaughan t...@templestreetmedia.com wrote: +1 I've always been interseted in doing this On 3/25/10, trankh juliend1...@gmail.com wrote: Hello, I am a beginner to symfony. I haven't found a correct explanation for How to implement a basic

[symfony-users] Propel 1.4 and multi-column PKs

2010-03-26 Thread Rytis Daugirdas
Hello, I'm trying to define a multi-column PK for a table containing many-to- many relationships. This is what I have: UserGroupRelation: tableName: UserGroupRelations columns: userId: { type: integer, required: true, primary: true } groupId: { type: integer, required:

[symfony-users] Re: How to implement a basic filter on frontend with Doctrine sf1.4??

2010-03-26 Thread romain godefroy
You need to add the form filter in your template : form action=?php echo url_for('myModule/index') ? method=post id=?php echo $formFilter-getName() ? ?php echo $formFilter ? input type=submit value=search/ /form then modify your action: public function executeIndex(sfWebRequest

[symfony-users] Re: Whats the deal with the ignored Trac tickets?

2010-03-26 Thread rooster (Russ)
Hi, You should probably bring this up on the symfony-devs mailing list. regards, Russ. On Mar 26, 3:28 am, Donald chekot...@gmail.com wrote: I assume the right people will see this message... I've been submitting tickets for symfony since about Sept 2008, and I used to have a very good

[symfony-users] Re: Losing data upon creating new tables

2010-03-26 Thread godbout
Parijat, Follow the doc given by Tom. Then, once you understand, just remember that for creating the migration classes correctly you will have to do that in the correct order: 1 - your schema yml files and your database structure should match 2 - update the classes to match your schema yml by

[symfony-users] Re: How to use one connection for generated migration diff files

2010-03-26 Thread godbout
Wondering also. Seems there is no connection option from the doctrine:migrate task, looking at the help. On Mar 25, 6:44 pm, jp_morvan sacri...@free.fr wrote: Hi, I've two connections in databases.yml : all:   connection1:     class: sfDoctrineDatabase     param:       dsn:

Re: [symfony-users] no web debug toolbar in symfony 1.2.12

2010-03-26 Thread Peter Peltonen
Hi, On Thu, Mar 25, 2010 at 9:32 PM, Frank Stelzer d...@bleedingmoon.de wrote: Search your complete project for sf_web_debug. Maybe the other developer has disabled the web debug toolbar by hand [1] somewhere else in the code. I tried the following: grep -r sf_web_debug apps/

[symfony-users] After editing the data of a member logged, loggingin is not possible

2010-03-26 Thread Javier Garcia
Hi, i have installed sfDoctrineGuardUser and have created this model that inherits sfGuardUser model: Usuario: inheritance: extends: sfGuardUser type: simple columns: nombre_apellidos: string(60) sexo: boolean fecha_nac: date provincia: string(60) localidad:

[symfony-users] Re: How to implement a basic filter on frontend with Doctrine sf1.4??

2010-03-26 Thread trankh
Thank you but i have some errors: This is my code public function executeIndex(sfWebRequest $request) { // i load the list of my object which is here a list of trees $this-zulu_trees = Doctrine::getTable('ZuluTree')- retrieveAllTree(); $this-filter = new

[symfony-users] apostrophePlugin is now internationalized

2010-03-26 Thread Tom Boutell
A quick announcement: our CMS, Apostrophe, is now internationalized. The apostrophePlugin Symfony plugin now has a fully i18n-ready user interface and also offers internationalization for content. Translations in French, German and Spanish are standard in the sandbox project and you can use these

[symfony-users] Re: sfWidgetFormChoice rendered as an unordered list

2010-03-26 Thread Tom Ptacnik
I think there isn't an option, because this widged is for checkboxes, selects and so on.. (form items) You have to write your own widget for UL On 25 bře, 17:23, HiDDeN davidmoralesmoj...@gmail.com wrote: Hello. Is there some way to render a sfWidgetFormChoice as an unordered list? In the

Re: [symfony-users] Re: CMS, Catalog/Cart - Users and Administration ???

2010-03-26 Thread Bill P.
I'm not married to anything yet. Mainly trying to understand what or how I would do such a thing. I want a central user namagement that will allow CMS roles and a product listing/catalog based roles. From within the admin generation of symfony, the catalog/product listing seems pretty straight

[symfony-users] Re: Question about choice widget

2010-03-26 Thread Tom Ptacnik
Maybe you can look for decorator(formatter), with that you can still use ?php echo $form['sexo']? it's decorator or formatter, I'm not sure for now ;) There is some official tutorial on Symfony pages, but I can't find it now Try this adresses or google

[symfony-users] Re: no logs created in symfony 1.2.12

2010-03-26 Thread Tom Ptacnik
In production is clear why there isn't any log ...class: sfNoLogger but if it's not generated either in other environments.. I dont know why On 25 bře, 19:08, Peter Peltonen peter.pelto...@gmail.com wrote: Hi, On Thu, Mar 25, 2010 at 7:33 PM, Tom Haskins-Vaughan

[symfony-users] Re: Sort list of a foreign table with the Admin Generator

2010-03-26 Thread Tom Ptacnik
If you mean that you want to sort in listing by a foreigh column, try to google it, it's a common problem. etc. http://trac.symfony-project.org/wiki/HowtoSortAdminGeneratorListByForeignTableName On 25 bře, 21:14, jpcai...@piji.ca jpcai...@piji.ca wrote: Hi, I am struggling with the admin

[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-26 Thread Javier Garcia
Hi again, i have realized that when i push the Save button in edit form, the value of the field 'password' changes (well its encrypted version). Why? I tried this time with symfony 1.3 and it happens the same. Javi On Mar 26, 2:06 pm, Javier Garcia tirengar...@gmail.com wrote: Hi, i have

[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-26 Thread Javier Garcia
Even if i unset 'password' field, it happens the same.. Javi On Mar 26, 5:45 pm, Javier Garcia tirengar...@gmail.com wrote: Hi again, i have realized that when i push the Save button in edit form, the value of the field 'password' changes (well its encrypted version). Why? I tried this

Re: [symfony-users] apostrophePlugin is now internationalized

2010-03-26 Thread Tom Haskins-Vaughan
Looks great! But this worries me a little: By default, a new Symfony 1.4 project escapes all output that is emitted in templates. Apostrophe's strategy is to store valid UTF-8 encoded HTML to begin with, addressing this issue in validators. Currently you must disable output escaping in

[symfony-users] Can't get Symfony project to work after moving it.

2010-03-26 Thread DarrenMr
Here is the error I am getting: Warning: copy(/var/www/vhosts/blackhawkcigarettes.com/symfony/cache/ backend/prod/config/config_config_handlers.yml.php) [function.copy]: failed to open stream: Permission denied in /home/symfony/1.4/lib/ config/sfConfigCache.class.php on line 359 symfony is set

Re: [symfony-users] Can't get Symfony project to work after moving it.

2010-03-26 Thread Eno
On Fri, 26 Mar 2010, DarrenMr wrote: Here is the error I am getting: Warning: copy(/var/www/vhosts/blackhawkcigarettes.com/symfony/cache/ backend/prod/config/config_config_handlers.yml.php) [function.copy]: failed to open stream: Permission denied in /home/symfony/1.4/lib/

Re: [symfony-users] Can't get Symfony project to work after moving it.

2010-03-26 Thread Pablo Godel
even symfony cc is not enough sometimes. if symfony cc does not work, try removing cache/project_autoload.cache Pablo On Fri, Mar 26, 2010 at 3:13 PM, Eno symb...@gmail.com wrote: On Fri, 26 Mar 2010, DarrenMr wrote: Here is the error I am getting: Warning:

[symfony-users] Re: Can't get Symfony project to work after moving it.

2010-03-26 Thread DarrenMr
Thanks guys the permissions change worked. On Mar 26, 3:11 pm, Pablo Godel pablo.go...@gmail.com wrote: even symfony cc is not enough sometimes. if symfony cc does not work, try removing cache/project_autoload.cache Pablo On Fri, Mar 26, 2010 at 3:13 PM, Eno symb...@gmail.com wrote: On

[symfony-users] htaccess file breaks symfony routing

2010-03-26 Thread DarrenMr
Hi guys I have added an htaccess file with this simple rewrite: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} So the site will always be under SSL. However the problem is that it breaks the symfony routing. I have looked into all the SSL filters