Hi naveman,
As far as I know, the ajaxify() will execute a JavaScript response if its
content-type is text/javascript. As for embedded JavaScript code (in
script/script) in the response, I think it is evaluated when the
response type is text/html, but I'm not 100% sure. You'll have to test it
Hello,
i use the sfBasicSecurityUser for the management of the user
authentication. the session time is set to 1 hour (3600 sec.) my application
is configured in order to redirect to the login form when session time has
expired.
the problem is : when the application performs a remote action (via
On 02 Apr 2007, at 11:37, Hadrien Boyé wrote:
Hello,
i use the sfBasicSecurityUser for the management of the user
authentication. the session time is set to 1 hour (3600 sec.) my
application is configured in order to redirect to the login form
when session time has expired.
the
Thank you Alexander...
as the server can not change the waiting state of the client, i guess the
best way to get through this is to send an empty response which automaticaly
redirects the client to the login page.
if anyone has a better or cleaner solution, i am interested.
Hadrien
2007/4/2,
I've just written a very simple image gallery that I want to reuse
across multiple applications and possibly domains.
I could put the code in the global lib directory as a helper or class
but if I do this, I will lose the MVC structure.
If I want to keep the nice MVC separation, do I need to
I'm building two very similar websites with an identical data structure.
I would like to use templates as shown in the code snippets
http://www.symfony-project.com/snippets/snippet/115
and then select the template and set a database flag based on the
request domain.
Is this best down
I would create a custom plugin. Creating a custom plugin is really
simple. So in your case you could create a plugin, with the gallery
module. Put your existing code in this plugin, enable this module in
your app and your done.
Your plugin structure could look like this:
hi francois,
at first : merci pour le (ou la?) plugin ;)
i think that i'm doing a general ajax error, i already wrote it in
the forum:
http://www.symfony-project.com/forum/index.php/t/5756/
i load a component (a football pitch -- a droppable field, positions
-- drag- dropable, pitchplayers
Good afternoon,
I'm puzzled by something... I'm using sfPropelPager to show data
from a table.
The Criteria object I supply to sfPropelPager adds a few LEFT JOINs
and selects some extra columns from the joined in tables.
How am I supposed to access these extra columns later on in the
You should use
$pager-setPeerMethod('doSelectJoin') ;
and probably:
$pager-setPeerCountMethod('doCountJoinXXX') ;
Nautile
On 2 avr, 17:00, Alexander Deruwe [EMAIL PROTECTED] wrote:
Good afternoon,
I'm puzzled by something... I'm using sfPropelPager to show data
from a table.
The
On 02 Apr 2007, at 17:06, [EMAIL PROTECTED] wrote:
You should use
$pager-setPeerMethod('doSelectJoin') ;
and probably:
$pager-setPeerCountMethod('doCountJoinXXX') ;
Yep, that was it! Thanks so much.
Alexander
--~--~-~--~~~---~--~~
You received this
Hi everyone,
I get this error when trying to install any plugin from my command
line...
Warning: _pear_init(PEAR/Frontend.php): failed to open stream: No
such file or directory in /Users/craigboxall/Documents/Projects/
GrownUps/Site/data/symfony/tasks/sfPakePlugins.php on line 148
PHP
I have a weird issue that I am sure is something simple I am missing. I am
trying to create a related tag page much like the snipeet application
uses. In fact most of the code I am using is from the snipeet application.
To do this I take all the tags and push them to an array using the explode
You have output escaping turned on, so every variable passed to the
template is escaped.
In symfony escaping is done by decorating every variable in an object.
In your case this object is an instance of sfOutputEscaperArrayDecorator
which acts as an array.
An instance of this class acts as
When you want to share code between applications / projects, your best
bet is to create a plugin. It is very simple, you mainly have to move
your directories under the plugins/ directory.
Fabien
Jonathan Franks wrote:
I've just written a very simple image gallery that I want to reuse
15 matches
Mail list logo