Here is an sample of the schema :
Place:
actAs:
I18n:
fields:
- name
- number
- address
- postal_box
- cedex
- city
- zip_code
- country
- tel
- fax
- email
- website
- presentation
You can reuse them out of admin generator. If you want to investigate
what is the usage then check the generated cache.
On Dec 10, 3:48 pm, Christopher Schnell ty...@mda.ch wrote:
Yeah, I thought so. But I can use the fieldset of the filter form
anyway. I was mainly curious because the form
Hi all,
me again. The useFields method is great. However, I was tempted to
forget about unsetting validators when using the method. is there any
equivalent planned like sfForm::useValidators(...)?
That would be really useful, would it not?
Regards,
Christopher.
--
You received this message
I thought the useFields() method would appropriately care for the
validators as well, so no further method needed for this?
Cheers, RAPHAEL
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
Yes, that is correct. It's the same as using unset(), this unsets a
whole lot of things behind the scenes but what matters most, useFields
() unsets both widgets and their corresponding validators for all
fields not listed in the argument array.
Daniel
Sent from my iPhone
On Dec 10, 2009,
I have a class to send mails each exception..
I sent mails with sf 1.2 using my classes downloaded on lib/vendor/swift,
now I need to rewrite this lib to send mails using sf 1.3..
Anybody has any example of sending mails like this way???
--
Nei Rauni Santos
nra...@gmail.com
+55 41 85020985
--
I would recommend sfSimpleCMSPlugin. We used sfSimpleCMSPlugin on our
Symfony 1.0 projects, and while we tended to customize it heavily, we
liked it enough to follow a similar general approach in Apostrophe. I
think it would meet your immediate needs well and also make it easier
to move to Symfony
Hi Folks,
I'm trying to extend the schema of my plugin as described in
http://www.symfony-project.org/book/1_2/17-Extending-Symfony#Customizing
a Plug-In for an Application. Running symfony 1.2.11-DEV from the 1.2
svn branch.
My plugin is named dcModelPlugin which contains the entire model
Check. The jobeet. I will come later with specs
On Dec 10, 2009 2:37 PM, Nei Rauni Santos nra...@gmail.com wrote:
I have a class to send mails each exception..
I sent mails with sf 1.2 using my classes downloaded on lib/vendor/swift,
now I need to rewrite this lib to send mails using sf 1.3..
Hello guys,
I'm developing Rediska (http://rediska.geometria-lab.net/) - PHP
client for key-value database Redis and I want to integerate it with
Symfony (cache, session, etc).
Redis (http://code.google.com/p/redis) is an advanced fast key-value
database written in C. It can be used like
Hi, i dont't know if i have understood you, but i think, the problem
is in wrong project initialization.
Look at this line from documentation:
$ php lib/vendor/symfony/data/bin/symfony generate:project jobeet --
orm=Propel
Did you build your project in this way?
(--orm=Propel)!!!
pozdrowienia
I need a developer that can work in Symfony. The project will be
broken down into small task that will be paid at completion of each.
Things to be done will be to create a landing page, create a form page
to capture user information, create a page that shows a list (table)
of items available (5
Not sure what I'm doing wrong, but for starters i'm beginning a fresh
project using symfony 1.4, but I can't get this plugin to work for the
life of me.
I've followed all the instructions and cannot get this plugin to work
using sfDoctrineGuardPlugin.
The facebook dialog appears and i can log
Hi guys,
I have a little problem in Doctrine's Timestampable behavior. In admin
generator I've set this behaviour to my model and it has been
generated properly in base-class. But when user saves a record in
backend there is a validation error saying that created_at and
updated_at fields are
I am glad to see another user of sympal. :)
Frontend is a new and empty app right ?
If yes, i suggest you to delete it and to create it with the task:
symfony sympal:create-site frontend
it will do the same as symfony generate:app frontend plus add some
record in the db.
For your second question
any solution ?
On 29 nov, 23:08, ashton ahonn...@gmail.com wrote:
I'm struggling with aroutingissue. New project, and I have an index
module, and a 'list' action and 'index' action.
These urls work:
/frontend_dev.php/index/index (in dev)
/index/index
/frontend_dev.php/index/list
this
Hi!
I had several troubles with my user config thereby, I decided to
uninstall and reinstall the sfDoctrineGuardPugin. Now, (after
rebuiling the model, and enable the plugin) I can't access to the
following page
/backend_dev.php/sf_guard_user
the exact error is
Action sf_guard_user/index does
Just used this myself. Very awesome. Is there anything that can be
done about maintaining the color coding in the tasks that are
executed.
Thanks, Tom!
On Dec 8, 10:43 pm, Pablo Godel pablo.go...@gmail.com wrote:
Great Tom, this will be very helpful.
We see all the time that deployment is one
hi all..
I have to write a post validator because i want to check that values
of different embedded forms shouldn't be the same.
I don't know the best practice to do this, so I've tried doing this
way:
In my configure() function of my main form class:
// add a post validator
Just yesterday, I've created my first plugin
I've got a problem committing my source to the svn repository...
the url is:
http://svn.symfony-project.com/plugins/sfPropelTaggableWidgetPlugin/
I use my symfony website credentials to commit to it, but I always
get:
svn: MKACTIVITY di
Guys,
I've upgraded my symfony from 1.2 to 1.3 and some javscripts added by
widgets are not included...
*/
class mpWidgetFormInputAutoSuggest extends sfWidgetForm
{
..
// javascripts
sfContext::getInstance()-getResponse()-addJavascript(prototype/js/prototype);
I notice that this way was wrong, and on my widget I put thow 2 methods:;
/**
* Gets the stylesheet paths associated with the widget.
*
* @return array An array of stylesheet paths
*/
public function getStylesheets()
{
return
If I add this line on layout.php
?php
var_dump( sfContext::getInstance()-getResponse()-getStylesheets() );
?
I get the dump:
*array*
'frontend/frontend' =
*array*
*empty*
'frontend/frontend-print' =
*array*
'media' = string 'print' *(length=5)*
I tried to put this code on my partial too:
?php
use_helper('Asset');
foreach ($form-getJavascripts() as $js ){
use_javascript($js);
}
foreach ($form-getStylesheets() as $css ){
use_stylesheet($css);
}
?
didn't work.
On Thu, Dec 10, 2009 at 6:17 PM, Nei Rauni Santos nra...@gmail.com
Hi,
I have an schema like this:
banner:
id: ~
ordem: { type: integer, required: true }
imagem: { type: varchar(255), required: true }
link: { type: varchar(255), required: false }
When i edit an record in admin module i get an error Required for imagem
field.
Thats the code in
Hi all,
In my `main` application, let say I have a UserForm.class.php to
manage my Users.
This `main` application has a `foobar` module which displays a
UserForm instance.
Well, I want to offers to the developers a way to extend this UserForm
class by developing some plugins. Is there a clever
What you can do is this:
- you have a BaseUserForm which extends BaseForm, don't you? (or sfForm[Propel,
Doctrine] when you're using symfony 1.2, doesn't matter)
- UserForm extends BaseUserForm
- add another form called ExtendUserForm which extends BaseUserForm
- change UserForm to extend
Hi and Hello to all,
When i submit the form following error generate, how can i fix it,
any solution?
500 | Internal Server Error | PropelException
'duration_time_id' could not be found in the field names of type 'fieldName'.
These are: Array
(
[id] = 0
[duration_desc] = 1
)
Hi there,
unfortunately this email address no longer accepts mail.
For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au
For support related issues please email supp...@ddns.com.au
Kind Regards,
Domain Admin
--
You received this message because you are subscribed to
Hi there,
unfortunately this email address no longer accepts mail.
For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au
For support related issues please email supp...@ddns.com.au
Kind Regards,
Domain Admin
--
You received this message because you are subscribed to
Hi there,
unfortunately this email address no longer accepts mail.
For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au
For support related issues please email supp...@ddns.com.au
Kind Regards,
Domain Admin
--
You received this message because you are subscribed to
Hi there,
unfortunately this email address no longer accepts mail.
For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au
For support related issues please email supp...@ddns.com.au
Kind Regards,
Domain Admin
--
You received this message because you are subscribed to
Hi there,
unfortunately this email address no longer accepts mail.
For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au
For support related issues please email supp...@ddns.com.au
Kind Regards,
Domain Admin
--
You received this message because you are subscribed to
Hi there,
unfortunately this email address no longer accepts mail.
For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au
For support related issues please email supp...@ddns.com.au
Kind Regards,
Domain Admin
--
You received this message because you are subscribed to
Hi there,
unfortunately this email address no longer accepts mail.
For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au
For support related issues please email supp...@ddns.com.au
Kind Regards,
Domain Admin
--
You received this message because you are subscribed to
Hi there,
unfortunately this email address no longer accepts mail.
For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au
For support related issues please email supp...@ddns.com.au
Kind Regards,
Domain Admin
--
You received this message because you are subscribed to
Hi there,
unfortunately this email address no longer accepts mail.
For web enquiries please contact DDNS on 03 9815 6868 or i...@ddns.com.au
For support related issues please email supp...@ddns.com.au
Kind Regards,
Domain Admin
--
You received this message because you are subscribed to
Hi,
We have a plugin to solve the problem of CSRF in Symfony.
http://www.symfony-project.org/plugins/sfCSRFPlugin
How can I check whether this is implemented correctly ?
Regards
Deepak Bhatia
--
You received this message because you are subscribed to the Google Groups
symfony users group.
By implementing functional tests? Maybe?!
Sent via HTC magic
On Dec 11, 2009 8:51 AM, DEEPAK BHATIA toreachdee...@gmail.com wrote:
Hi,
We have a plugin to solve the problem of CSRF in Symfony.
http://www.symfony-project.org/plugins/sfCSRFPlugin
How can I check whether this is implemented
When you get that required error? Better what are you trying to achieve?
sent via htc magic
On Dec 11, 2009 1:11 AM, g0d br g0d...@gmail.com wrote:
Hi,
I have an schema like this:
banner:
id: ~
ordem: { type: integer, required: true }
imagem: { type: varchar(255), required: true }
Hi everybody,
I just read about the file_link_format option of symfony / xdebug in
the advent calendar:
http://www.symfony-project.org/advent_calendar/4/en
Does anyone know how to setup this for PDT/Eclipse?
Thanks, Klemens :-)
--
You received this message because you are subscribed to the
Hi,
In the symfony guide, it is given that
all:
.settings:
# Form security secret (CSRF protection)
csrf_secret: false # Unique secret to enable CSRF protection
or false to disable
# Output escaping settings
escaping_strategy: true# Determines how
Hi,
In the symfony guide, two kinds of attack CSRF and XSS are discussed.
Do we have some other kind of attacks which can make site vulnerable ?
Regards
Deepak Bhatia
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group,
if you are using sf 1.2 then you just need to set that csrf_secret ...
On Fri, Dec 11, 2009 at 9:38 AM, DEEPAK BHATIA toreachdee...@gmail.com wrote:
Hi,
In the symfony guide, it is given that
all:
.settings:
# Form security secret (CSRF protection)
csrf_secret: false
This also works with symfony 1.2 :)
Am 11.12.2009 um 08:41 schrieb Alexandru-Emil Lupu
gang.al...@gmail.com:
if you are using sf 1.2 then you just need to set that
csrf_secret ...
On Fri, Dec 11, 2009 at 9:38 AM, DEEPAK BHATIA toreachdee...@gmail.com
wrote:
Hi,
In the symfony
sorry i meant =
On Fri, Dec 11, 2009 at 9:45 AM, Dennis Benkert
spinecras...@googlemail.com wrote:
This also works with symfony 1.2 :)
Am 11.12.2009 um 08:41 schrieb Alexandru-Emil Lupu
gang.al...@gmail.com:
if you are using sf 1.2 then you just need to set that
csrf_secret ...
On Fri,
Thanks
I am using Symfony 1.1.
I have checked XSS attack by enabling the flag in the settings.yml.
But for CSRF I have to use the plugin and use filters.yml for the same.
Regards
Deepak Bhatia
On Fri, Dec 11, 2009 at 1:16 PM, Alexandru-Emil Lupu
gang.al...@gmail.comwrote:
sorry i meant =
47 matches
Mail list logo