On Thu, Apr 29, 2010 at 13:03, Javier GARCIA wrote:
> Any hand?
Try port 587 instead.
++
--
Nicolas Perriault
Akei : http://www.akei.com/
Symfonians : http://symfonians.net
Blog : http://prendreuncafe.com/
Mobile: +33 660 92 08 67
--
If you want to report a vulnerability issue on symf
ould you
prevent the original third-part database to be dropped and recreated
by the task command?
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net
Mobile: +33 660 92 08 67
--
You received this message because you are subscribed to the Google Groups
"symfony users" grou
a dedicated and isolated environment for it, how will you
be able to read it in the "prod" one?
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net
Mobile: +33 660 92 08 67
--
You received this message because you are subscribed to the Google Groups
"symfon
Hi,
I've just noticed the --connection option has been removed from the
doctrine:* tasks family since symfony 1.3 (and 1.4 as well), so I
wonder what's the recommended way to operate on a particular
connection now. Any hint?
++
--
Nicolas Perriault
http://prendreuncafe.
On Tue, Nov 10, 2009 at 8:33 PM, juro wrote:
> Thank you for the tutorial, is the sfTaskExtraPlugin compatible with
> 1.3?
Sure, I'm using it on a 1.3 powered project of mine with no pb :)
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net
Mobile: +33 6
uleGeneratorHelper
{
}
That's it.
Maybe there would a place for a generate:plugin-init-admin task in Kris' plugin.
Kris? :-)
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net
Mobile: +33 660 92 08 67
--~--~-~--~~~---~--~~
You recei
On Mon, Nov 9, 2009 at 8:59 PM, juro wrote:
> ??
Another idea: prefix your class names with two or three characters of
your choice, eg. if your name is John Doe:
jdDoctrineCalendarPlugin
jdEvent.class.php
jdCalendar.class.php
++
--
Nicolas Perriault
http://prendreuncafe.com - h
ed with an ORM, try to name your plugin accordingly, eg.
sfPropelCalendarPlugin or sfDoctrineCalendar Plugin. Again, these are
just to avoid name collisions with other plugins/libs. Things will
definitely be easier with php 5.3 namespaces, but in the meanwhile...
:/
++
--
Nicolas Perriault
ht
solve your problem.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net
Mobile: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this
o I'd be glad to got some help from the
community if you've been ever exposed to an approaching situation or
have an idea to solve it ;)
Cheers,
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net
Mobile: +33 660 92 08 67
--~--~-~--~~~---~--
gable behaviour.
There's a "canUpdate" option you can set to true in the Sluggable
behavior configuration.
++
--
Nicolas Perriault
Training and Consulting Manager at Sensio Labs
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Pro phone: +33 140 99
for that specific purpose.
Also, it shouldn't be hard to create a 1.2 compatible form validator
based on this library.
++
--
Nicolas Perriault
Training and Consulting Manager at Sensio Labs
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Pro phone: +33 140 99 82
om the Model and gives them to the
View from the user input (in a Web context, it's mainly the url and
maybe some associated parameters).
Well, that's hard. Hope it helps anyway.
++
--
Nicolas Perriault
Training and Consulting Manager at Sensio Labs
http://prendreuncafe.com - http:/
lly wrote this part of
the symfony code. I need holidays.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
a translation callable by using:
$widgetSchema->getFormFormatter()->setTranslationCallable(array(new
myI18n(), 'text to translate'));
More information here http://bit.ly/6sNm
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiola
but it's not as widely known).
You should also checkout http://www.symfony-project.org/plugins/sfXssSafePlugin
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You re
ppose because of the html output ???
The debug() method is intented to be used for debugging purpose only,
so onece you've fixed your problem you must remove all calls to it.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92
#x27;This is required');
And also sfValidatorBase::setInvalidMessage('That is invalid');
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message becau
On Wed, Dec 17, 2008 at 3:04 PM, Samir van de Sand
wrote:
> The cookie only contains a string. How's that binary data?
Base64 is often used because it's charset safe (only ascii characters
are used to represent the encoded content)
++
--
Nicolas Perriault
http://prendreunca
On Wed, Dec 17, 2008 at 2:21 PM, Samir van de Sand
wrote:
> However I still haven't understood what base64 is and why I should use it.
> Is there anybody who could explain this?
http://letmegooglethatforyou.com/?q=base64
--
Nicolas Perriault
http://prendreuncafe.com - http://sym
module's function only?
Just create a dedicate route, like this:
csv_export:
url: /toto.csv
param: { module: foo, action: bar }
The use of sf_format is not mandatory here.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sen
Or maybe enable the
compat_10 setting... There are so many ways with symfony :-)
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subs
messages as well if you prefer
(and this would be a good idea regarding decoupling purpose between
view and controller).
Hope this helps,
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~
sfDoctrineTreePlugin/0_9_1?tab=plugin_readme
Isn't this sufficient to start?
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because
using this .htaccess and Apache 2.2 for symfonians.net and it
works smoothly for urls with dots : http://pastie.org/330755
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~---
he
the content seen in the first day.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"s
ropel:build-filters
Then symfony cc
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony
rms and
propel:build-filters (and don't forget symfony cc) prior to launch the
generate-admin task
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received thi
On Wed, Nov 19, 2008 at 2:15 PM, mahesh <[EMAIL PROTECTED]> wrote:
> Hi
> how to display the breadcrmbs on my laout.
Hi
Sorry
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33
2008/11/12 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Thanks, Dmitry - though it's very pitifully.
You can create components in plugin modules, and then share them
accross multiple apps, though.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://
e this one works
out of the box:
Note the boolean argument to generate the full url.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message becaus
ass by hand:
http://trac.symfony-project.org/browser/branches/1.2/UPGRADE_TO_1_2#L1527
HTH
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this messag
o include my html partials, as symfony
> automatically tries to get their xml versions as well (which of course
> does not exist).
You'll find a quick'n dirty modified get_partial() helper which allows
what you describe here: http://pastebin.com/m4e4800d3
++
--
Nicolas Perriault
h
On Sat, Oct 11, 2008 at 8:58 AM, Sumedh <[EMAIL PROTECTED]> wrote:
> Have any of you used a charting library in Symfony?
>
> Which one is simple to use?
This one for sure: http://code.google.com/apis/chart/
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfon
roller. Then just
configure your action to use a dedicated email layout.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subsc
On Thu, Oct 2, 2008 at 6:56 PM, Olivier Mansour <[EMAIL PROTECTED]> wrote:
> can you give me a hint to begin creating a formater ? For exemple, where in
> the sf code the default formater are stored ? I cant find the files.
In lib/widget/sfWidgetFormSchemaFormatter*.class.php
++
On Thu, Oct 2, 2008 at 5:21 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> What did you think ?
Ugly but efficient solution, at the init state of your task:
$_SERVER['HTTP_HOST'] = 'toto.com'; // yeah, I know, I know
++
--
Nicolas Perriault
ht
On Thu, Oct 2, 2008 at 4:12 AM, James <[EMAIL PROTECTED]> wrote:
> i thought we were still at 1.1.2? Did I miss something?
> James
http://www.symfony-project.org/blog/2008/09/29/symfony-1-1-3-released
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonian
>save();
Ou encore :
$this->form->bind(array_merge($request->getParameter('blog'),
array('name' => 'tralala')));
if ($this->form->isValid())
{
$blog = $this->form->save();
++
--
Nicolas Perriault
have a centralized community place
to share tips on symfony performance tuning.
I'd really love having something like https://tuneup.fiveruns.com/ for
symfony, but I have no time...
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
On Mon, Sep 29, 2008 at 6:07 PM, Eno <[EMAIL PROTECTED]> wrote:
> Here's a mother load of general advice :-)
Nice check list. Would you mind creating a dedicated page on the wiki
with these informations? This would be a nice addition to the chapter
18 of the book.
++
--
Nic
t; The name of the Email field automatically becomes the value of the
> name field.
I've just run your example on my box and it works perfectly... Have
you got a tweaked php.ini or apache configuration?
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensio
public function execute ($filterChain)
{
try
{
$filterChain->execute();
}
catch (sfStopException $e)
{
throw $e;
}
catch (Exception $e)
{
// send your mail here
throw $e;
}
}
}
++
--
Nicolas Perriault
http://prendreuncafe.com -
e formatting is somewhat broken in some part of the book...
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
://svn.symfony-project.com/branches/1.2 symfony12
$ sudo ln -s /usr/share/php/symfony12/data/bin/symfony /usr/bin/symfony12
Then:
$ symfony10 -V
$ symfony11 -V
$ symfony12 -V
But for production purpose, freezing and syncing is the way to go.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://
On Fri, Sep 26, 2008 at 12:15 PM, Nicolas MARTIN
<[EMAIL PROTECTED]> wrote:
> Is that a bug or do I miss something ?
Did you clear the cache? Also, are you using APC or something similar?
I had issues with APC which was caching some pathes...
++
--
Nicolas Perriault
http://prendreu
.class.php.
Then you can use $foo = new MyBusinessClass(); from anywhere within
your project.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message
t;first_name" and "last_name" columns.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
transformation,
I've now ended up with doing migration tasks by hand. But I'd love
having a "standard" way for doing this.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~-
On Tue, Sep 23, 2008 at 2:23 AM, Cristiano Betta <[EMAIL PROTECTED]> wrote:
> I still haven't for the reason as described before
Open a ticket:
- for the correct milestone (1.1.3 here)
- flag is as major
It will be reviewed really quickly ;)
++
--
Nicolas
1.1
> and 1.1.2 in the /lib/task/cache/sfCacheClearTask.class.php file but
> can't figure out what is causing it yet.
People, can you open a ticket on this issue, specifing your OS, php
version and sample use cases?
Thanks :-)
++
--
Nicolas Perriault
http://prendreuncafe.com - ht
may
happen when you're using a database based session storage, so if
that's your case check the queries, or maybe the db configuration...
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~-
aFormatter() }
Try
$this->widgetSchema->getSchemaFormatter()->setTranslationCatalogue('contact_form');
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~--
sfFormExtraPlugin
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
On Fri, Sep 12, 2008 at 2:45 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> What on earth is handler? Not even in the xhtml DTD.
It is in xhtml2, so we'll have it in 10 years, or more probably never
http://www.w3.org/TR/xhtml2/mod-handler.html
++
--
Nicolas
NG in
> /www/signups/lib/model/om/BasePlanVoicePeer.php on line 86
>
> const 13NUMBER_RATE = 'plans_voice.13NUMBER_RATE';
A PHP constant cannot start with a number: http://fr.php.net/constants
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians
On Tue, Aug 26, 2008 at 11:29 PM, Nicolas Perriault
<[EMAIL PROTECTED]> wrote:
> Well, you can first check that two chars are making the param in the
> routing.yml file (maybe with a more accurate regexp if you wish), and
> then validate it in a filter querying your db.
Oka
you wish), and
then validate it in a filter querying your db.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed
ible?
Maybe by adding a "requirements" ruleset in your route definition, like this:
myroute:
url: /:sf_culture/:blah
param: { module: foo, action: bar}
requirements: { sf_culture: [a-z]{2} }
(note that I did not check the syntax, but you see the point)
++
--
Nicolas Perriault
f you use symfony 1.0, you can take a look at what has been done for
Symfonians using sfGuard:
http://symfonians.org/browser/branches/1.0/apps/main/modules/sfGuardAuth
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiola
useful with them.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
actions templates, eg. aboutUsSuccess:
Of course this is a very simple example, but you get the point.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You
On Tue, Jul 15, 2008 at 11:51 AM, Sumedh <[EMAIL PROTECTED]> wrote:
> Is there some easy way to do this?
If you want fine control of your metas, you should use a dedicated
slot to fill it from your templates.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.n
so do the trick, for sure.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony us
}
}
But this won't prevent exceptions to be thrown if you call these
fields within a template ;-)
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received
es me think that this will be "a bit" redundant with the new
input filtering implementation planned for 1.2...
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You rece
Propel object
and know its properties, so this would be a bit tricky to handle I
guess (I mean, big Fatals to expect).
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
file (my.cnf).
> My hunch here is that symfony only closes the database connection once you
> destroy the credentials/authentication or when the session times out. Am I
> right?
Well, nope.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Ph
components.class.php) and you're done.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 67
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"sy
core devs
want to be sure you can always expect escaped variables in your
partials, however they are called (component, layout, partial,
get_partial(), etc.)
I can agree it's a bit disturbing at first sight.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians
w('heading') ?> or getRawValue() ?>
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&quo
actually exist?
2. Even if it's not mandatory as you're using symfony 1.1, have you
tried to clear the app cache?
3. Does an 'Article' entry exist in your
cache/backend/config/config_autoload.yml.php?
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net
schema validator and assign it as
a post validator, so you'll have the whole fields values to deal with
and validate them.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~~---~-
ease a Propel based plugin, you should
svn:ignore its lib/model/om/* and lib/model/map/* to allow people to
customize their propel.ini file, eg. enabling comments generation or
behaviors.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiol
On Tue, Jul 1, 2008 at 11:16 PM, Nicolas Perriault <[EMAIL PROTECTED]> wrote:
> http://symfonians.org/svn/branches/1.0
Woops, wrong url copy/paste :p Here's the correct sequence:
$ svn co http://svn.symfony-project.com/branches/1.0 /usr/share/php/symfony10
$ svn co http
svn/branches/1.1 /usr/share/php/symfony11
$ sudo ln -s /usr/bin/symfony10 /usr/share/php/symfony10/data/bin/symfony
$ sudo ln -s /usr/bin/symfony11 /usr/share/php/symfony11/data/bin/symfony
$ symfony10 -V
$ symfony11 -V
Cheers,
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonian
documentation on how to upgrade a project to version 1.1?
... everything is explained here:
http://trac.symfony-project.com/browser/branches/1.1/UPGRADE
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
mple here:
http://symfonians.org/browser/branches/1.0/apps/main/lib/i18nSubdomainFilter.class.php
That's what's used in symfonians.net
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~
tools/pdt/downloads/
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group
vided - when requested as json and html when requested as html. A
good way to achieve both client and server side validation using the
same action code, BTW.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiola
eedUrlForm();
$form->bind($request->getParameter('params'));
$errors = array();
foreach ($form->getErrorSchema()->getErrors() as $field => $error)
{
$errors[$field] = $error->getMessage();
}
$this->getResponse()->setContentType('application/json
really help.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
a NFS directory as ./data/index/ to share the data
between your servers.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~~---~--~~
You received this message because you are su
i18n
mapping within in.
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" g
2008/6/3 Sumedh <[EMAIL PROTECTED]>:
> May be I am asking a dumb question, but where can I find a migration
> guide to Symfony 1.1?
Here at this moment:
http://trac.symfony-project.com/browser/branches/1.1/UPGRADE
++
--
Nicolas Perriault
http://prendreuncafe.com - http://sy
2008/5/30 hutchic <[EMAIL PROTECTED]>:
> Output escaping seems to be escaping any ' to '
>
> Any help is appreciated.
This bug has been introduced in 1.0.12 and fixed in 1.0.13. Anyway,
you should update to the latest available (1.0.16)
++
--
Nicolas Perriault
http:/
2008/5/29 russell <[EMAIL PROTECTED]>:
> From within error404Success.php template, how can I access the message
> passed by forwardUnless(1, "this is the message I want to display")?
In your symfony app log file, eg. log/frontend_dev.log or in the web
debug toolbar.
++
ing features of the the sfGuard plugin:
http://symfonians.org/browser/trunk/apps/main/modules/sfGuardAuth/
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~~---~--~~
You receiv
e of the user class:
public function save($con = null)
{
if (!sfContext::getInstance()->getUser() instanceof sfGuardSecurityUser)
{
return parent::save($con);
}
// ...
}
I dont really like these approachs but they may solve your problem...
++
--
Nicolas Perriault
http://prendreuncaf
return parent::save();
}
Or something like this (not tested)
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~~---~--~~
You received this message because you are subscribed
like sfNoStorage, dont challenge the
session data. You can get the storage object with
sfContext::getStorage().
HTH
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~~---~--~~
You
sfContext::getInstance()->getUser())
{
return parent::save();
}
if ($this->isNew())
{
$this->setCreatedBy($user->getUserId());
}
if ($this->isModified())
{
$this->setUpdatedBy($user->getUserId());
}
parent::
ished really soon, now. Stay tuned :)
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
Phone: +33 660 92 08 76
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"sy
ropel object and define its validation rules
- you can create and validate forms programatically (the validation
schema is the real thing you're looking for I guess)
- you maintain php classes, not unvalidateable YAML syntax
- as a bonus, you can use the 1.1 forms framework in a 1.0 project
2008/5/19 Rasmus Luckow-Nielsen <[EMAIL PROTECTED]>:
> Yes, that is my impression as well. Never heard of "rootline".
+1, http://en.wikipedia.org/wiki/Breadcrumb_(navigation)
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com
P
2008/5/16 Keith <[EMAIL PROTECTED]>:
> That is already in there.
Yes, sorry I'm blind today.
So try:
# chown -R www-data /usr/share/pear/data/symfony/web/sf
# chmod -R ugo+r /usr/share/pear/data/symfony/web/sf
++
--
Nicolas Perriault
http://prendreuncafe.com - http://symfoni
2008/5/16 Keith <[EMAIL PROTECTED]>:
> When I access: http://www.sandbox.dev/sf/sf_default/images/sfTLogo.png
> I get 403 Forbidden error
> Any suggestions?
Try to add this rule to your vhost :
AllowOverride All
Allow from All
> I have made the /sf directory accessible to everyone for re
2008/5/16 Reynier Perez Mira <[EMAIL PROTECTED]>:
>
>
>nombre_licencia
>
>
>Listar
>
>
You must use this format:
nombre_licencia
Listar
The text in the tag must
2008/5/16 David Desquiens <[EMAIL PROTECTED]>:
> My site has French and English cultures.
> If I go to English, footer stay in French.
You may try to set the culture in the sf_cache_key parameter in your
partial/component call:
$sf_user->getCulture())) ?>
HTH
++
--
Nicolas
--~--~-
2008/5/15 markchicobaby <[EMAIL PROTECTED]>:
> Hi Gilles, yes I tried to use the Google SMTP server. I couldn't get
> it working, I got an unhandled exception. See my forum post for my
> mailer.yml settings
>
> http://www.symfony-project.org/forum/index.php?t=rview&goto=52076#msg_52076
GMail s
1 - 100 of 252 matches
Mail list logo