Thanks.
I figured there must be something simple...
I'll give that a try tonight.
Marti.
On Tue, Apr 26, 2011 at 1:02 AM, Roman Sichny unforgiven...@gmail.comwrote:
if ($user instanceOf sfGuardSecurityUser)
...
--
If you want to report a vulnerability issue on symfony, please send it to
Hi all.
I am working on an accounting general ledger plugin that I expect to use in
some projects I have planned. I would like to have a created_by field in one
of my tables set automatically, but only if sfGuardPlugin is in use in the
specific application.
Is there a way to test if sfGuard is
In the call to light_modallink you need to point to the module action
that will return the contents of the lightbox...
i.e. rather than 'sfLightboxPlugin/modal' you might have
'myModule/index' or whatever other action returns the information you
want to display.
Regards,
Marti
2010/1/18 Javier
Okay, found my error.
I decided to just start over, and this time noticed the '--orm=Propel'
option on generate:project. Obviously just changing which module is
enabled on a project built for Doctrine is insufficient to change the
layer.
It all works now.
Marti
2010/1/5 Martin Settle
I thought I might try re-writing a system I built a few years ago
inside symfony. To that end, I created an Ubuntu server Vbox
appliance, installed symfony 1.4, initiated a new project and app,
changed the default Doctrine to Propel (I'm familiar with it), then
added sfGuard. At this point I
In other words, you need to create the Mensaje object first...
public function executeNew(sfWebRequest $request)
{
$m = new Mensaje();
$m-setContent('Hola');
$this-form = new MensajeForm($m));
}
2009/11/18 Gábor Fási maerl...@gmail.com:
The first parameter of a doctrine form
the onClick
attribute of the input statement.
onClick=Modalbox.hide(); return true|false; (depending on what the
plugin needs for chaining events).
You can also quickly test it with firefox + firebug in the console.
On Sat, 2009-10-31 at 22:48 -0400, Martin Settle wrote:
Thanks
I've got a form appearing in a lightbox, which calls a remote function
and updates the parent page. However, I'd like to have the lightbox
close on the submission of the form. I'm trying to use an
input=submit onClick=--javascript here-- to close the lightbox,
but I can't for the life of me
in the install guide?
Doctrine version is here:
http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin
Lots of people miss the part about changing the myUser class, and of
course don't forget to 'symfony cc'
On Oct 21, 3:02 pm, Martin Settle martin.set...@gmail.com wrote:
Sorry
Hi all.
I'm about to start parallel-processing on a symfony database. I'd
like to be able to give people the opportunity to log in and play with
the system in a 'demo' environment while we deal with live data in
'prod'.
I've been trying to use sfGuard to lock down 'prod', changing my
one of the l's from:
defaullt:
is_secure: on
On Wed, 21 Oct 2009 20:48:03 +0200, Martin Settle
martin.set...@gmail.com wrote:
Hi all.
I'm about to start parallel-processing on a symfony database. I'd
like to be able to give people the opportunity to log in and play with
the system
Hi all.
This is, I'm sure, a newbie question, but my eyes are going blurry
looking at google results.
I want to have a choice made in a select box display the next element
of the form, which is in a hidden div
in my Form class, I have:
$this-widgetSchema['vendor_id']-setAttributes(array(
Okay, please ignore...
I simply reversed the quotes... single quotes to encapsulate
javascript and double quotes to encapsulate div id. Oh, and I
replaced visible with an empty string.
Now it all works.
2009/10/9 Martin Settle martin.set...@gmail.com:
Hi all.
This is, I'm sure, a newbie
13 matches
Mail list logo