I have this code:
new sfValidatorPropelUnique(array('model' = 'sfGuardUserProfile',
'column' = array('email','nric')))
Which I think should check the combined uniqueness of the fields with
the name of email,nric.
Strangely enough, this code prevents me from editing the record unless
i make
I'm not going to tell to anyone, It's to good to be shared.
How can I download all the copies from the server?
;) Thanks!!!
Fabian Lange wrote:
Dear symfony community,
I do not want you to miss our symfony 1.2 release.
So head over to our blog and check my posting:
Hi !
I have problems with admin generator on Symfony 1.2. When i want to
create a new staff for exemple, i have the form but when i click on
save, i will be redirected on the list page but i don't my new staff !
Why?
See you
--~--~-~--~~~---~--~~
You received
Someone plz look here? :)
On Nov 29, 4:06 pm, Sumedh [EMAIL PROTECTED] wrote:
When one changes some code on live site...there might be some changes
in files that get cached (like images and CSS and JS)...
How can one make the browsers reload these new items after the build?
Yes, cleaning
I think this is a routing problem. Can you copy/paste your routing.yml file?
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
Necho wrote:
Hi !
I have problems with admin generator on Symfony 1.2. When i
Cool.
Looks like a lot of interesting new features congratulations :)
Now, a few questions...
In the What's new documentation there are a lot of mentions of Propel
this and Propel-that (things like ObjectRouting) are the Doctrine
versions analogous with the Propel ones? or is Doctrine
change_culture:
url: /change_culture/:culture
param: { module: user, action: changeCulture }
requirements:
culture: (en_US|fr_FR|de_DE)
# default rules
homepage:
url: /
param: { module: main, action: index }
default_index:
url: /:module
param: { action: index }
default:
The routes for admin gen modules must be at the beginning of the file.
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
Teddy Maitre wrote:
change_culture:
url: /change_culture/:culture
param: {
Hello,
I've run into a problem with admin generator.
php symfony propel:generate-admin admin Administrator
Now I go to http://localdomain/admin_dev.php/administrators and I get
sfError404Exception: Action administrators/index does not exist.
What could be the problem? The cache is cleared.
--
Thanks ! It does work now! I must write all the new code before the default
rules no?
--- En date de : Lun 1.12.08, Fabien Potencier [EMAIL PROTECTED] a écrit :
De: Fabien Potencier [EMAIL PROTECTED]
Objet: Re: Re : [symfony-users] Re: Problem with create Admin generator Symfony
1.2
À:
You have a typo in your URL should it not be administrator? singular?
Regards
Alistair
2008/12/1 Rytis Daugirdas [EMAIL PROTECTED]
Hello,
I've run into a problem with admin generator.
php symfony propel:generate-admin admin Administrator
Now I go to
Hello,
Today I have updated symfony to 1.2.0 version, run my project's tests
and got many errors. Error shows when I try to check the error message
in the from. For example it is always 'required' instead of the error
I have defined in form class. In the browser error message is correct
and also
Hello,
Today I have updated symfony to 1.2.0 version, run my project's tests
and got many errors. Error shows when I try to check the error message
in the from. For example it is always 'required' instead of the error
I have defined in form class. In the browser error message is correct
and also
Well, I am not sure. Yes, /administrator does work, BUT the documentation
indicates a plural form:
http://www.symfony-project.org/book/1_2/14-Generators
http://localhost/backend.php/article*s*
Anyway, thanks for helping, it does work, even if not according to the
documentation.
On Mon, Dec 1,
There are more bugs. Line 160 and 164 I think there also should be
$error-getMessage() instead of $error-getCode().
On 1 Gru, 14:00, xwolf [EMAIL PROTECTED] wrote:
Hello,
Today I have updated symfony to 1.2.0 version, run my project's tests
and got many errors. Error shows when I try to check
It could be the reason, yes. You'll need to modify your
asynchronously loaded script to have the parameter 'script' =
true. You'll then see any javascript included in the asynchronous
call executed.
Charley
On Nov 26, 2008, at 2:58 AM, GarethMc wrote:
Just realised that perhaps this
Does someone have any example that works with the admin generator?
I followed the documentation for 1.2 from the site but it is buggy
with misspellings and commands that should work but dont.
Does anyone have any tutorials that work well?
--~--~-~--~~~---~--~~
i have the same question
On Dec 1, 9:05 am, Reynier Perez Mira [EMAIL PROTECTED] wrote:
Hi every:
I have one doubt about the release of Symfony 1.2. Is the documentation
updated or not? What is the state of this?
Regards and thanks in advance
Ing. Reynier Pérez Mira
Dirección Técnica
There are plenty of examples on the site that work, in the blog and in
chapter 14 of the book.
Which doesnt work?
Fabian
On Mon, Dec 1, 2008 at 3:05 PM, PaulM [EMAIL PROTECTED] wrote:
Does someone have any example that works with the admin generator?
I followed the documentation for 1.2 from
hallo,
how can i set one connection as default when i use multiple
connections?
greetings
Gimler
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
Hi !
I would like to custom the admin of my module Staff. I have read the
tutorial
http://www.symfony-project.org/blog/2008/10/31/new-in-symfony-1-2-the-admin-generator
and i have seen that it's possible! I must edit the code but where is
this code file?
The code file of admin generator for
I have fixed the
http://www.symfony-project.org/blog/2008/10/31/new-in-symfony-1-2-the-admin-generator
blog post.
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
PaulM wrote:
Does someone have any example
symfony cc ?
On Mon, Dec 1, 2008 at 3:50 PM, PaulM [EMAIL PROTECTED] wrote:
Here is what I am doing based on this documentation:
http://www.symfony-project.org/book/1_2/14-Generators
Step 1:
Create schema.yml:
propel:
blog_article:
id: ~
title: varchar(255)
Did you try clearing the cache?
PaulM wrote:
Here is what I am doing based on this documentation:
http://www.symfony-project.org/book/1_2/14-Generators
Step 1:
Create schema.yml:
propel:
blog_article:
id: ~
title: varchar(255)
content:
Yes I have tried everything. I used symfony before and so I basically
understand how it worksbut the docs need to be updated...
On Dec 1, 9:58 am, Ant Cunningham [EMAIL PROTECTED]
wrote:
Did you try clearing the cache?
PaulM wrote:
Here is what I am doing based on this documentation:
Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
\backend2\dev\modules\autoArticle\lib
\BaseArticleGeneratorConfiguration.class.php on line 210
On Dec 1, 9:58 am, Ant Cunningham [EMAIL PROTECTED]
wrote:
Did you try clearing the cache?
PaulM wrote:
Here is what I am
On Mon, Dec 1, 2008 at 4:09 PM, PaulM [EMAIL PROTECTED] wrote:
Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
\backend2\dev\modules\autoArticle\lib
\BaseArticleGeneratorConfiguration.class.php on line 210
You need to run ./symfony propel:build-filters
Then symfony cc
Still the same.should I reinstall Symfony? ;) do a Symfony
Reboot?
On Dec 1, 10:12 am, Nicolas Perriault [EMAIL PROTECTED] wrote:
On Mon, Dec 1, 2008 at 4:09 PM, PaulM [EMAIL PROTECTED] wrote:
Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
Let me ask you this:
1.1 Documents show :
propel:
blog_article:
_attributes: { phpName: Article }
id:
title: varchar(255)
content: longvarchar
created_at:
blog_comment:
_attributes: { phpName: Comment }
id:
article_id:
author: varchar(255)
are you using multiple versions of symfony? 1.0 w 1.2?
2008/12/1 PaulM [EMAIL PROTECTED]
Let me ask you this:
1.1 Documents show :
propel:
blog_article:
_attributes: { phpName: Article }
id:
title: varchar(255)
content: longvarchar
created_at:
no...just 1 - 1.2 version.
On Dec 1, 10:50 am, Serkan Koyuncu [EMAIL PROTECTED] wrote:
are you using multiple versions of symfony? 1.0 w 1.2?
2008/12/1 PaulM [EMAIL PROTECTED]
Let me ask you this:
1.1 Documents show :
propel:
blog_article:
_attributes: { phpName: Article }
I did everything again the exact same way and still getting the same
error:
Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
\backend\dev\modules\autoArticle\lib
\BaseArticleGeneratorConfiguration.class.php on line 210
On Dec 1, 11:28 am, PaulM [EMAIL PROTECTED] wrote:
Okay - I did Propel:build-filters and now its working
but HOLY COW - why so much work for something so simple...
there has to be a better way!
On Dec 1, 11:28 am, PaulM [EMAIL PROTECTED] wrote:
no...just 1 - 1.2 version.
On Dec 1, 10:50 am, Serkan Koyuncu [EMAIL PROTECTED] wrote:
are
Someone must redo the entire doc for the admin generator. Here is why:
generator:
class: sfPropelGenerator
param:
model_class: BlogArticle
theme: admin
non_verbose_templates: true
with_show: false
singular: ~
plural:
What do you have in the lib/model/filter/ directory?
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
PaulM wrote:
I did everything again the exact same way and still getting the same
error:
Fatal
You have to use versioning for your resource files, one way to do it
is described here:
http://particletree.com/notebook/automatically-version-your-css-and-javascript-files/
Regards,
gabriel
On Dec 1, 1:58 pm, Sumedh [EMAIL PROTECTED] wrote:
Someone plz look here? :)
On Nov 29, 4:06
PaulM wrote:
Someone must redo the entire doc for the admin generator. Here is why:
generator:
class: sfPropelGenerator
param:
model_class: BlogArticle
theme: admin
non_verbose_templates: true
with_show: false
singular:
Okay - finaly I am at the bottom of this thing:
symfony cc does not empty the cache folderis this a problem?
this is why stuff gets not purged
On Dec 1, 12:38 pm, PaulM [EMAIL PROTECTED] wrote:
okay - here is the problemin the docs - there are several
versions for the
Can someone please do exactly as the docs suggest and eliminate the
confusing errors that make it difficult for everyone to learn the new
admin generator?
the schema does not correspond to the commands followed in the
documentation...and the schema from one section of the doc model is
different
http://www.symfony-project.org/book/1_2/
This is outdate see by yourself the Chapter 10 Forms for example
Ing. Reynier Pérez Mira
Dirección Técnica IP
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users
Hi,
it is not:
This chapter describes the way forms were implemented in symfony 1.0.
For compatibility reason and because of the admin generator feature
still uses this system, this information is also valuable for symfony
1.1. However, if you start a new project with symfony 1.1, you also
Just create the directory `apps/my_app/name_of_module/templates` and if you
create a template with the same name it will use that file instead of the
auto generated cache version.
- Jon
On Mon, Dec 1, 2008 at 8:38 AM, Necho [EMAIL PROTECTED] wrote:
Hi !
I would like to custom the admin of
- http://www.symfony-project.org/book/forms/1_2/en/
I agree with you Fabian we can use this book (that remains incomplete yet) but
this is not the only thing that changes in the new Symfony 1.2. There are a
lots of things changed here for example:
* Routing
* Forms
* Request
* and much
Another myth I've encountered is that sf forces you to use an ORM or
DBA..
I'd love to see that talk, but I won't be able to go to the
conference. Is it in english, and is there a way for you to tape it
and put it online? :)
On Nov 25, 12:21 pm, Stefan Koopmanschap
[EMAIL PROTECTED] wrote:
On Nov 29, 6:06 am, Sumedh [EMAIL PROTECTED] wrote:
When one changes some code on live site...there might be some changes
in files that get cached (like images and CSS and JS)...
How can one make the browsers reload these new items after the build?
One way is to add a query string when you
2008/12/1 Lee Bolding [EMAIL PROTECTED]:
Thanks!
Shouldn't this be in the 1.2 version of the book though?
+1
A user contributed notes under each book chapter would be nice, like
the one in the online php manual, that's very useful, I think
--
Cinxgler Mariaca Minda
On Nov 25, 3:21 pm, Stefan Koopmanschap [EMAIL PROTECTED]
project.com wrote:
For instance,
that symfony is slow, that you only do configuration, that it is
extremely coupled, etc.
I think the main ones are performance and ORM usage. And as far as
configuration goes, its no better or no worse
On Dec 1, 3:49 pm, Nicolas Perriault [EMAIL PROTECTED] wrote:
I don't want to speak in the name of Fabien, but to me the Jobeet
tutorials will be the new book, dedicated to 1.2. Just imagine 24x the
the content seen in the first day.
I love the new tutorial since Ive been waiting for 1.2 for
Dear men or women:
I am sorry to apply for leaving the mailgroup. Coz there are too much
information everyday, I can't read.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to
On Tue, 2 Dec 2008, Kenneth Lin wrote:
Dear men or women:
I am sorry to apply for leaving the mailgroup. Coz there are too much
information everyday, I can't read.
http://googlegroups.com/group/symfony-users/subscribe
--
--~--~-~--~~~---~--~~
You
Does calling $this-setWidget('control_name', new sfWidgetXXX) also
reset its associated validator given the widget has already a declared
validator from its base class?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
51 matches
Mail list logo