lready?
>
> Regards.
>
> 2011/4/4 Christian Schaefer
>
>
>
>
>
>
>
>
>
> > no. and why would I?
>
> > there is no controller to handle that route. instead the security
> > component provides a listener that intercepts. or did that change as
&
On 5 Apr., 07:55, Christian Schaefer wrote:
> no. and why would I?
>
> there is no controller to handle that route. instead the security
> component provides a listener that intercepts. or did that change as
> well?
>
> On 5 Apr., 07:14, oscar balladares wrote:
>
>
no. and why would I?
there is no controller to handle that route. instead the security
component provides a listener that intercepts. or did that change as
well?
On 5 Apr., 07:14, oscar balladares wrote:
> Hi.
> Did you define the route for login_check?
>
> #app/config/routing.yml
>
> _securit
hi all,
thanks for raising this topic. I experience the exact same behaviour.
I am still running on PR8 for that exact reason.
apparently the listener do not get called any longer.
I tried to hunt this down but run out of time and reverted back to
PR8.
I got as far as there is a method generated
hi all,
consider the following XML.
http://www.symfony-project.org/schema/dic/services";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.symfony-project.org/schema/dic/
services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd";>
hmm.. I'm doing it almost the same way than you.
$ php app/console doctrine:mapping:import "HelloBundle" xml (I use xml
actually but that doesn't matter much)
$ php app/console doctrine:generate:entities "HelloBundle"
remember to delete all backups in HelloBundle/Entity/ (starting with a
'~').
you're using a relative path but your missing one level.
according to your folder structure it would be
#tray {padding:12px 15px; background:url("../images/template/
tray.gif") 0 0 repeat-x; font:85%/1.2 "tahoma",sans-serif;}
however this is not an appropriate question for this mailing list as
it
hi,
first of all you should not access $_SERVER directly but use the
appropriate symfony class instead.
in this case its sfWebRequest [1] where you have a method getUri() [2]
which should do what you want.
Also have a look at getPathInfo() [3]
[1] http://www.symfony-project.org/api/1_4/sfWebReq
I'm not sure I got you correctly but it seems you are talking about
several administrative tasks that are executed by different persons/
roles, right?
if you would create an app per person/role you will likely encounter
duplicated code a lot. also you would have to maintain a far more
complex sys
hi chris,
I would suggest to not reinvent the wheel and look for a solution that
uses sfguard on the inside and oauth to the outside.
I haven't tested them myself yet but there are some plugins in that
area already.
cheers
/christian
On Aug 16, 5:31 pm, catchamonkey wrote:
> Hi all,
>
> What ar
Hi Javier,
I examined this for a short while and came to the conclusion that
either you have to drop the requirement of having slashes in your
parameter and find another solution or do the slightly unelegant
str_replace().
Read more about it here:
http://test.ical.ly/2010/07/20/how-you-run-into-p
Hi all,
does anyone have a complete Jobeet project with symfony 1.4 available?
The last I've fetched from http://svn.jobeet.org were no longer
compatible with sf1.4 and the tutorial...
cheers
/Christian
--
If you want to report a vulnerability issue on symfony, please send it to
security at s
For those unfortunate enough to have missed the conference I tried to
wrap it all up here:
State of #Symfony 2 online conference - a killer feature revealed! -
http://bit.ly/cU5KOi
Cheers
/Christian
On Jun 23, 4:58 am, Eno wrote:
> Anyone attending the online conference tomorrow? I didn't rec
Hi all,
I want to write a plugin that amongst other features contains a Form
class.
For extensibility reasons I would like it to follow the same way that
doctrine model forms are organised having a Base..Form, Plugin..Form
and ..Form.
So the developer can add custom code inheriting the one from t
Hi all,
I finally came round to translate some old (german) posts and
summarised my learning so far about PHPUnit testing symfony plugins.
As this topic pops up every now and then I thought I share the link
here as well.
If you think this unworthy self promotion: please ignore. :)
Cheers
/Chri
Hi Slavka,
from your tiny description it is not clear whether the leak you
experience is a result of Propel or symfony or your usage of them.
You should know that symfony 1.2 is no longer supported but replaced
by symfony 1.4. The favoured ORM nowadays is Doctrine although Propel
is still suppor
t; return $object->{'get'.sfInflector::camelize($columnName)};
>
> }
>
> I think something like this?
>
> - Jon
>
> On Sun, Mar 14, 2010 at 4:43 PM, Christian Schaefer wrote:
>
>
>
>
>
> > hi all,
>
> > can somebody translate thi
hi all,
can somebody translate this simple function to use Propel instead of
Doctrine?
{{{
function getValueFor($tableName, $id, $columnName)
{
$table = Doctrine::getTable($tableName);
$object = $table->find($id);
return $object->$columnName;
}
}}}
Thanks a lot!
/Christian
--
If you want
hi all,
I was looking for a clean and simple way to configure caching headers
for a site I was working on.
as it does not deserve a plugin (too small and simple) I posted it as
a snippet.
http://snippets.symfony-project.org/snippet/365
however unfortunately the snippet page does convert < to
Hi all,
I've read several similar posts so far but none was helping so far..
This is my schema.yml:
{{{
Order:
tableName:orders
actAs:
Timestampable:
columns:
id: { type: integer(4), primary: true, autoincrement:
true }
count: { type: integer(4) }
order_ad
Hi all,
is there a way to tell the image_tag() helper to use a different
domain than the application?
I am creating a lot of images in symfony and write them to disk
afterwards to do it only once.
yslow still tells me to serve them from a CDN and I want to do this.
only I don't fancy to change
Hi all,
I recently wondered if the (excellent!) Jobeet tutorials wouldn't make
up a good base for benchmarking Propel against Doctrine?
I do not intent this to be a flamewar. My experience with Propel is
outdated by now and I have little or no clue of its current features,
Doctrine on the other
Hi all,
I am seeking for advice here.
I have nice little symfony project with lots of features and therefor
a lot of routes.
One feature though is a small custom built CMS that allows its users
to do two things:
1. building a site structure that has no limits in terms of depth or
naming convent
Hi all,
I was just about to create a small feed module that depending on the
sf_format (the file extension on the url) serves afeed as html, rss or
atom.
conveniently symfony already does a lot for thisout of the box.
so it automaitcally uses the template "feedSuccess.rss.php" and the
layout "l
Hi all,
There's a new symfony related group:
http://groups.google.com/group/symfony-cms
The aim is to specify the requirements for a CMS that is build on
symfony and later hopefully it's implementation.
At the moment this is not about development or technology at all but
about defining what a CM
Hi all,
I have two models: Recipe and Ingredient.
Now I want to have a form to enter a recipe with a dynamic number of
ingredients. So the form should start with three ingredients but the
user must be able to add some more via Ajax.
Now I wonder how I would implement this best? Embedded forms?
hi all,
this might be trivial but I just can't find how to do it..
when a user logs in onto my site I set a few attributes to
$this->getUser()->setAttribute('nickname', #nick#);
now when the session expires (meaning no logout action was triggered)
the user is no longer authenticated but the att
hi all,
I just did an svn update on one of my projects using the doctrine plugins.
all worked fine before now after the update (and symfony cc of course)
I get the following exception:
Fatal error: Uncaught exception 'Doctrine_Exception' with message
'Unknown attribute.' in
/var/www/myserver/p
hey thierry,
thanks for your suggestion. I would also like to see this included as
I can see a number of uses for this. the procession footprint is quite
neat and if you would be able to turn it on or off..
well what I meant to say is just thanks! ;)
cheers
/christian
> Great work.
> Actually
hey thanks tritan!
yeah I though a personal prefix kinda makes sense whereas sf might look
cool but gives the wrong impression imho.
let me know if this plugin is of use to you. ;)
cheers
/christian
Tristan Rivoallan wrote:
> On 8/29/07, Christian Schaefer <[EMAIL PROTECTED]> wrote:
hi all,
after using it for quite a while now I finally found the time to add a
bit of documentary and ship this little plugin.
it basically allows you to specify several urls per route. that is one
url per route and culture.
consider the following example:
homepage:
url:
de: /startseite
hi all,
I recently switched from propel to doctrine. so far everything is ok. I
I just have two questions:
1. is there a way to have packages like in propel? where models can be
grouped into packages whose classes will be created in the packages
directory (ie /lib/model/doctrine/myPackageName)?
32 matches
Mail list logo