> I've already considered extending the Controller class to add some of
> those functions and having my own Controllers extend that class
> But changing my code (specially on this level) to help my editor feels
> really stupid ...
>
> Am I really the only developer out there who sucks at memorizing
There are two ways to fix this. The first is to create an Apache
alias, the second is to create a symlink (which might not work,
depending on your MAMP config).
So let's try creating an alias first...
In the MAMP settings for the site, choose the 'advanced' tab and in
the bottom box ('Customized
Would http://www.symfony-project.org/plugins/ysfDimensionsPlugin help?
cheers,
Tony.
On May 16, 6:53 pm, Davide Borsatto wrote:
> Hi everybody,
>
> for the project I've been working on I need to be able to define
> multiple themes.
> With "theme" I mean the full thing, including php code for th
e would mean 10 page refreshes...
>
> Anyway if anyone gets a chance let me know what you think about this...
>
> Regards
> Richard
>
> Btw... to anyone who i offended earlier... my deepest apologies...
> sometimes frustration gets the better of me...
>
>
>
> On
Just to chip in with another possible cause:
I see you're doing all of this in a controller (and others have talked
about whether that's a good idea). Have you got the web debug toolbar
enabled? If so, it could be keeping a log of all DB queries executed
in your action. I had something similar wit
Try this:
$modifiedFields=$this->getModified();
You can then use array_key_exists() to see if your field has been
modified.
cheers,
Tony.
On Feb 23, 5:34 pm, Luã @hisamu wrote:
> Hi,
>
> I want to know if a column was modified, in my model's save() method.
> Using Propel there's the isColumnM
When you say you have a bunch of subdomains do you mean a few more
than the three you listed below, or potentially hundreds?
If it's just the three then you might want to create a different
environment for each of them with a corresponding 'dev' environment -
e.g. one and one-dev, two and two-dev,
On Feb 9, 12:07 pm, wueb wrote:
> Thank you very much Gábor and Tony.
>
> Only 2 things Tony.
>
> First - that findOwned method is called when? When i make $this->leads
> = $this->getRoute()->getObject(); ?
I'm fairly sure it's as the route is processed, not when the getObject
is fetched.
>
>
Or, you could create new 'finder' methods in your model table class
that find only records owned by the current user.
This example assumes you're using Doctrine, but there should be an
equivalent in Propel.
You specify these methods in your routine.yml;
leads:
class: sfDoctrineRouteCollectio
On Jan 31, 5:43 pm, Brandon Turner wrote:
> Hello all,
>
> I've been using data fixtures more and more in my Symfony 1.4.1 project
> and have run up against an out-of-memory error when loading data via the
> doctrine:data-load task. My PHP CLI memory_limit is currently set at
> 32MB. I've got
er. Perhaps we should post on symfony_devs. I've been
> experiencing out of memory issues when loading a large amount of
> fixtures via doctrine:data-load - which appears to be due to this same
> issue.
>
> Brandon
>
> On 02/02/2010 11:03 AM, Tony Piper wrote:
>
>
Hello. I've spent a good few hours trying to fix a memory leak in a
Symfony Task which uses Doctrine to access a table.
I'm finding that if I specify an application name (so that the Task
runs with an sfApplicationConfiguration instance) there is a memory
leak each time I run the simplest of Doctr
+1 from me. It would be great if François could update it for Propel
1.4 and Symfony 1.3/1.4 compatibility - it would probably take him
just a few minutes (relative to how long it would take me)…
The lack of DbFinder is a show-stopper for my 1.2->1.3 upgrade testing
and migration plans.
cheers,
Hello,
I'm writing a mail wrapper using Swiftmail, and this will be held in a
library, not part of an action, model or view.
I need to change the layout from within this library class, once for
HTML mail, once for Plain Text mail.
What I've got so far isn't working - both bodies get rendered wi
14 matches
Mail list logo