On Mon, Nov 9, 2009 at 8:00 AM, juro fo...@juro.at wrote:
Class sfEvent must be a child class of Doctrine_Record
There's already a sfEvent class in symfony (the one used by the event
dispatcher), so you have a naming conflict there. Rename your model
name to something else should solve your
Hi all,
I am also facing the same problem in deleting posts with AJAX. The partial
is creating some random id's for delete links. But events are not added for
those links.
When it is done from template, I can see all delete links and their events.
But When I deleted a post from them, partial is
Creating i18n forms with only some fields from table isn't possible so
I give You my idea :)
I have schema.yml:
Firm:
actAs:
I18n:
fields: [description, address]
columns:
id_firm:
type: integer(1)
primary: true
autoincrement: true
email:
type:
You must add in partial file '_yourpartialfile.php':
?php use_helper('Javascript') ?
On 9 Lis, 10:31, Murali Krishna B muralikrishna.vi...@gmail.com
wrote:
Hi all,
I am also facing the same problem in deleting posts with AJAX. The partial
is creating some random id's for delete links. But
Hi,
Thanks for reply,
I added this helper in my partial. Still not working :(
--
Murali
2009/11/9 dziobacz aaabbbcccda...@gmail.com
You must add in partial file '_yourpartialfile.php':
?php use_helper('Javascript') ?
On 9 Lis, 10:31, Murali Krishna B muralikrishna.vi...@gmail.com
?php echo $form['widget1']-render() ?
?php echo $form['widget2']-render() ?
Documentation is a wonderful thing:
http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designers#chapter_03_sub_using_the_render_method_on_a_field
On Mon, Nov 9, 2009 at 3:35 AM, cosmy c.zec...@gmail.com
Hi every:
I use several plugins in my applications: sfGuardDoctrine,
sfExtraWidgets and so on. I follow Symfony Blog every
day and see that many of those plugins are updated constantly. My
question here is: are the tarball (.tar.gz) updated too or just the SVN
code is updated? When those
Maybe try include in frontend\(or backend)\config\view.yml:
javascripts:[jquery]
And download jquery from: http://jquery.com/
and add it to web\js
Then: symfony cc
On 9 Lis, 11:15, Murali Krishna B muralikrishna.vi...@gmail.com
wrote:
Hi,
Thanks for reply,
I added this helper in my
Yes documentation is a great thing but maybe i haven't explained well
the situation.
I don't want to access the widget of the main form but a child one.
My form embed several forms of the same class, so the widgets of these
forms have the same names, but not the forms (I numerate them while
I´m using phpunit with symfony. For functional tests, we set up a
bootstrap to use the sfBrowser. It is working fine, but I need to use only
the output from phpdoc. How is that possible?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
My apologies for misunderstanding. Have you perhaps just tried:
?php echo $form['embedded_form']['widget1']-render() ?
On Mon, Nov 9, 2009 at 4:59 PM, cosmy c.zec...@gmail.com wrote:
Yes documentation is a great thing but maybe i haven't explained well
the situation.
I don't want to access
Of course one other way of seeing what the $form object contains is just
doing a var_dump($form); and working back from there
On Mon, Nov 9, 2009 at 4:59 PM, cosmy c.zec...@gmail.com wrote:
Yes documentation is a great thing but maybe i haven't explained well
the situation.
I don't want to
My suggestion would be sfCalendarEvent to avoid confusion.
Looking forward to play with it! :)
Daniel
On Nov 9, 12:35 am, Nicolas Perriault nperria...@gmail.com wrote:
On Mon, Nov 9, 2009 at 8:00 AM, juro fo...@juro.at wrote:
Class sfEvent must be a child class of Doctrine_Record
More specifically, I'd name the plugin sfEventCalendarPlugin and the
model classes sfCalendarEvent.
Just my 2 cents.
Daniel
On Nov 9, 12:35 am, Nicolas Perriault nperria...@gmail.com wrote:
On Mon, Nov 9, 2009 at 8:00 AM, juro fo...@juro.at wrote:
Class sfEvent must be a child class of
People coming from the Utrecht area might be able to get a ride in my
car. I can take up to three people with me to Belgium
Stefan
On Thu, Nov 5, 2009 at 7:41 PM, James Cauwelier
james.cauwel...@gmail.com wrote:
Are there other people with similar problems? Which railway station
would be
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
On Mon, Nov 9, 2009 at 8:39 PM, juro fo...@juro.at wrote:
sfEventManagementPlugin
Event.class.php
Calendar.class.php
Try to always prefix your symfony-related class names with sf or
something else.
Here you could use sfCalendar and sfCalendarEvent. Also, if your
plugin is tied with an ORM,
Setup a Doctrine Record Event listener:
http://www.doctrine-project.org/documentation/manual/1_1/en/event-listeners#record-listeners
Pre or Post Delete - it's up to you.
On Mon, 2009-11-09 at 21:02 +0100, Georg Gell wrote:
Is there a way to have a table with the nestedSet behaviour cascade
I dont know if im right but i think you want to do this:
$form['embedded form']['widget']-render()
Gareth McCumskey escribió:
Of course one other way of seeing what the $form object contains is
just doing a var_dump($form); and working back from there
On Mon, Nov 9, 2009 at 4:59 PM,
On Mon, Nov 9, 2009 at 8:59 PM, juro fo...@juro.at wrote:
??
Another idea: prefix your class names with two or three characters of
your choice, eg. if your name is John Doe:
jdDoctrineCalendarPlugin
jdEvent.class.php
jdCalendar.class.php
++
--
Nicolas Perriault
http://prendreuncafe.com -
http://snippets.symfony-project.org/snippet/177
On Nov 9, 8:33 am, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Is it possible to make a pager that doesn't use the database?
In that case I make an array of objects myself and pass it on to the
pager.
I want to be able to create routes that map to modules/actions/
parameters dynamically and store them in a database. This is for a
CMS.
What is the best way to do this?
- Subclass Routing
- Load using event listeners ([url]http://dfwtek.com/blog/129-dynamic-
routes-in-symfony12.html[/url])
-
I guess the slugs would be ok...
On Tue, Nov 10, 2009 at 8:12 AM, Greg Freeman g...@imagize.com.au wrote:
I want to be able to create routes that map to modules/actions/
parameters dynamically and store them in a database. This is for a
CMS.
What is the best way to do this?
- Subclass
23 matches
Mail list logo