Forms have dependencies on their widget, validator, help and error
message information. I found that specifying these dependencies in
code was a lot more difficult to maintain - specifically for the
message information.
To solve this I created a helper class that injects the message
information i
don't enhance
> > old plugins.
>
> > If you want more than the plugin, 2 solutions :
>
> > Contact the contributor to become a developer
> > Create your own plugin (personal/public)
>
> > Enjoy ;)
>
> > Alexandre
>
> > 2009/11/25 Steve San
Hi,
I love the easy gmap plugin. I've just been trying to figure out how
to get a different icon than the default red marker. I don't need
anything fancy, just another colour. Basically what I have is a map
with a bunch of markers with locations relative to a set of
coordinates. I'd just like
I've been having the same issues at my site. Users have used names
like john.doe or j...@live.ca and this does not work. I followed the
instructions in this link:
http://bluehorn.co.nz/2008/12/04/how-to-handle-dot-in-symfony-url/
But I still encounter the 404 error. I've been having to go bac
You're just adding text the response content in renderPartial. So you
can do something like:
$ctx = sfContext::getInstance();
$ctx->getConfiguration()->loadHelpers('Partial');
$content = get_partial(...);
$ctx->getResponse()->setContent($ctx->getResponse()->getContent().
$text);
On Oct 23, 10:
l trail is important as it allows forensics later if needed - and
> > as you mention it's an extra admin overhead.
>
> > Linking it to permissions isn't a good idea as it's only effective if
> > you're 100% certain ACL's have been applied correctly to re
gt;
> Linking it to permissions isn't a good idea as it's only effective if
> you're 100% certain ACL's have been applied correctly to resources and
> then checked. It just takes 1 typo for declarative security to fail.
>
> On Fri, 23 Oct 2009 18:07:30
the helper in the event handler to avoid the kluge.
Cheers
Steve
On Oct 23, 1:16 pm, Steve Sanyal wrote:
> Hi,
>
> I have an action with an event notification inside it. The event
> handler has a "get_partial" call in it. I get a PHP undefined
> function error with
Hi,
I have an action with an event notification inside it. The event
handler has a "get_partial" call in it. I get a PHP undefined
function error with get_partial if I have not previously called
get_partial within the action itself. I noticed this because the
failure only occurs if a specific
class myFilter extends sfFilter
> {
> public function execute($filterChain)
> {
> $context = $this->getContext();
> // do your stuff with $context->getResponse() and $context->getRequest()
> and $context->getUser()
> }
>
> }
>
> and regis
fony version are you using ?
>
> 2009/10/23 Steve Sanyal
>
>
>
> > Hi,
>
> > Has anyone come across any good solutions for having a disabled user
> > in symfony? Ideally, I'd like a person whose account has been
> > disabled to be sent to a special pag
Hi,
Has anyone come across any good solutions for having a disabled user
in symfony? Ideally, I'd like a person whose account has been
disabled to be sent to a special page. I'm using sfguard for my login
and ACL. Currently, I just change the user's active status to false,
but this merely prev
Hi,
Is it possible to do a query like this in propel (using criteria):
select city, state_iso_value as state, country_iso_value as country,
count(provider_id) as goalies from
(select distinct f.city as city, p.provider_id, f.state_iso_value,
f.country_iso_value from v_facility f, facility_provid
Just a clarification. This is a routing issue. It does not seem like
symfony can parse the URL properly because it includes an email
address as one of the parameters.
Regards,
Steve
On Oct 19, 8:30 pm, Steve Sanyal wrote:
> Hi,
>
> In my registration module, I have a URL whic
Hi,
In my registration module, I have a URL which has the username
embedded in it. However, if the username itself is an email address
it does not seem that this approach works:
https://myapp/frontend_dev.php/registration/test%40example.com/xsdfsdfadsf098098098/confirm-registration.html
I get
Hi,
I'm trying to use project:disable when I perform app maintenance, but
it doesn't seem to work. I see the following output:
xxx [~/x/myapp]# ./symfony project:disable frontend prod
>> file+ /home//myapp/data/frontend_prod.lck
>> enablefrontend [prod] has been DISABLED
Bu
I'm encountering a strange bug, where, for some reason symfony seems
to think the current action name is signin, whereas it should be
something else. As a result, what seems to happen is that I
eventually get directed to the signin page, even though the URL still
reads the same as the original pa
Hi,
I'm soon to deploy my application to production. However, I am having
some issues because of the directory structure. On my staging
machine, I would create public_html as a soft link to my symfony web
root. However, on production, my public_html is a real directory with
additional subdomai
Hi,
I notice when I go from a non SSL URL to an SSL URL I lose my session
variables. I've come to understand that this is because PHP uses
cookies for sessions, and this results in a new session being created
when switching to SSL.
So, I lose my session variables when I switch. However, I noti
Hi,
I've been testing out my symfony 1.2 application and I am getting some
random occurrences where a user signs in and is then seems to lose
their authentication and so they are redirected to the signin page on
their next request. Sometimes I even see content from a page with
authenticated cont
Hi,
When I log in using sfGuardAuth, and then hit the back button, I see
the login screen again and the content on the screen matches an
unauthenticated user. I have to refresh the page to get rid of this.
How do I instead expire the page so it is not cached by the browser?
Do I do this through
Hi,
Does anyone know of a way to maintain session data when switching from
non-SSL to SSL?
Thanks,
Steve
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to sy
Hi,
Has anyone been using sfSslRequirementPlugin? I am noticing something
strange - it doesn't work for actions which have mixed case names (eg:
createReservation).
It seems the security configuration converts all the action names to
lower cased, but the plugin doesn't do this when checking.
I
Hi,
Does anyone havea code snippet for getting the action and module from
a routing rule?
Thanks,
Steve
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to sym
Hi,
I have created a number of views in my database, but I haven't added
i18n tables for culture sensitive data at this point. I was wondering
if anyone here has any experience with creating views for i18n
support?
I'm just trying to get a handle on whether this might become a very
complicated
Hi,
It seems if I call setTemplate, the view is always set to "Success".
I'd like to be able to set this to something other than success.
eg: In my templates I have:
applyReservationIneligible.php
But if I call:
$this->setTemplate('applyReservationIneligible');
This always fails. The action
Hi,
It seems like the base model object __call method is actually
preventing me from calling methods defined in the subclass.
I have a model object called ReservProvider. In it, I have the
following code:
foreach($reservProvs as $reservProv)
{
if($reservProv->hasTimeConfict($this
Hi,
I have a bunch of calls that use conditional forward404s, such as:
$action->forward404Unless($action->getUser()->getProviderId()
== $action->reservProvider->getProviderId(), self::genLogMessage
($action, ': consumer id does not match: actual: '.$action->getUser()-
>getConsumerId().'
Hi,
I'm using Google's Ajax libraries for get my prototype libraries. But
it seems the Javascript helpers in Symfony automatically tries to get
a local copy. What's the best way to deal with this? I don't see a
way to turn this off. I guess I can just create a location that
doesn't exist, but
Hi,
Has anyone tried joining tables using the sfDatagridPlugin?
I'd like to do this, but as far as I can tell a database based grid is
linked to a single table map.
If it can't do this out of the box, I'll change it so it can, but I'd
like to avoid this if possible.
Thanks,
Steve
--~--~--
Hi,
Do you know how to enable logging in code called by a task?
In the task itself you can use the sfTask::log function, but my task
invokes other classes, some of which also contain logging.
My log statements are not printing out. It seems the context doesn't
get setup by the task to provide
reference each
> other. It has nothing to to with tables referencing each other.
>
> And I wouldnt call that PHP GC a garbarge collector
>
> Are you using propel 1.3? It is much friendlier with respect to memory
>
> Fabian
>
> On Jun 10, 2009, at 9:26 PM, Steve Sanyal
PHP does have a "garbage collector", but this may be an issue with an
inability to perform gc due to a circular reference issue in Propel.
If I understand it, the problem happens in this kind of case:
Table A has a reference to Table B, thus the propel om has classes A
and B, which have referenc
Hi,
After a lot of effort I got the symfony project:deploy to work
correctly.
I typically rsync to a staging environment by invoking project:deploy
on an eclipse project which corresponds to the symfony project. I
typically run the deployment task from a command line, using cygwin.
What I don'
Hi there,
I see a lot of symfony plugins are in beta stage, such as the
sfLucenePlugin beta.
I'd prefer to use stable plugins in 1.x or greater release, but it
seems like a lot of people are using betas in their production apps
regardless.
Is there a prescribed beta period? What are the criter
bout it a while ago, not sure if there is a
> fix for it yet.
>
> 2009/6/11 Pierre Lecocq
>
>
>
> > Try to divide your fixtures in several files.
> > Maybe propel will flush some memory by passing from one file to
> > another.
>
> > (Never tried)
>
Thanks. I am on a shared server, so I don't know if that's possible?
The current memory limit is set to 128M as per phpinfo().
What's weird is the error is not always occurring, it's intermittent,
and the dataset has always been the same size, about 10K records.
If I try the task 3 or 4 times,
37 matches
Mail list logo