No - that doesn't work.
It simply makes the base class contain this line...
> $this->option('baseClassName', 'somethingElse');
Thanks anyway.
On 7 Nov 2009, at 13:36, David Ashwood wrote:
>
> I've not tried it - but as it's an option does the following not work?
>
> Message:
> options:
>
I guess the slugs would be ok...
On Tue, Nov 10, 2009 at 8:12 AM, Greg Freeman 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 Routing
> - Lo
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])
- Def
http://snippets.symfony-project.org/snippet/177
On Nov 9, 8:33 am, HAUSa
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.
--~--~-~--~~~---~--~~
You received this
On Mon, Nov 9, 2009 at 8:59 PM, juro 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://symfoni
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
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 it
Is there a way to have a table with the nestedSet behaviour cascade it's
delete on the application level (like cascade: [delete]? I have a file
for each record in the file system that I would like to delete also.
Georg
--~--~-~--~~~---~--~~
You received this messa
On Mon, Nov 9, 2009 at 8:39 PM, juro 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, try to
sfCalendar makes sense
sfCalendarEvent doesn't
sfDoctrineEventManagementPlugin
sfDoctrineEMEvent.class
sfDoctrineEMCalendar.class
??
On Nov 9, 9:56 pm, Nicolas Perriault wrote:
> On Mon, Nov 9, 2009 at 8:39 PM, juro wrote:
> > sfEventManagementPlugin
>
> > Event.class.php
> > Calendar.
I like the feedback I am getting :)
I have (currently) two classes, Event and Calendar any ideas regarding
the naming then?
sfEventManagementPlugin
Event.class.php
Calendar.class.php
??
On Nov 9, 7:18 pm, Richtermeister wrote:
> More specifically, I'd name the plugin sfEventCalendarPlugin an
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
wrote:
>
> Are there other people with similar problems? Which railway station
> would be accessible to you? Antwe
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 wrote:
> On Mon, Nov 9, 2009 at 8:00 AM, juro wrote:
> > Class "sfEvent" must be a child class of Doctrine_Record
>
> There's alrea
My suggestion would be sfCalendarEvent to avoid confusion.
Looking forward to play with it! :)
Daniel
On Nov 9, 12:35 am, Nicolas Perriault wrote:
> On Mon, Nov 9, 2009 at 8:00 AM, juro wrote:
> > Class "sfEvent" must be a child class of Doctrine_Record
>
> There's already a sfEvent class i
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 wrote:
>
> Yes documentation is a great thing but maybe i haven't explained well
> the situation.
> I don't want to access the widge
My apologies for misunderstanding. Have you perhaps just tried:
render() ?>
On Mon, Nov 9, 2009 at 4:59 PM, cosmy wrote:
>
> 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 emb
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
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
embedd
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
wrote:
> Hi,
>
> Thanks for reply,
>
> I added this helper in my partial. Still not working
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 tarballs
render() ?>
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 wrote:
>
> Hi all,
> I was asking my self... how do I do to access embedde
Hi,
Thanks for reply,
I added this helper in my partial. Still not working :(
--
Murali
2009/11/9 dziobacz
>
> You must add in partial file '_yourpartialfile.php':
>
>
>
>
> On 9 Lis, 10:31, Murali Krishna B
> wrote:
> > Hi all,
> >
> > I am also facing the same problem in deleting posts wi
You must add in partial file '_yourpartialfile.php':
On 9 Lis, 10:31, Murali Krishna B
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 events are not added for
> those links.
> When it is done
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: string(
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 cr
On Mon, Nov 9, 2009 at 8:00 AM, juro 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 problem.
++
26 matches
Mail list logo