Hi,
I am thinking of developing a plugin that enables an admin to create
a form (without having to manipulate widget files) and to display the
form on the frontend. Two questions:
- Is there a plugin that does this already?
- Does anyone need something like this?
Warm regards
juro
--
If you
. I have checked the $values and they are
correct.
Any ideas how to find out what is going wrong?
juro
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony
Hi,
I am creating an Event Management plugin and have a problem with
hydrating my events for one day.
My idea is to have a plgMasterEvent class that holds reaccurring
events and an actual plgEvent class that holds actual events - as soon
as someone is attending an event, a plgEvent instance is
this?
On Nov 10, 10:41 pm, Nicolas Perriault nperria...@gmail.com wrote:
On Tue, Nov 10, 2009 at 8:33 PM, juro fo...@juro.at wrote:
Thank you for the tutorial, is the sfTaskExtraPlugin compatible with
1.3?
Sure, I'm using it on a 1.3 powered project of mine with no pb :)
++
--
Nicolas
Is it possible to use an admin-generated module for the plugin?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe
a calendar (suggesting properties such as date, time,
duration), as opposed to a framework event.
Daniel
On Nov 10, 5:45 am, Nicolas Perriault nperria...@gmail.com wrote:
On Tue, Nov 10, 2009 at 11:58 AM, juro fo...@juro.at wrote:
Is it possible to use an admin-generated module for the plugin
Thank you for the tutorial, is the sfTaskExtraPlugin compatible with
1.3?
On Nov 10, 3:45 pm, Nicolas Perriault nperria...@gmail.com wrote:
On Tue, Nov 10, 2009 at 11:58 AM, juro fo...@juro.at wrote:
Is it possible to use an admin-generated module for the plugin?
Sure, you have to follow
sfCalendar makes sense
sfCalendarEvent doesn't
sfDoctrineEventManagementPlugin
sfDoctrineEMEvent.class
sfDoctrineEMCalendar.class
??
On Nov 9, 9:56 pm, Nicolas Perriault nperria...@gmail.com wrote:
On Mon, Nov 9, 2009 at 8:39 PM, juro fo...@juro.at wrote:
sfEventManagementPlugin
be an instance of Doctrine_Record.
How do I debug this and can anyone help me please?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users
be
http://yourhost/backend_dev.php/sfGuardUser
but now I get this error: The route sf_guard_user_collection does
not exist.
Has anyone hay success?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group
. DoctrineGuard as basic
as possible.
2009/11/4 juro fo...@juro.at
Hi,
I am trying to get this
http://www.symfony-project.org/blog/2008/11/12/call-the-expert-custom...
to work on Symfony 1.3
Everything works aas expected until I try to access
http://yourhost/backend_dev.php
for profiles then work on linking the 2.
Then you're building on something stable that you know works.
On Wed, 2009-11-04 at 02:44 -0800, juro wrote:
Thank you for the information. Unfortunately there is no way that I
can use sfDoctrineGuard without being able to associate a profile with
each user
Yes:
all:
.settings:
enabled_modules:[default, sfGuardUser, sfGuardGroup,
sfGuardPermission]
On Nov 4, 12:45 pm, Simone Fumagalli simone.fumaga...@gmail.com
wrote:
I have figured out that the url should be
http://yourhost/backend_dev.php/sfGuardUser
but now I get this error:
.
Thank you
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users
but not the relationships. Can anyone check why not?
juro
?php
/**
* Doctrine Template that creates two fields created_by and updated_by
* @author: Roland Jungwirth
* @version: 0.9
*/
class Doctrine_Template_Usertraceable extends Doctrine_Template
{
/* Array of Timestampable options
*
* @var string
Why did you manhandle my discussion for you question? How rude!
On Jun 25, 2:51 am, Patrick Fong patr...@ddns.com.au wrote:
Hi all,
I've done a bit of searching but have not been able to dig up any
information.
Does anyone know if it is possible for form post data to be handled by a
the binding of the embedded
MeasurementForms to the ExerciseForm or do I have to do everything in
the TemplateForm's bind() method?
Any comments are appreciated.
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony
everything in
the TemplateForm's bind() method?
Any comments are appreciated.
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
' = 'Please insert a name'));
}
}
Can anyone tell me, why the default value does not show in the admin-
generated form? And - more importantly - how I can get a default value
into the admin-generated form?
juro
--~--~-~--~~~---~--~~
You received this message
Hi,
is there a way to pull EXIF data from an image when uploading a file?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
I have tried that. $_POST has all the data (also the filenames) but
$_FILES is empty.
Any ideas, why?
juro
On Feb 16, 10:24 am, Lupu Alexandru-Emil gang.al...@gmail.com wrote:
personally i would do a
print_r($_POST);
print_r($_FILES);
die();
in the lowest level of your app ... (a filter
So that I can iterate over all files that are uploaded.
On Feb 16, 3:49 pm, Tom Boutell t...@punkave.com wrote:
Why are you embedding a second form for this purpose at all? That
strikes me as the oddest part of the code.
Also looking at this code:
$files-widgetSchema['file_' . $i] = new
yes:
...
form enctype=multipart/data method=post action=/admin_juro.php/
image/submit/action
...
On Feb 16, 3:52 pm, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
the form is generated as
enctype=multipart/form-data
?
alecs
On Mon, Feb 16, 2009 at 2:13 PM, juro fo...@juro.at wrote
that into trac.
juro
On Feb 16, 4:39 pm, Tom Boutell t...@punkave.com wrote:
This code:
form enctype=multipart/data method=post action=/admin_juro.php/
image/submit/action
Is incorrect. It should be multipart/form-data, not just multipart/data.
--
Tom Boutell
www.punkave.comwww.boutell.com
I have a problem with routing
This is my (very simplified) model:
Topten:
columns:
id: autoincrement, primary, etc
name: string
cat_id: integer
relations:
Category:
local: cat_id
foreign: id
Category:
columns:
id: autoincrement, primary, etc
name:
-setNameFormat('images[%s]');
}
}
In my action, all I do is echo out the $_FILES and the $request-
getFiles($this-form-getName()) but both are null. I would like to
put the resize functionality into the MultipleImageForm's bind method
but again, $taintedFiles is empty.
Any recommendations?
juro
))
{
$con = $this-getConnection();
}
$this-object-unlink('Categories', array());
$values = $this-getValue('categories_list');
if (is_array($values))
{
$this-object-link('Categories', $values);
}
}
Any ideas how I can handle the rank field?
juro
Hi,
I am using the sfDoctrineGuardPlugin and would like to make the users
soft deletable. What is the best way to do this without loosing the
change everytime I do a svn:externals update?
juro
--~--~-~--~~~---~--~~
You received this message because you
Hi,
I am embedding a number of forms into a parent form. When using the
generator.yml to style the form, I would like to be able to place this
group wherever I need it.
Any idea, how I can do this?
juro
--~--~-~--~~~---~--~~
You received this message because you
Ahhh, couldn't see the forest due to all the trees. Works like a charm
- thank you.
juro
On Feb 4, 1:58 am, Jonathan Wage jonw...@gmail.com wrote:
Create a dummy sfForm and embed all the forms in to that form. That way you
have them all grouped in to one embedded form.
- Jon
On Tue, Feb
').'/fixtures');
When I run any test, I get the error message:
The default context does not exist
Does anyone know where this comes from?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post
())
{
$this-setCreatedBy($user);
}
$this-setUpdatedBy($user);
parent::save();
}
With this in place, which works great by the way, how can I unit test
this class?
juro
On Feb 1, 2:04 pm, Thomas Rabaix thomas.rab...@gmail.com wrote:
Hello,
In one of your class you are doing a sfContext
this?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr
Hmm, not sure which foreign key you are referring to...
On Jan 23, 1:20 am, jukea jkea...@gmail.com wrote:
just a quick idea : maybe you forgot to unset the foreign key in the
MineForm::configuration method ?
Julien
On Jan 22, 5:52 pm, juro fo...@juro.at wrote:
Hi,
I am trying
::save();
}
to store the user's id, when the object is saved.
When I test this, I get an error that there is no sfContext - which I
understand, as this is not run in the brower.
How can I run unit tests on this anyway?
juro
--~--~-~--~~~---~--~~
You received
No, that didn't work - I wouldn't know why it should either
On Jan 5, 6:47 pm, fredlab frederic.beauf...@free.fr wrote:
Hi, I ran into similar problems with 1.2.2 dev recently and came up
with that patch :http://trac.symfony-project.org/ticket/5523
Could you try it and tell us if it
Ok, I have debugged this a bit more and now my mind is totally
wasted
As you recall, this is my method:
public function end()
{
if (!($this-getInvoice()-exists()))
{
$invoice = new Invoice();
$invoice-setName($this-getCustomer()-getFullname());
inside a Car instance, what is the best practice way to find out,
whether there is a Driver related to it. I used to to
if ($this-getDriver() != '')
{
echo 'this car has no driver';
}
But I am sure Doctrine has a nicer way to do this ...
juro
This is Doctrine that ships with the svn current 1.2.2dev Symfony.
The constant VERSION in Doctrine.php is 1.0.5 - hope this helps as I
am desperate :(
juro
On Jan 4, 9:11 pm, Jonathan Wage jonw...@gmail.com wrote:
Is this in Doctrine 1.1?
- Jon
On Sun, Jan 4, 2009 at 8:01 AM, juro fo
with parameters array ( 'module' = 'news', 'action' =
'show', 'title_slug' = 'batman-begins-today',)
SELECT * FROM article a
Any idea how I can solve this?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Jon,
any chance on an answer, as to where you want me to report this? Also,
what information do you need?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email
Not sure - how can I find that out?
On Dec 21, 9:40 pm, Jonathan Wage jonw...@gmail.com wrote:
In the Doctrine trac.
I think this is a regression in the 1.1 branch. That is where the problem
occurs right?
- Jon
--~--~-~--~~~---~--~~
You received this
and is set at a later stage.
Any ideas?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send
?
juro
On Dec 20, 2:24 am, Jonathan Wage jonw...@gmail.com wrote:
Can you create a ticket for this?
Thanks, Jon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email
should help you.
juro
On Dec 18, 12:59 am, Frank Stelzer d...@bleedingmoon.de wrote:
Hello,
I have two questions about changing the field type in the 1.2 admin
generator:
1.
I am used ( 1.2) to configure read only timestamp fields in the
admin generator like this:
---
edit
. But it should only show the posts of the one author.
I already know how to create the link, but here are my two questions:
1. How do I filter the post list?
2. Can I define a custom icon?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed
In a module, I have a function/view that builds a csv, which I want to
take out of the routings normal behaviour, i.e. I don't want .html
to be added to resulting filename.
How can I set the sf_format for one module's function only?
--~--~-~--~~~---~--~~
You
how to define a default value in the AppointmentForm.class.php,
but how can I do this dynamically?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony
Hi Nicolas,
thank you, that worked.
How can I configure Symfony not to include the layout.php?
juro
On Dec 15, 7:43 am, Nicolas Perriault nperria...@gmail.com wrote:
On Mon, Dec 15, 2008 at 6:37 AM, juro fo...@juro.at wrote:
In a module, I have a function/view that builds a csv, which I
And to add to the question. Is it possible, if a user only enters the
hour and the minute, that the system can convert that before saving
the values as a timestamp (which would throw a
Doctrine_Validator_Exception)?
--~--~-~--~~~---~--~~
You received this message
.
Take a look at the book and the API.
juro wrote:
Hi Nicolas,
thank you, that worked.
How can I configure Symfony not to include the layout.php?
juro
On Dec 15, 7:43 am, Nicolas Perriault nperria...@gmail.com wrote:
On Mon, Dec 15, 2008 at 6:37 AM, juro fo...@juro.at wrote
If I would have to guess, I would say no :)
This is what I did:
$symfony doctrine:generate-module frontend access Access
then I renamed the module access to caccess
$symfony generate:module frontend access
So, I would assume that I don't have to create one
Also, the routing.yml looks like
Ok, Symfony seems to keep it persistent.
Your code works well, except that the functions
$this-setCreatedBy()
expects an object as parameter. $user-getId() is an integer.
So either
$this-set('created_by', $user-getId());
or
$this-setCreatedBy($user);
works.
Thank you!
I hear you regarding bad practice - would be good to get some
information from one of the head dev honchos on that.
Can Symfony keep the sessions apart, i.e. does Symfony know who is
invoking the save() method?
On Dec 5, 11:11 pm, Ant Cunningham [EMAIL PROTECTED]
wrote:
Save it in the
the
frontend but need to be populated.
Using the old forms, I pulled the currently logged on user's id in the
executeUpdate action and populated the necessary fields. How do I do
this using the new forms?
juro
--~--~-~--~~~---~--~~
You received this message because you
Hi,
I have a created_at field and I want to filter all entries where that
created_at date lies in between two values.
Any ideas how to do this?
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users
Yes, definitely the more elegant version. The question being, how do I
get the user's id that invokes the save() method inside the object's
instance itself?
Any idea?
juro
On Dec 5, 4:36 pm, Ant Cunningham [EMAIL PROTECTED]
wrote:
You could do it this way but similar to the conversation about
Hi,
Have a look at the sfWidgetFormPropelChoiceMany widget. That should
give you exactly what you need.
juro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email
Hi Olivier,
Yes, this widget is part of the new forms and therefore part of 1.1.
You can look at the documentation here:
http://www.symfony-project.org/book/forms/1_1/en/04-Propel-Integration
juro
On Nov 30, 2:35 am, olivierb [EMAIL PROTECTED] wrote:
Is the sfWidgetFormPropelChoiceMany widget
On Nov 10, 4:25 am, Jonathan Wage [EMAIL PROTECTED] wrote:
The values are populated when you instantiate the form initially like so:
$form = new sfForm($initialValues);
and when you do:
$form-bind($tainedValues);
So, combining your two answers, the $form-bind($taintedValues) passes
the
Ah, ok yes, I have that method ;)
Any take on the doClean question?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To
61 matches
Mail list logo