Yes, you can do it like that.
Bernhard
--
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 symfony-user
ok - so _pagination.php partial in /apps/frontend/templates and then
use it in module template:
$pager)); ?
>
On 15 Lip, 07:35, Bernhard Schussek wrote:
> What about creating a _pagination.php partial with the shared code?
>
> Bernhard
--
If you want to report a vulnerability issue on symfony,
Hi Javier,
That's because the return type of getRoute() is defined as sfRoute[1],
which doesn't have a getObject() method. Eclipse can't know that this
method returns a sfObjectRoute in this specific case.
Bernhard
[1]
http://trac.symfony-project.org/browser/branches/1.4/lib/action/sfAction.cla
What about creating a _pagination.php partial with the shared code?
Bernhard
--
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
Hi,
I'm fairly new at Symfony, and since I'm working on a small project that I can
afford to make changes to to keep up with a changing codebase, and I really
want to leverage php5.3, I'm starting out with Symfony2.
My problem is that I can't get assets to work with my twig templates; I put
th
sorry, there is in English->
I am trying to call return $ this-> renderComponent ('onlineshop',
'homeShopsService', array ('service' => $ item [0])); from
components.class.php
getting the following error:
OnlineShopComponents Call to undefined method: renderComponent.
I can use "renderComponent"
estoy intentando llamar return $this-
>renderComponent('mimodulo','micomponente', array('service'=>
$item[0])); desde components.class.php
obteniendo el siguiente error:
Call to undefined method onlineShopComponents::renderComponent.
puedo utilizar "renderComponent" desde el component.class.php
http://bluehorn.co.nz/2010/07/15/how-to-change-csrf-attack-message-in-symfony-1-2/
On Thu, Jul 15, 2010 at 11:25 AM, Sid Bachtiar wrote:
> Never mind, I found the answer in
> http://www.symfony-project.org/more-with-symfony/1_4/en/14-Playing-with-Symfony-Config-Cache
>
> On Thu, Jul 15, 2010 at 1
I use the latest versions of Symfony 2 (PR3).
I have all Doctrine's services loaded in the container
but there's no commands in the application console.
Any suggestion on how to show them ?
many thanks
--
If you want to report a vulnerability issue on symfony, please send it to
security at sy
Never mind, I found the answer in
http://www.symfony-project.org/more-with-symfony/1_4/en/14-Playing-with-Symfony-Config-Cache
On Thu, Jul 15, 2010 at 10:40 AM, Sid Bachtiar wrote:
> Hi,
>
> I would like to change the CSRF error message and someone (Kris W)
> pointed out that I should use "templa
Hi,
I would like to change the CSRF error message and someone (Kris W)
pointed out that I should use "template.filter_parameters event".
Could Kris or someone please give me more clues?
Thanks,
Sid
--
Blue Horn Ltd - System Development
http://bluehorn.co.nz
--
If you want to report a vulnera
You have misunderstand me :)
i need display form fields only for those users that have needed
credentials not the whole actions :) for you knowladge
it is possible to define the actions credentials in the
generator.yml :P
it is
generator:
class: sfDoctrineGenerator
param:
model_class:
Hi ,
I use sfWebBrowser like this :
$wbrowser = new sfWebBrowser(array(), 'sfCurlAdapter', array(
'followlocation' => false,
));
So, as you can see I dont want to follow redirection.
In curl adapteur the opt CURLOPT_FOLLOWLOCATION is set to false.
The problem is line 219 from sfWebBrowser.clas
AFAIK you can not specify security settings in generator.yml only in
config/security.yml
There you have to specify the action name and the credentials required
to access the action,
see more info here:
http://www.symfony-project.org/reference/1_4/en/08-Security
gabriel
On Jul 14, 11:58 pm, ga
I have question
how in admin generator add credentials to forms in edit or new
for example i have
new:
display:
"Something": [ great ]
fields:
great: { credentials:[admin_credential]}
It dosn't working this field is allways displayed any reason ?
Symfony 1.4 with standard sfDoc
I need on 10 pages a pagination. If I use method from tutorial:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/07
I have to 10 times write the same code for: first, previous, next and
last site with only other links.
Is other way ? In Zend framework we can definied template for
pagination:
managed to get this working in the end, not sure if it was by simply
adding a rule for "/" or if it was fixed by making the compiled config
exactly the same as the one generated by sfConfigRoutingHandler (i.e.
with serialization). In either case it works now, so I'm happy.
On Jul 14, 1:00 am, Dan
Look at the block of PHP code just before the subheading "Form Events". There
you'll find that they set the "with_delete" option to false – set this to true
and add the "filename_delete" validator with an sfValidatorPass class (you can
look that up here:
http://www.symfony-project.org/api/1_4/s
Hi,
Try
$this->widgetSchema->setNameFormat('guest[%s]');
in the configure() method of your form.[1]
Bernhard
[1] http://www.symfony-project.org/forms/1_4/en/01-Form-Creation
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You re
Has anyone successfully used the blameable extension with Symfony 1.4?
My expectation was that it would work in the same way as the Timestampable
behaviour. Was that an unwarranted assumption?
Alex
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfo
I've got error when using url_for helper (symfony 1.4.6)
it was when i doing "Day 14" from "Practical symfony"
So, problem was in lib/helper/UrlHelper.php line 81
$params = array_merge(array('sf_route' => $routeName),
is_object($params) ? array('sf_subject' => $params) : $params);
for solving a
Hi,
It will be great if someone can show me howto or point me some
resource how to do this.
having a date field on transaction_detail table: dob
on TransactionDetailForm is define as: 'dob' = new sfWidgetFormDate()
on template page when i use it will
generate with name and id transaction_detail
regarding this tutorial:
http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms
How to delete an uploaded image?
--
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
Then it has to be some other problem because this is documented
functionality and I have used this before. Hmm... Is the route you
posted really executed/used when you type in a URL that should invoke
it? Check the log for that or post it here.
Daniel
Sent from my iPhone
On Jul 14, 2010,
Okay, answered too soon. Disregard my answer then. :)
Glad it's working for you!
Daniel
Sent from my iPhone
On Jul 14, 2010, at 3:41 PM, HAUSa > wrote:
Ow now it does... hmmm weird.
Thanks, it all works fine now!
On 14 jul, 15:38, HAUSa
wrote:
Doesn't work either, gets ignored as well
Ow now it does... hmmm weird.
Thanks, it all works fine now!
On 14 jul, 15:38, HAUSa
wrote:
> Doesn't work either, gets ignored as well
>
> On 14 jul, 13:37, Daniel Lohse wrote:
>
> >http://www.symfony-project.org/reference/1_4/en/10-Routing#chapter_10...
>
> > :)
>
> > On 14.07.2010, at 13:20,
Yes:
advertisement_show:
url: /:sf_culture/advertisement/show/:id/:slug/*
class: sfPropelRoute
options: { model: Advertisement, type: object }
param: { module: advertisement, action: show }
requirements:
sf_method: [get, post]
sf_culture: (?:en|es|de|fr|nl)
On 14 jul, 1
Doesn't work either, gets ignored as well
On 14 jul, 13:37, Daniel Lohse wrote:
> http://www.symfony-project.org/reference/1_4/en/10-Routing#chapter_10...
>
> :)
>
> On 14.07.2010, at 13:20, HAUSa wrote:
>
> > I got a feeling that my method option is ignored:
>
> > advertisement_show:
> > url:
Is your route declared as sfPropelRoute/sfDoctrineRoute?
On Wed, Jul 14, 2010 at 15:23, HAUSa
wrote:
> I can't use genUrl like this:
> genUrl('advertisement_show', $Advertisement)
> where $Advertisement is the object for the sfObjectRoute
>
> The only way to do so is to call it like this:
> genUr
I can't use genUrl like this:
genUrl('advertisement_show', $Advertisement)
where $Advertisement is the object for the sfObjectRoute
The only way to do so is to call it like this:
genUrl('advertisement_show?id=' . $Advertisement->getId() . '&slug=' .
$Advertisement->getSlug())
But that, ofcourse,
http://www.symfony-project.org/reference/1_4/en/10-Routing#chapter_10_sub_method_for_criteria
:)
On 14.07.2010, at 13:20, HAUSa wrote:
> I got a feeling that my method option is ignored:
>
> advertisement_show:
> url: /:sf_culture/advertisement/show/:id/:slug/*
> class: sfPropelRoute
>
On Tue, 13 Jul 2010, Eno wrote:
> Looks self-explanatory: there is jobeet_job table in your database.
I meant, there is NO jobeet_job table.
--
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because y
I got a feeling that my method option is ignored:
advertisement_show:
url: /:sf_culture/advertisement/show/:id/:slug/*
class: sfPropelRoute
options: { model: Advertisement, type: object, method: adsasdgas }
param: { module: advertisement, action: show }
requirements:
sf_metho
Hello list,
Although I didn't find out what was the exact cause of my problem, a colleague
of mine managed to find a solution (if one day somebody needs it).
The solution is to create another environment (in my case called
integrationtest) and in config/factories.yml and config/settings.yml cop
hello,
I have a model with an integer attribute - invitationCount, in case of
an model update I would need to know the old and new value.
public function preUpdate($event) {
$oldValue = $this->getInvitationCount();
$newValue = .?
}
--
If you want to report a vulnerability issue on
Hi,
Anybody implemented Single Sign On using Kerberos in Symfony Project.
Thanx in advance.
Regards
Deepak Bhatia
--
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
G
36 matches
Mail list logo