http://www.symfony-project.org/book/1_2/05-Configuring-Symfony#chapter_05_sub_custom_application_settings_and_app_yml
It's documented there - When you should require an PHP array
directly beneath the all key you need to use a category header,
otherwise symfony will make the values separately
Couldn't you use the plugins/yourPlugin/config/
yourPluginConfiguration.class.php ?
try to connnect to the plugin.post_install event in the initialize
method.
I think it's faaar more clever than putting a task and then ask to
launch it in the README file.
On 14 juin, 16:34, Stéphane
Hi,
I suddenly checked the component display found some bug in that.
Actually, I am working on the Article website displaying All
categories at the top.
For this, I have used component in layout.
This is working fine for all pages except the edit/new article form
page, which also contains a
How do I lookup the users IP address?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to
http://www.symfony-project.org/api/1_4/sfWebRequest#method_getremoteaddress
On Tue, Jun 15, 2010 at 11:50, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
How do I lookup the users IP address?
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Anyone getting this error?
500 | Internal Server Error | sfConfigurationException
The route ModuleName_collection does not exist.
If I go to ModuleName/new it works but not the lists?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
Hello, I bumped into an error today when I was trying to load some
fixtures data.
I kind of know what the problem is, but I don't know the solution, and
google doesn't says anything useful.
Here are the data that you will need:
schema file:
{ ... }
PageContent:
actAs:{
I am working on a module generated by the admin generator. I added the
sfWidgetFormChoice widget to the lib/form file, like this :
class MyModule extends BaseMyModule
{
public function configure()
{
$this-widgetSchema['field'] = new sfWidgetFormChoice (array(
Can you make a link to the directory?
ln -s /sf /PATH/TO/DIR
On Tue, Jun 8, 2010 at 1:13 PM, Eno symb...@gmail.com wrote:
On Mon, 7 Jun 2010, Javier Garcia wrote:
When I say minimum I'm thinking in price :).
Most of your problems stem from the fact that your hosting provider
doesn't
(http://friendfeed.com/?ic=tEzOKnZaFf)
(http://friendfeed.com/hidensoft?ic%3DtEzOKnZaFf)
hidensoft invites you to see the links, photos, and videos hidensoft is
sharing on FriendFeed
(https://friendfeed.com/account/create?ic=tEzOKnZaFf)
FriendFeed
choices = array(
choice1 = choice1,
choice2 = choice2,
);
On Tue, Jun 15, 2010 at 10:24, Joe joe.hakim.ra...@gmail.com wrote:
I am working on a module generated by the admin generator. I added the
sfWidgetFormChoice widget to the lib/form file, like this :
class MyModule extends
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
On 14 Giu, 16:12, Christopher Schnell ty...@mda.ch wrote:
As I am writing lots of functional tests these days, I was wondering if one
should test the standard validators of a form.
Let's say, we have a change Password form. This simple form with three
fields would require lots of tests, for
Hello,
I have succesfully deploy the jobeet application from my localhost to
a shared host: http://jobeet.makelovenotwar.heliohost.org/ Everthing
was like in my localhost, but I change my symfony version to 1.4.5 and
on my localhost everthing is like before but I don't know what happend
at my
AFAIK, there is no such possibility – you're going to have to craft them by
hand. :)
Cheers, Daniel
On 15.06.2010, at 14:15, Christian Schaefer wrote:
Hi all,
I want to write a plugin that amongst other features contains a Form
class.
For extensibility reasons I would like it to
On Mon, 14 Jun 2010, Gustavo Fonseca wrote:
The book A gentle introduction do symfony[1] tells me that there is a
helper called Form which can generate a select element containig a
country list, but this helper is deprecated [2]! Somebody know if this
feature does not exists anymore on
Hello.
I`m using ahDoctrineEasyEmbeddedRelationsPlugin in the amin part of my
app.
My problem is I still get the CSRF attack errors whenever I want to
save, even though I added
$this-disableLocalCSRFProtection();
to ALL of my form filters.
Can anyone help?
Also, I can`t figure out how to
When you do $this-disableLocalCSRFProtection();
You have to do this too (AFAIK it works for my code) :
$this-getValidator('_csrf_token')-setOption('required', false);
Cheers,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée
You might need to do it for the embedded forms too.
Cheers,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Tue, Jun 15, 2010 at 5:27 PM, Stéphane stephane.er...@gmail.com wrote:
When you do
On Tue, 15 Jun 2010, Christian Schaefer wrote:
However this Form does not relate to a table in the database but is
used to access a web service. So I need no model.
Is there a way to define a virtual schema definition for this so
that symfony doctrine:build --all will generate the
Thank you for your reply, however i get the following error:
The validator _csrf_token does not exist.
On Jun 15, 6:27 pm, Stéphane stephane.er...@gmail.com wrote:
You might need to do it for the embedded forms too.
Cheers,
Before Printing, Think about Your Environmental Responsibility!
hi all,
i am trying to integrate this jquery script into symfony found at:
http://galleria.aino.se/ . however i am coming up with a blank
screen.
i put the javascripts inside /js/galleria folder
then in the showSuccess of my module, i put this
?php use_javascript('jquery-1.4.2.min.js') ?
?php
Show your form and the action that is saving the result, and when
you're getting the error(ie, when you call bind, or when you call
save)
A stack trace of the error would be best, really, but without any of
this information it's just guesswork what the cause could be.
On Jun 15, 12:10 pm, eantz
Have you tried not specifying item_id at all?
On Jun 14, 4:10 pm, dex rtl...@gmail.com wrote:
Hello, I bumped into an error today when I was trying to load some
fixtures data.
I kind of know what the problem is, but I don't know the solution, and
google doesn't says anything useful.
Here
I would probably do this on index instead of show. Also, your code to
create the gallery should be
div class=images
?php foreach ($gallery_pics as $pics): ?
?php $picUrl = image_tag('../uploads/assets/picturegal/' .
$pics-getImage()) ?
?php echo $picUrl ?
?php endforeach; ?
thanks for reply,
i took your advice and put the code on the index and the changed the
div tags..however, i notice that if i comment
out these statements:
?php use_javascript('jquery-1.4.2.min.js') ?
?php use_javascript('galleria/galleria.js') ?
the images show, i am thinking it has something
oh...what i mean is that the images display but the gallery is still
not enabled
On Jun 15, 10:09 pm, el-sid sydneyari...@gmail.com wrote:
thanks for reply,
i took your advice and put the code on the index and the changed the
div tags..however, i notice that if i comment
out these
nope. it didn't work. i tried
Galleria.loadTheme('/js/galleria/themes/galleria.classic.js');
and also
Galleria.loadTheme('../js/galleria/themes/galleria.classic.js');
but nothing. I am relatively new to symfony, so i have never
integrated php with jquery. is there
an alternative way of doing this
On 06/15/2010 01:09 PM, el-sid wrote:
nope. it didn't work. i tried
Galleria.loadTheme('/js/galleria/themes/galleria.classic.js');
and also
Galleria.loadTheme('../js/galleria/themes/galleria.classic.js');
but nothing. I am relatively new to symfony, so i have never
integrated php with jquery. is
geez! i think you are right..just put firebug and it seems some of the
javascript code is being obstructed by the debug toolbar and/or with
my other javascript code there. On my layout..i had used:
?php include_stylesheets() ?
?php include_javascripts() ?
though now i am starting to think its a
Basically, the book recommends that you test everything. The book goes on
to recommend that if you later find any bugs that need to be fixed, that the
fix also include yet more tests to ensure that the bug is and stays fixed.
They really mean ruthless testing.
The book is worth adding to your
31 matches
Mail list logo