Hey There,
yes, both solutions work: either create 2 distinct admin modules by
specifying the module parameter during creation,
or have one smart module that display info/forms differently. In the
latter case you'll probably have to custom code more and rely less on
the yml configuration.
Daniel
I've also been playing with overriding sfConfig settings from an admin
panel. Depending on how early you need these settings to apply, this
is not really a difficult issue. In my case I listen for the even that
tells me that factories are loaded, and inject my custom settings
there. You have to
it in the
controller? I'm also thinking in terms of how I'll have to modify
factories.yml to get this custom logging to work in prod as well as
dev without altering the lack of application logging.
Thanks a bunch for the help you've already provided here!
Scott
On Feb 26, 9:25 am, Richtermeister nex
Hey Javier,
I've come across this solution (simple string replace) a couple of
times, and it works well for me so far, so I guess it's ok.
Daniel
On Mar 10, 10:03 am, Javier Sanchez javija...@gmail.com wrote:
Hi all
This is my problem.
When i want to route with a parametrer slash / like
This is somewhat tricky, and I haven't quite figured out a good way
either.
Of course you'll need some form of ajax to get new widgets from the
server, but you'll also need to tell the main form that you've just
added new fields, otherwise it'll complain about unexpected values.
For complex
Just to beat that horse some more, since Apostrophe is open-source and
built by programmers that encountered all the problems and challenges
you're looking to solve, the suggestion is to look at their schema /
code for inspiration. Any answer we could give you here would simply
re-iterate what's
Hey Darren,
just look at what the getForm method is doing internally and mimic the
behavior in your code.
Daniel
On Mar 4, 9:06 am, Darren884 darren...@gmail.com wrote:
Hi guys, I have used generate:module to generate a CRUD module,
however it does not have getForm() in it like my admin
The flash variable is now attached to the user. Use $sf_user -
getFlash() - has('blah');
They did that because it interacts with the user anyways (storing
stuff in session), so now it explicitly belongs to the user.
If you need to fix hundreds of templates, you can just listen to the
,
-christian-
On Thu, 25 Feb 2010 10:21:00 -0800 (PST)
Richtermeister nex...@gmail.com wrote:
Hey Chris,
you don't need to interact with this logger directly. It just sits
there and listens for your custom logging events.
The dispatcher is what you need to worry about, since that's used
into the default logfile as well as into my custom logfile. I want
separate logfile just for special notes which should also not appear in
the regular log files.
bye,
-christian-
On Wed, 24 Feb 2010 09:25:45 -0800 (PST)
Richtermeister nex...@gmail.com wrote:
Hey Christian,
it's simpler than
-0800 (PST)
Richtermeister nex...@gmail.com wrote:
Hey Christian,
yeah, I've had some trouble with that as well, but I think I found a
good solution.
First, I continue to use the regular event system to send log events,
but I send events of type blah.log instead of application.log.
Now
Nothing? What good is the installer if I can't add / build plugins
with it..?
Daniel
On Feb 22, 1:44 pm, Richtermeister nex...@gmail.com wrote:
Hi all,
I'm playing with the new installer script functionality, and so far
things work great, except for one issue:
At one point in my script I
Hey Christian,
yeah, I've had some trouble with that as well, but I think I found a
good solution.
First, I continue to use the regular event system to send log events,
but I send events of type blah.log instead of application.log.
Now, to catch those you have to implement a custom logger like
Hi all,
I'm playing with the new installer script functionality, and so far
things work great, except for one issue:
At one point in my script I install a plugin (I use subversion
externals for this, and that all works great). Then I would like to
build the model, but since the plugin is not
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
Just to your specific point, $sf_user is accessible from every
template or partial anyways.. no need to pass it along.
Daniel
On Feb 8, 1:09 pm, Darren884 darren...@gmail.com wrote:
I solved it guys but the above would not work so I had to do a
different way. I found out about hasCredential
I would just merge the account_id into the array that you pass to the
bind() method. That way it looks to the form as if the value had been
submitted. To keep validation in place, only unset the widget, not the
validator.
Daniel
On Feb 5, 2:06 pm, kris chant ch...@supersharpshooter.net wrote:
Hey there,
I know that sounds like a good idea, but it really isn't.
The right place to control access to form fields is in the form class
itself, because think about it, the same form that your admin
generator uses can be used / embedded elsewhere too, so your
credentials restriction wouldn't
I would suggest reading through the code of the sfGuardPlugin, as this
shows exactly how that's done.
Daniel
On Jan 29, 1:23 pm, Stephen Melrose step...@sekka.co.uk wrote:
Hi,
I'm trying to get my head around the form framework in Symfony 1.4.
I've read the incredibly detailed section in
Since symfony 1.1 validation is handled via the form framework, hence
those validate folders aren't generated any more.
Daniel
On Jan 24, 7:20 am, Parijat Kalia kaliapari...@gmail.com wrote:
Hey guys,
I am working on a symfony project for sometime now. I have a few modules in
my project
I agree with Alex,
all I see in the docs is that the column holds a timestamp... to me
that said the column should be of the type timestamp as well, and
that doesn't work.
Daniel
On Jan 21, 4:11 pm, a...@speedypin.com a...@speedypin.com wrote:
I guess not enough where you reference Eno,
I've just had this issue and decided to make the time column a simple
integer.
That works, and seems to get rid of weird session drops that I had
before.
Daniel
On Jan 19, 2:06 pm, a...@speedypin.com a...@speedypin.com wrote:
there is also this
check the settings.yml for the parameter no_script_name. That is
probably off for your dev environment, and it should be on.
Daniel
On Dec 12, 2:29 pm, Parijat Kalia kaliapari...@gmail.com wrote:
Hey guys,
while developing on the localhost
I always access my webpages using
of course I mean the opposite, sorry ;)
On Dec 12, 11:26 pm, Richtermeister nex...@gmail.com wrote:
check the settings.yml for the parameter no_script_name. That is
probably off for your dev environment, and it should be on.
Daniel
On Dec 12, 2:29 pm, Parijat Kalia kaliapari...@gmail.com
Hey Nicolas,
yeah, ERP stuff is where symfony really shines. Have a look at
http://www.siwapp.org/ for inspiration or for a good starting point.
Daniel
On Dec 11, 9:15 am, NicolAS400 nico.mach...@gmail.com wrote:
Hi, with this new release (1.4) I'm found a lot of plugins that didn't
apply in
I am running a 1.0 site off the sfDynamicCmsPlugin and I have only
good things to say.
--
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
Nah, sorry, you'll have to write that yourself, as you have to with
every form. Reason being that the surrounding html around the form
is generated by the admin generator, and without that layer in the
cache, there's no partials for you to include..
It's not a lot of work though.
Daniel
On Dec
The problem is that that main.css file doesn't exist. Your browser
requests it and smacks into the 404 action, which is then stored as
the last requested action. After the login, the guard plugin tries to
redirect you to that last url.. Basically, make sure you only
reference assets that actually
I think he is referring to customizing the admin generator itself via
a theme, and from what I remember there is an issue with that. It
should allow you selective overrides, but so far you still have to
copy the entire generator and make changes there..
I believe the corresponding ticket is this
Hi all,
I'm quite familiar with sfGuard, but there's one thing I've never
figured out right.
I have to build an application with quite a few different user types -
admins, members, affiliates, sales people, and all of these types will
use different applications within the project. Now, of course
...@uci.cu wrote:
Richtermeister wrote:
You're not doing anything with the output of twig. as far as the
surrounding symfony application is concerned, you're executing the
TestTwig action, and it's looking for a corresponding template. In
your case you want to echo the twig output and then say
You're not doing anything with the output of twig. as far as the
surrounding symfony application is concerned, you're executing the
TestTwig action, and it's looking for a corresponding template. In
your case you want to echo the twig output and then say:
return sfView::NONE, or stick the twig
CMS
portion and leave the customer-specific code open for them to edit as they
wish.
On Mon, Nov 16, 2009 at 8:09 PM, Richtermeister nex...@gmail.com wrote:
Hi all,
our company is slowly shifting from selling all custom websites to
websites built on symfony + our own set of CMS plugins
Hi all,
our company is slowly shifting from selling all custom websites to
websites built on symfony + our own set of CMS plugins, and the
question of code ownership is starting to come up.
Traditionally we simply said that the client buys the entire site
including code and is free to do
...@gmail.com wrote:
required: true
On Mon, Nov 16, 2009 at 19:55, Richtermeister nex...@gmail.com wrote:
Hi all,
I have a model with a field absolute_url, which is a varchar(255),
non-required. When generating the SQL for the tables, propel does not
add NOT NULL, but I would like
Let's keep this on topic. Thanks.
On Nov 16, 12:18 pm, Gábor Fási maerl...@gmail.com wrote:
Quote from the bottom of *every* mail you get from this levlist:
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
, I think it is not clear enough, so let me repeat
briefly, in case anyone comes across this in the future:
like Richtermeister says, the problem can be solved by adding a
_uniques key to the schema, and using the auto-generated from. If you
do not want to do this, for some reason, you need
Hey Gareth,
yep, overriding the authorization method and adding a flash message is
the way to go.
Daniel
On Nov 14, 3:12 am, Gareth McCumskey gmccums...@gmail.com wrote:
Determining if the current view a user is seeing is his first SINCE he
logged in. The OP wants a flash message as soon as
Hey Tom,
just to chime in, I've been pretty impressed with the apostrophe demo
site, and I'll be playing with the sandbox over the weekend to see if
that's not something for our company to embrace fully as well..
On that note, I love the svnforeign copy script! Comes at the perfect
time, as I
I think sfCalendarEvent makes a lot of sense. It suggests an event
within 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
Hey Sid,
it's now called propel:generate-admin and it rocks.
Daniel
On Nov 10, 2:10 pm, Sid Bachtiar sid.bacht...@gmail.com wrote:
sfCompat10Plugin: By deprecating this plugin, we also deprecate all
other elements in the framework that rely on this plugin to work (1.0
admin generator, and
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
@Alecs,
glad you raise that question, as I'm in the same position. So far I've
worked with Propel, and there was nothing I couldn't do with it.
To me it seem the slow development perception stems from the fact
that it was pretty mature already.
@Eno,
yeah that's the usual answer, but it offers
Hey Javi,
The two classes without Plugin are not directly involved with the
autogenerated model layer, the are just custom extensions for a
specific purpose.
It is considered best practice for writing plugins, that you move the
model code into Plugin classes and leave the higher model class
It means the signature of your save method is different. Make sure
you take the same parameters as the parent function.
Daniel
On Oct 26, 6:19 am, mbernasocchi mbernasoc...@gmail.com wrote:
thanks, it works as expected, I just had to add
return parent::save($conn); instead of only
$sf_request
http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chapter_07_sub_template_shortcuts
Daniel
On Oct 19, 9:07 am, Simone Fumagalli simone.fumaga...@gmail.com
wrote:
Hello.
Ho do I access sfWebRequest in my view file ?
I want to write something like
Your referral
Hey Eno,
err, yeah, sorry. Was writing from memory. :)
Daniel
On Oct 12, 8:45 am, Eno symb...@gmail.com wrote:
On Fri, 9 Oct 2009, Richtermeister wrote:
I believe you just need to add an updateXXXField function to the form,
where XXX is the camelized fieldname.
That method is passed
There's a getModifiedFields() method on propel objects as well.. no
need for looping.
Daniel
On Oct 12, 2:10 am, Tomasz tomek.ignat...@gmail.com wrote:
It is not the best option but it will do the job. Thank you :)
I can loop all fields and put into array those which are modified :)
On 12
I would not make separate forms, but just use
if($this - isNew())
{
unset(.);
}
Simple and easier to maintain.
Daniel
On Oct 12, 8:23 pm, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
I have a field in my class that contains i18n values. This is my
model:
user:
I believe you just need to add an updateXXXField function to the form,
where XXX is the camelized fieldname.
That method is passed the value just before saving, and you return the
updated value, or false to remove it.
Daniel
On Oct 9, 3:08 pm, Eno symb...@gmail.com wrote:
I need to the values
Hey Hausa,
that's fairly easy. Just look at, say, the
sfWidgetFormSchemaFormatterList class and create a class that extends
it.
In that class you can do some major changes just by updating the
template properties, like $rowFormat, $decoratorFormat, etc..
Then just tell your form to use that
Hi all,
one thing I was wondering is why all sfLogger variants have to use the
sfEventDispatcher..
it seems that this makes each logger listen to application.log
events.. What if I just want a simple logger that logs results from
some task I'm doing.. I don't neccessarily want application events
Hey Hausa,
if you replace the entire html, why not do a regular reload?
The point of Ajax reloads is to load less than the whole page,
otherwise there's no benefit.
To answer your question though, have you tried $this - setLayout
(layout); in the ajax action?
Daniel
On Oct 5, 7:12 am, HAUSa
I'll take that :)
Because Zend feels like Symfony after you drop it from 100feet into
little bits that need sketchy re-assembly.
I feel your pain ;)
Daniel
On Sep 30, 1:05 pm, Eno symb...@gmail.com wrote:
On Wed, 30 Sep 2009, ProdigitalSon wrote:
If you get around to plugging it in to 1.3
Hi all,
since we're talking about it, I wanted to ask if anybody else is
missing the thumbnail_tag() helper that used to be part of the
sfThumbnail Plugin.
I have an old version that clearly contains it, yet the current
repository shows it's not there..
What happened to it?
Thanks,
Daniel
On
Hey Simone,
ah I see.. so, like a small templating setup? Sounds like a good use
to me.
I'm probably going to use that myself some time soon, but I haven't
decided on what template syntax to use. I want to stick with one of
the official template engines out there, so that there's existing
Hey dagger,
it'll have to be a custom query to the effect of Call xyx(), but
depending on what data is returned you may still rely on regular
propel hydration.
Or some manual handling of the result set..
Just for the record, I had major issues last time I tried accessing
stored procedures via
Hey Davinder,
I've been using the sfCombinePlugin for that, works very well.
My only issue is that it doesn't yet take the media parameter into
consideration, so by default it would lump a print stylesheet together
with screen ones.. Easy enough to manually add though.
Daniel
On Sep 28,
Hey Chris,
that all being said the kind of tracking you're looking to do is
really best handled by Google Analytics / Omniture, etc..
Gives you much more insights into your visitor behavior, supports
goals funnels..
Daniel
On Sep 26, 6:54 am, Chris Renfrow frowt...@gmail.com wrote:
Thanks
Hey Simone,
I would use the same form, but in the configure function you do
something like:
if($this - isNew())
{
//add or configure validators for create
}
else
{
//add or configure validators for update
}
clean and easy to maintain.
Daniel
On Sep 23, 3:16 am, Simone Fumagalli
Hey Dennis,
you should be able to embed related forms in each other.
Sounds like the userform should be your starting point, and in the
configure function do something like:
foreach($this - object - getAddresses() as $key = $address)
{
$this - embedForm(form_.$key, new AddressForm($address);
Hey Ghost,
I find that even if something in symfony seems trickier than it needs
to be,
I usually only need to implement it once and can then either simplify
things in my own extensions, or package it and reuse it or what not..
After that, life is smooth sailing. I'll take that over simple
Jey Jake,
if the error is with a field that you're not rendering, you wouldn't
see it.
Also, you're not rendering global errors and hidden fields from what I
can see..
Try just printing the entire form ( echo $form; ) and see if you see
where the error lurks, and work backwards from there.
Hehehe, thanks :)
On Sep 12, 1:12 pm, גולן (במילעל) stu...@yanivgolan.com wrote:
Thanks Daniel it did help
(BTW liked the delicate graphics in your Blog header...:) )
On Sep 12, 7:57 pm, Richtermeister nex...@gmail.com wrote:
Hey Yaniv,
I suppose you're using sf1.2
In this case
Hey Ben,
no, your first version is right. You only need to pass model and
column.
The object that your form is updating needs to have a primary key set
though, in order to be considered an update. otherwise it will be
considered new and the update will fail.
In the most basic propel form setup
Hey Yaniv,
I suppose you're using sf1.2
In this case, the type stuff doesn't work any more through the
generator file.
You need to modify the generated form classes directly (this way form
logic is in one central place instead of scattered through many config
files..)
For specifics read here:
The choices option takes an array of the acceptable values, in your
case array('f', 'c').
Daniel
On Sep 3, 5:56 am, Germana Oliveira germanaolivei...@gmail.com
wrote:
I have this Code:
class DenunciaForm extends BaseDenunciaForm
{
public function configure()
{
Hey Dawid,
I have the same issue, but only if I forget to specify the module name
the first time around. After that symfony seems to remember that
name, which is really annoying. I usually end up manually renaming
things, which is possible. Just remember to pass the proper module
name the first
Hey Rajesh,
I guess the answer is that it's not available. Doesn't seem to be
amongst the official plugins, and nobody came forward with one..
Time to shine and build it ;)
Daniel
On Sep 4, 8:02 am, Rajesh Kodali rajeshkod...@gmail.com wrote:
I am looking at full scale calendar plug in with
Hey Surom,
I believe http://www.symfony-project.org/plugins/sfPropelApplyPlugin
could help. Haven't tried it yet, but seems to fit the bill.
Daniel
On Sep 4, 5:21 am, Sorom Uzomah delsa...@yahoo.com wrote:
Hello everyone,
I have 2 questions
* Is there now a stable plugin for
Hey mattsister ,
I've had the same issue, and there's an easy fix.
The reason is that text fields really submit 2 values, the text
content and the is_empty flag, so they arrive as an array.
When you switch that to a select, it arrives as a single value, and
won't be processed correctly.
The
Hi all,
I was just wondering what happened to the helper that used to be
included with the sfThumnailPlugin?
Used to have a thumbnail_tag() helper, doesn't seem to be in the
plugin any more..
Thanks,
Daniel
--~--~-~--~~~---~--~~
You received this message because
Hey Sid,
I would not rely on the generator.yml to configure which form fields
are displayed, since it only hides fields from the interface.. as far
as the form is concerned you end up with empty form fields if a field
is not displayed and the form is submitted.
As shown above the solution is to
use one route
and urls would be like
/library/legal/document2.pdf
and if no category was chosen
/library/uncategorized/document.pdf
- Dennis
Richtermeister wrote:
Hi all,
quick question. I'm trying to accommodate a url with an optional
category.
Say you have documents that can
Hey Mintao,
yeah, there's a limit as to how deep you can go directly.
If you need to access deeper nestings, you have to retrieve the parent
array first and access it directly.
Daniel
On Aug 25, 7:20 am, mintao florian.fack...@mintao.com wrote:
Hi,
print_r('app_thumbshots')
displays the
Hi all,
quick question. I'm trying to accommodate a url with an optional
category.
Say you have documents that can be categorized, like: /library/legal/
document1.pdf, where legal is a category.
Now, for uncategorized documents, I would like those to omit the
category parameter, like so:
Hey Chris,
I found the quickest way is to use the generate-admin task to create a
new admin generator based on a particular model, and then move that
generated module into a plugin. The only thing you need to watch out
for is to register the routes manually, because you can't package a
Hey Caphun,
I believe the place to handle this stuff is in the form classes now,
and I find that a better place as well, since it affects all instances
of a form and you can adjust the validator at the same time as well
(assuming you need to tell it to allow an empty submission or not..).
Hope
hey giugio,
without answering your real question (sorry, pressed for time right
now), I would just link to the regular admin list for comments and
pass a filter parameter to limit the list to the relevant comments
(i.e. those related to that article.
It's a very clean solution and keeps using
:43 PM, Richtermeister nex...@gmail.com wrote:
Hey Caphun,
I believe the place to handle this stuff is in the form classes now,
and I find that a better place as well, since it affects all instances
of a form and you can adjust the validator at the same time as well
(assuming you need
Hey Stefano,
I would write a custom post-validator. A post validator is given the
entire data array, so from there you can just loop over the array and
see if the values keep increasing..
Hope this helps,
Daniel
On Aug 12, 8:57 am, Stefano stef...@sancese.com wrote:
Hi,
I'm developing my
, and have a great day.
Daniel
On Aug 11, 3:09 am, François CONSTANT francois.const...@gmail.com
wrote:
Hi Daniel,
U can change the format of the date in the dateWidget.
http://www.symfony-project.org/api/1_2/sfWidgetFormDate
On 10 août, 19:02, Richtermeister nex...@gmail.com wrote:
Hi all
Hi all,
is there a date widget without days somewhere? I'm looking to use this
for the expiration date of a credit card..
Thanks,
Daniel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To
Hey Marcos,
I think I've had the same issue before. What's happening is that the
text field is really submitting 2 fields, one being the text value,
and the other the is empty checkbox value. So when you switch the
widget to a choice widget, only one value gets submitted (instead of
an array of
Also, I believe in sf1.2 you can specify the viewcache manager class,
so in there you may be able to add authentication into the cache key..
Daniel
On Aug 7, 12:49 am, Zdanek tom...@mikran.pl wrote:
-noauth for the cache when not logged in and just the username when they
are logged in.
Regards,
James Collins
2009/8/4 Eno symb...@gmail.com
On Mon, 3 Aug 2009, Richtermeister wrote:
I am really liking the form framework, and I find it accommodates
pretty much all my needs as a programmer. My html guy sees this a
little differently though, since he's got a little more
Hi juaninf,
you cannot auto-generate forms that span more than 1 table.
However, once all forms are generated, you can embed one inside the
other via the embedForm() method.
Hope this helps.
Daniel
On Aug 3, 3:12 pm, juaninf juan...@gmail.com wrote:
I know that the php symfony
Hi all,
I am really liking the form framework, and I find it accommodates
pretty much all my needs as a programmer. My html guy sees this a
little differently though, since he's got a little more code to write
for every form field..
So I was thinking, maybe I can generate the html output of
is nice because it
puts plugin configuration on a specific file and keeps the app.yml not
crowded.
2009/7/31 Richtermeister nex...@gmail.com
Hey Bruno,
what I meant is include the file in the plugin to provide default
values. Of course the user needs to overwrite some of those
-Config
If I have success I will post it here.
2009/7/30 Richtermeister nex...@gmail.com
Hey Bruno,
just include a /yourplugin/config/app.yml file that contains your
settings.
This file will be included in the configuration automatically.
Daniel
On Jul 30, 10:16 am, Bruno
Is this a symfony app? In that case look at the front controller
(usually front_dev.php) and see what's causing the error.
How did you get a bid for a problem that you're not sure what it is?
Daniel
On Jul 30, 10:49 am, chip fyn chip...@gmail.com wrote:
Is this a real problem or what?
The
Hey Bruno,
just include a /yourplugin/config/app.yml file that contains your
settings.
This file will be included in the configuration automatically.
Daniel
On Jul 30, 10:16 am, Bruno Reis bruno.p.r...@gmail.com wrote:
Thanks Eno, but that does not shows what I am looking for. It explains
Hey Gabor,
I'd be interested in what software you use to access the imap servers.
Any pointers? :)
Thanks,
Daniel
On Jul 24, 6:33 am, Gábor Fási maerl...@gmail.com wrote:
I have a site that needs to regularly collect info from other
locations, not mails though, but websites. I achieved
something like this should work.
$this - widgetSchema - setLabel(from_date, From);
Daniel
On Jul 22, 8:08 pm, Germana Oliveira germanaolivei...@gmail.com
wrote:
Hi!!
Im trying to customize my UserFormFilter, so i have this in my setWidget:
...
'created_at' = new
Hey Adrien,
you're using a forward() command after the mailing form, so the flash
gets picked up in the current request and not unset until the next.
If you use a redirect(), the flash will truly only be shown once. This
is also best practice, since it avoids re-triggering the form by
hitting
Use the use_stylesheet(mystyle, first); helper.
It's good practice to include your style NOT last, so that the project
can still override it.
Daniel
On Jul 16, 7:20 am, Bruno Reis bruno.p.r...@gmail.com wrote:
Hi there,
Is there a way to include a specific js in the main layout from
widgets.
Daniel
On Jul 15, 10:53 pm, Java geek develo...@jsptube.com wrote:
Thanks Daniel,
This is exactly what I was looking for. I felt that there should be some way
other than extending the widgets, but din't know what.
Thanks
SN
- Original Message -
From: Richtermeister nex
Hey Sudhir,
the settings you're looking for is the formatter option in the
sfWidgetFormSelectCheckbox class.
You can pass this option a callable that will handle the formatting of
the checkbox output. Ideally, as you found, you do this by extending
the class and putting the custom formatting
Hey Matias,
I find that symfony allows a gradual approach to this. When you leave
the sfCompat10Plugin enabled, all your old forms will still work, and
you can gradually replace them with form classes. No other changes to
your app should be neccessary.
If your forms are based on your model, I
101 - 200 of 330 matches
Mail list logo