apm wrote:
I am interested in sfShop, because have similar task. And i ready to
share some code for open-source.
But problem is , i am beginner in symfony, not sure that i am will be
useful.
You can start out by testing and finding bugs. Then you will learn how
it works.
/Andreas
--
You
Yes, that's possible.
Inside the model class, do:
$this-getTable()-hasTemplate('Timestampable')
You can also do getTemplates() which returns all attached templates (=
behaviors).
Cheers, Daniel
On 10.02.2010, at 08:51, Daniel Kucharski wrote:
Hi,
Is it possible to detect if for
I'm still working on a backend form of my app. The form has several
input fields, one of them allows the user to type an identifier pointing
to an object stored on an external database. Let's call this field
ExternalId (string 25).
Now, I have to add a button after the input field to allow the
Hi.
You have to write your own form widget (let's call them
sfWidgetFormInputButtonized) and then in yourForm::configure() call
$this-widgetSchema['external_id'] = new sfWidgetFormInputButtonized();
I'd also recommend to inherit your widget from sfWidgetFormInput. It will
save a bit of your
Hi sf list,
I'm trying to use the new sfValidatorBase::setDefaultMessage to define
a message for the 'Required' error in my forms.
However, I cannot figure out how to use placeholders in those
messages. I'd like to write something like this :
sfValidatorBase::setDefaultMessage('required', 'The
How to set custom error message for sfValidatorPropelUnique?
I have tried:
new sfValidatorPropelUnique(
array('model' = 'User', 'column' = array('email')),
array('invalid' = 'My custom error message')
)
but I still get 'An object with the same email already exist.' error
message...
--
You
The problem with that arrangement is that in order to make it work
/www needs to be accessible by apache, and he subfolders, and
therefore that means that /www/application is also accessible by
apache and so creates a security risk for the application.
The reason why symfony is structured like
Hi, i'm using Doctrine as default ORM and i'm trying to specify the
connection port as i have 2 mysql running instances.
The configuration i use to connect is:
dsn: 'mysql:host=localhost;dbname=xXxxXx'
username: xXXx
password: XXx
port: 3307
I also tried:
Sorry, it's my mistake (
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com.
For more
May be?
dsn: 'mysql:host=localhost;dbname=xXxxXx;port='
username: xXXx
password: XXx
--
You received this message because you are subscribed to the Google Groups symfony
users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from
Just define your object as a class in lib/model.
On 9 Feb, 01:35, Pat Fong pf...@globaldatacompany.com wrote:
Occasionally I come accross an object that I need in my application
which doesnt require being saved to the DB.
I usually define this object through the schema as I would any other
Thanks Daniel, that'll do.
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Daniel Lohse
Sent: woensdag 10 februari 2010 11:10
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] Doctrine - how to detect if behavior exists
Yes, that's
Hmm ok seems like a pretty strange thing.
When copying the rsync commando which ./symfony project:deploy
production outputs and you add the option -v before lets say the -
e option. The list which is gonna be rsynced is displayed. However
when adding the option -v to the rsync command in your
On Wed, 10 Feb 2010, DEEPAK BHATIA wrote:
I have specified the src files for frame in /qp/web/htm directory where qp
is my project.
Maybe you should define what 'frameset not working' actually means?
--
--
You received this message because you are subscribed to the Google Groups
Hi,
caching in files is probably one of the slowest things you can do. In
the case of php files it might be better with an opcode cache.
If you really want fast caching with the best possible read
performance, store your array in shared memory (RAM) via APC or
XCache. Alternatively, but a bit
Dah!!!
Thanks!! --- i was guessing something like that :/
2010/2/10 Stefan Paschke symfony.pasc...@gmail.com
Hi Germana
both your keys ('true', 'false') are strings. My guess is that your field
type is boolean, so any string will test true. In order to get boolean
values, you'd need to
I donwloaded my old project from web and when I run symphony I give
error:
Fatal error: Cannot redeclare class sfDoctrineBaseTask in /home/
scippio/webs/project/symfony/plugins/sfDoctrinePlugin/lib/task/
sfDoctrineBaseTask.class.php on line 99
:(
--
You received this message because you are
On Wed, Feb 10, 2010 at 1:41 PM, Gareth McCumskey gmccums...@gmail.comwrote:
The problem with that arrangement is that in order to make it work
/www needs to be accessible by apache, and he subfolders, and
therefore that means that /www/application is also accessible by
apache and so creates
My site is using Symfony 1.4.1 with Propel and a database running on
Microsoft SQL 2008.
I'm using a form class defined in /lib/form to allow users to view
and edit rows in a table. I've added a use_fields() line to it to
limit what shows up and changed one of the fields to use a checkbox
Hi,
i have this problem:
http://forum.symfony-project.org/index.php/m/26709/
Any idea?
Javi
--
You received this message because you are subscribed to the Google Groups symfony
users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group,
It's easy no need of any plugin installed , just follow the tutorial
on the adobe site and in the php file , create first php file
somewhere in your root dir , (name cannot contain _ or . ) an then put
this in it
?php
class SamplePhp {
public function __construct() {
what about stop using frames ? whats the need?
On Feb 10, 2:30 pm, DEEPAK BHATIA toreachdee...@gmail.com wrote:
Hi,
I have specified the src files for frame in /qp/web/htm directory where qp
is my project.
Thanks in advance
Regards
Deepak Bhatia
Hi,
just that. Using sfDoctrineGuardPlugin
Javi
--
You received this message because you are subscribed to the Google Groups symfony
users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to
Hi everybody,
I'm trying to create a new application with Symfony 1.4.2, Doctrine
and sfGuard.
Somehow I cannot properly install the sfDoctrineGuardExtraPlugin. I
checked out the latest version from the 1.3 branch (as there is no 1.4
branch) into my plugins folder.
For some reason, the plugin
Did you enable the plugin?
On Wed, Feb 10, 2010 at 19:18, Don_Busi dominik.busin...@gmail.com wrote:
Hi everybody,
I'm trying to create a new application with Symfony 1.4.2, Doctrine
and sfGuard.
Somehow I cannot properly install the sfDoctrineGuardExtraPlugin. I
checked out the latest
I have set my routing in my routing.yml file to:
homepage:
url: /
param: { module: employee, action: login }
But it still shows:
Symfony Project Created
Congratulations! You have successfully created your symfony project.
I have cleared the cache as well numerous times through the
On Wed, 10 Feb 2010, Darren884 wrote:
I have set my routing in my routing.yml file to:
homepage:
url: /
param: { module: employee, action: login }
But it still shows:
Symfony Project Created
Congratulations! You have successfully created your symfony project.
I have cleared
http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_sub_session_management
On 10 Feb., 19:04, Javier Garcia tirengar...@gmail.com wrote:
Hi,
just that. Using sfDoctrineGuardPlugin
Javi
--
You received this message because you are subscribed to the Google
HI ppl.
I'm trying to create a new form, which inherit from sfForm. In that form, i
embed some other forms, and on save(), i save them too.
But, i'm getting a blank error from sfValidatorErrorSchema, pointing to the
$this-errorSchema = new sfValidatorErrorSchema($this-validatorSchema);
from the
Issue now happens on edit as well as update. I found some more out
about this,.
BasePeer::doSelect() calls
BasePeer::populateStmtValues() calls
$stmt-bindValue(':p'.$i++, (int)$value, $pdoType); on roughly line
594 of my BasePeer.php
pdo type has been set by a call to
Is there a good way to make sure every module in a plugin has the same
layout (one that is stored in the plugin, not in your app)
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
Hey there,
look at the sfBlogPlugin, although it's a little outdated, it uses the
trick you're looking for, which can be turned on / off via a config
parameter (use bundled layout I believe).
Daniel
On Feb 10, 11:23 am, Avi Block atbl...@gmail.com wrote:
Is there a good way to make sure every
This appears to come back to a known bug:
http://bugs.php.net/bug.php?id=44643
https://connect.microsoft.com/SQLServer/feedback/details/521409/odbc-client-mssql-does-not-work-with-bound-parameters-in-subquery
It sounds like it may be a MS SQL Server bug, not a PHP/PDO/symfony
bug. I'm
Do you use the -e option for what?
I think that the problem is in the class that execute the rsync
process. sfFileSystem method execute().
I will work inside this problem. The next week i think i have a answer.
bye.
Augusto Morais
--
You received this message because you are subscribed
On Mon, 8 Feb 2010, Tom Ptacnik wrote:
I needed to change it, because of my clients hosting. He host on the
server, where he can't change anything in apache configuration.
He has configured hosting that way, that every folder in his webfolder
is a subdomain
These two statements appear to
On Tue, 9 Feb 2010, Tom Ptacnik wrote:
Shorter question :-)
Did someone tryied to change project structure to:
/www(web folder - index.php, .htaccess, css, js)
/www/application(rest of the application - apps,cache,config,)
and had some problems with that?
I guess noone
Hi,
I added the following to the settings.yml of my Application.
--
all:
.settings:
enabled_modules:[default, sfGuardAuth,
sfGuardForgotPassword, sfGuardRegister]
--
Other than that I didn't enable
You need to enable the plugin in your ProjectConfiguration.
http://www.symfony-project.org/tutorial/1_2/en/whats-new#chapter_3fb3b0c857177a2b6740a5dcbc0fb8c7_configuration
On Wed, Feb 10, 2010 at 22:14, Don_Busi dominik.busin...@gmail.com wrote:
Hi,
I added the following to the settings.yml of
I found another discussion on the exact same problem
http://groups.google.com/group/symfony-users/browse_thread/thread/61ae0d3e9a06224c/f46622302f3744c1?show_docid=f46622302f3744c1
I already tried this solution (in my case, add a method getTypeId
() ), but does not work, this method is not
Thanx a lot. I forgot about that. It works fine now.
Cheers,
Don
On Feb 10, 10:26 pm, Gábor Fási maerl...@gmail.com wrote:
You need to enable the plugin in your
ProjectConfiguration.http://www.symfony-project.org/tutorial/1_2/en/whats-new#chapter_3fb3...
On Wed, Feb 10, 2010 at 22:14,
As for me, I ended up overriding sfDoctrineRoute and
sfDoctrineRouteCollection
On Feb 11, 5:51 am, Fabrizio fabrizio.pucci...@gmail.com wrote:
I found another discussion on the exact same problem
http://groups.google.com/group/symfony-users/browse_thread/thread/61a...
I already tried this
Thanks Massimiliank,
I did consider doing this but in that in that case I need to write the
whole class from scratch so no getters and setters etc which I was
hoping to avoid.
-Original Message-
From: symfony-users@googlegroups.com
[mailto:symfony-us...@googlegroups.com] On Behalf Of
So define the object in your schema, run the symfony
propel:build-model (or Doctrine equivalent) and then remove it from
the schema. symfony does not delete previously created model classes
:)
On Thu, Feb 11, 2010 at 6:58 AM, Pat Fong pf...@globaldatacompany.com wrote:
Thanks Massimiliank,
I
43 matches
Mail list logo