Yes ofcourse
On Dec 1, 1:48 pm, Teddy Maitre <[EMAIL PROTECTED]> wrote:
> Thanks ! It does work now! I must write all the new code before the default
> rules no?
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
How can I catch errors in admin generator ?
Thanks for you help !
On Dec 2, 11:32 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote:
> Sure, catch the error and display it in the template.
>
> - Jon
>
>
>
> On Tue, Dec 2, 2008 at 3:59 PM, Tipoun <[EMAIL PROTECTED]> wrote:
>
> > > You need to add onD
I tried the code you posted, but unfortunately it's still not working. Does
anybody has other suggestions? It is sad, that I can't switch to SF 1.2 just
because this single action isn't working.
Oddly if I execute the action the browser reports that it's getting an
image, but if I try to open it,
I used the Symfonians trunk as my 1.1 tutorial ;)
I'd hold off using 1.2 for a real-world project until the
documentation is in a better state. There's far too much undocumented
at the moment.
On 2 Dec 2008, at 23:06, Fabian Lange wrote:
> Hi,
> Even when I would recommend to start with 1.2
Hi,
Even when I would recommend to start with 1.2, I can understand that you
might want to go with the older (=more stable) version.
If you go with 1.1 you will have no dedicated tutorial, but a lot of
documentation. There is however some stuff from 1.2 that fits better to 1.1
than 1.0 stuff from a
On Tue, Dec 2, 2008 at 1:41 PM, Dean Farrell
<[EMAIL PROTECTED]>wrote:
>
>
> I see there's a Symfony 1.0.x tutorial, Askeet, and there's a tutorial for
> Symfony 1.2.x, Jobeet. I was wondering if there is a tutorial for the
> Symfony 1.1.x family, or should I choose one or the other of the availa
Sure, catch the error and display it in the template.
- Jon
On Tue, Dec 2, 2008 at 3:59 PM, Tipoun <[EMAIL PROTECTED]> wrote:
>
> > You need to add onDelete: CASCADE to the relationship definition so that
> the
> > delete operations are cascaded at the dbms level.
>
> But, if I don't want to de
For the 1.0.10 one, it's quiet simple.. You juste have to setup your symfony
dir as external in the lib/vendor directory (to the last 1.0.x version). Then
modify your paths in the config/config.php file. (+ replace/symlink/snv the /sf
dir in the /web folder)
For the 0.9.0-DEV i'am not sure ther
It is due to a bug in PEAR. We are working on it.
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
Sid Bachtiar wrote:
>> It's been stated many times that the latest symfony requires more recent
>> ver
I believe the sfAssetsLibraryPlugin is just what you need.
Hope it helps,
Daniel
On Dec 2, 2:07 am, tef_be <[EMAIL PROTECTED]> wrote:
> Hi all,
> I use sfMediaLibrary in tinyMCE and I found it great !
> but I want to use it outside.
> I want the admin of the app able to upload pictures associ
> You need to add onDelete: CASCADE to the relationship definition so that the
> delete operations are cascaded at the dbms level.
But, if I don't want to delete the foreign key ? Can I just display an
error ?
On Dec 2, 10:48 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote:
> You need to add onDel
Sorry to ask questions in such quick succession, but I was wondering if
anyone was aware of a fairly painless way to upgrade from sandbox versions
of Symfony to standard production versions.
We have two live applications written in older versions of the sandbox:
One, in Symfony version 0.9.0-DEV,
> It's been stated many times that the latest symfony requires more recent
> versions of PHP.
Right, but I'm not using the latest Symfony. I'm using version 1.1!
On Wed, Dec 3, 2008 at 2:18 AM, Eno <[EMAIL PROTECTED]> wrote:
>
> On Tue, 2 Dec 2008, Sid Bachtiar wrote:
>
>> >> sfPearFrontendPlugi
You need to add onDelete: CASCADE to the relationship definition so that the
delete operations are cascaded at the dbms level.
- Jon
On Tue, Dec 2, 2008 at 3:33 PM, Tipoun <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I try to follow this tutorial:
>
> http://www.symfony-project.org/blog/2008/11/07/new
I see there's a Symfony 1.0.x tutorial, Askeet, and there's a tutorial for
Symfony 1.2.x, Jobeet. I was wondering if there is a tutorial for the
Symfony 1.1.x family, or should I choose one or the other of the available
tutorials? As my firm is likely to use the 1.1.x branch of Symfony for the
Hi,
I try to follow this tutorial:
http://www.symfony-project.org/blog/2008/11/07/new-in-symfony-1-2-doctrine-goodies,
but I have a big problem:
When I want to delete a row in admin (an article for example), I can't
and the most important: I have no errors...
It happens when the record has a fore
On Dec 1, 1:41 pm, "Reynier Perez Mira" <[EMAIL PROTECTED]> wrote:
> 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
I myself used something very similar to what you see here
> http://particletree.com/notebook/automatically-version-your-css-and-j...
but overriding javascript_include_tag from the AssetHelper file,
inspired by François Baligant (synalabs.com)
function javascript_include_tag()
{
// MODIF FABRI
I would not do it quite the way you are doing it. Let the form system do the
work.
class RegisterForm extends sfGuardUserForm
{
}
public function executeSave($request)
{
$this->forward404Unless($request->isMethod('post'));
$user = new sfGuardUser();
$this->form = new RegisterForm($user);
You have to use svnadmin on a local filesystem. So you either need to
log in to your development server remotely and run the command or use
your local development machine. So for eaxmple on either the command
might look like this:
svnadmin create C:\repos\jobeet
Necho wrote:
> Hi !
>
> I'm d
Hi,
I'm trying to setup a language admin generator.
I added these lines to the LanguageForm so the primary key (which is
simply the language code) is displayed:
public function configure()
{
$this->widgetSchema['id'] = new sfWidgetFormI18nSelectLanguage
(array('culture' => 'de'));
No, ->setWidget() does not affect a form's validators.
Kris
--
Kris Wallsmith | Community Manager
[EMAIL PROTECTED]
Portland, Oregon USA
On Dec 1, 2008, at 9:13 PM, ken wrote:
>
> Does calling $this->setWidget('control_name', new sfWidgetXXX) also
> reset its associated validator given the widg
On Dec 2, 5:44 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> The percentages shouldn't sum 100???
Yeah, this came up a few months ago on this list:
http://groups.google.com/group/symfony-users/browse_thread/thread/79d32a50f64cb544/203ea84ec874b564?lnk=gst&q=debug+bar+time#203ea84ec874b56
At 17:08 02/12/2008, you wrote:
>Can we see all the code? The RegisterForm.
Tried with and without the 'id' fields:
class RegisterForm extends BaseFormDoctrine
{
public function setup()
{
$this->setWidgets(array(
# 'id'
Can we see all the code? The RegisterForm.
- Jon
On Tue, Dec 2, 2008 at 5:08 AM, Peter Bowyer <[EMAIL PROTECTED]>wrote:
>
>
>
> On Nov 14, 4:57 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote:
> > Can we see the data being posted?
>
> I'm getting the identical error, the following is the data gett
Hi all,
I use sfMediaLibrary in tinyMCE and I found it great !
but I want to use it outside.
I want the admin of the app able to upload pictures associated with
product.
I want the product page able in a first step to locate file on the
server disk, and only store path in product object.
But I can
On Tue, 2 Dec 2008, Necho wrote:
> I'm doing the tutorial jobeet with the new version of Symfony but i
> have a problem with subversion. When i start the command : svnadmin
> create http://example.com i had a error message (but in french
> because i'm french) svnadmin http://example.com is a URL
On Tue, 2 Dec 2008, Sid Bachtiar wrote:
> >> sfPearFrontendPlugin symfony-plugins/sfMediaLibraryPlugin is not
> >> compatible with
> >> sfPearFrontendPlugin downloaded package "symfony/symfony" version 1.2.0
> >> sfPearFrontendPlugin symfony/symfony requires PHP (version >= 5.2.4),
> >> install
More info on this topic : http://trac.symfony-project.org/ticket/5137
This is a serious flaw for a "stable" version of symfony.
On Dec 2, 1:43 pm, DigitalBase <[EMAIL PROTECTED]> wrote:
> After doing a bit more research, i noticed the indexSuccess (in
> propelAdmin/templates) does use the $this-
After doing a bit more research, i noticed the indexSuccess (in
propelAdmin/templates) does use the $this->configuration->hasFilterForm
().
BUT apparently upon template generation (in cache/* directory) the
$this->configuration is an instance of Base%OBJECT
%GeneratorConfiguration.
Shouldn't the
All right. What about my first question?
On Tue, Dec 2, 2008 at 2:13 PM, Fabian Lange <
[EMAIL PROTECTED]> wrote:
> Hi Rytis,
>
> somehow the sorting broke recently, I am sorry about this. There is already
> a ticket and it will be fixed in 1.2.1
> http://trac.symfony-project.org/ticket/5123
>
>
Hi Rytis,
somehow the sorting broke recently, I am sorry about this. There is already
a ticket and it will be fixed in 1.2.1
http://trac.symfony-project.org/ticket/5123
Fabian
On Tue, Dec 2, 2008 at 12:14 PM, Rytis Daugirdas
<[EMAIL PROTECTED]>wrote:
> Hello,
>
> I have the following questions
Hi !
I'm doing the tutorial jobeet with the new version of Symfony but i
have a problem with subversion. When i start the command : svnadmin
create http://example.com i had a error message (but in french
because i'm french) svnadmin http://example.com is a URL, but a path
is required I use Windo
Hello,
I have the following questions regarding the admin generator:
- Is it possible to set different form classes for new and edit views? I
can probably override this in the actions themselves, but it would be better
to set this in the generator.yml itself.
- For some reason since 1
On Nov 14, 4:57 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote:
> Can we see the data being posted?
I'm getting the identical error, the following is the data getting
through (in $data in the code below):
Array
(
[first_name] => Peter
[last_name] => Testing
[email] => [EMAIL PROTECTE
i really like the logic behind the new admin generator.
Now i noticed the Base%MODULE%GeneratorConfiguration.class has a
method called hasFilterForm
public function hasFilterForm()
{
return true;
}
I want to disable all the filters for this view so i decided to
override this method, re
The percentages shouldn't sum 100???
Total: # Time 1260 ms
Timers
typecalls time (ms) time (%)
Configuration 9 24.92 1
Action "default/index" 1 12.14 0
View "Success" for "default/index" 1 98.17 7
--~--~-~--~~~---~--~
Thanks, It's truly amazing the job the symfony team has done and the
amount of time Fabien spends.
Thanks again.
On Dec 2, 3:51 am, Fabien Potencier <[EMAIL PROTECTED]
project.com> wrote:
> Subscribe to the documentation mailing-list
> (http://groups.google.com/group/symfony-docs), as all transl
Subscribe to the documentation mailing-list
(http://groups.google.com/group/symfony-docs), as all translations are
coordinated there and some people have already expressed interest in
such translations.
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-pr
Hello,
I wan't to cooperate with the spanish translation of the jobett
tutorial.
How and who?
Thanks!
Pablo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email
>> sfPearFrontendPlugin symfony-plugins/sfMediaLibraryPlugin is not compatible
>> with
>> sfPearFrontendPlugin downloaded package "symfony/symfony" version 1.2.0
>> sfPearFrontendPlugin symfony/symfony requires PHP (version >= 5.2.4),
>> installed
My Symfony is version 1.1 and I executed pear i
41 matches
Mail list logo