hi
i am joining two table a and b.i want to print the data of b
table.how i can do this in symfony.
it is giving error.
Object of class "b" cannot be converted to string (Please create a
__toString() method)
--~--~-~--~~~---~--~~
You received this message b
Thanks for your reply Eno.
I check if the session exists (ie I create a new session only if
session_id() returns an empty string).
I didnt know that getAttribute and setAttribute will not work if i
turn off session auto_start. What should I do to have it persist the
complete session informa
On Mon, 5 May 2008, Balaji Srinivasan wrote:
> So I turned off session. auto_start in factories.yml.
> In my preExecute method, I set up a session using session_id() call.
>
> Now it looks like the flash parameters are no longer being carried
> from one call to the next. Also somehow the sessi
I´m developing an app that has a relationship m:n, one of the entities of
this relationship contains a compound key.
How can I show in an admin_double_list a listing of elements of the entity
of the compound key, filtered by one of their keys?
My schema.xml
Yes it is, I founded few hours ago when I post the message, anyway thanks
Ing. Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP
> -Original Message-
> From: symfony-users@googlegroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of Whisller
> Sent: Tuesday, May 06, 2
Propel::getConnection();
Is it, what you want?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group,
Hi every:
I have the following code at preExecute() function:
[code]
public function preExecute()
{
if ( $this->getModuleName() == "geslicsoft") {
$this->mostrar_parcial = "geslicsoft";
}
}
Then in the "layout.php" I have this other code:
[code]
When I execute the action, normally,
Ah, of course! I knew I'd seen it somewhere!
Cheers, Nicolas!
Nicolas Perriault wrote:
> Le 6 mai 08 à 22:28, Tom Haskins-Vaughan a écrit :
>
>> So I there shouldn't be any problem accessing the model (having a peer
>> method) inside the helper?
>
>
> Nope, just have a look to symfony's Objec
yeah, you're right. It's working now. I knew it was something stupid ;-)
thanks,
Pierre
Am 06.05.2008 um 22:13 schrieb Zsolt Takacs:
>
> Hi
>
> I think you have php4 installed too, and php points to it.
> check 'php -v' to see the version or just try 'php5 batch_name.php'
>
> Zs.
>
> Hadubard w
Hi every:
I've been reading this "Action Security" but I can't find what I'm looking for.
Any here know if is possible use credentials for secure a entire module or
application (backend)? For now my modules are small, at least 20 actions, but
they are growing up and really faster: I use sfGuard
The sfViewCacheManager creates cache keys based on parameters that
appear in the request. Is there any way to apply some custom
parameters to each cached action, component and/or partial, without
messing with the internal uri?
For example, I keep currently selected language and time zone for a
vi
Yes, that's what I was thinking, but I want to be able to only pass the
photo_id rather than have to pass the src, the alt and the href.
Jorge Vargas wrote:
> On Tue, May 6, 2008 at 4:15 PM, Tom Haskins-Vaughan
> <[EMAIL PROTECTED]> wrote:
>> Well, here's what I want to do. I want to be able to
On Tue, May 6, 2008 at 4:15 PM, Tom Haskins-Vaughan
<[EMAIL PROTECTED]> wrote:
>
> Well, here's what I want to do. I want to be able to upload photos to my
> website. Then I can display them in a gallery. Fairly straightforward.
> But I'd also like to be able to hard code some of the uploaded p
Le 6 mai 08 à 22:28, Tom Haskins-Vaughan a écrit :
> So I there shouldn't be any problem accessing the model (having a peer
> method) inside the helper?
Nope, just have a look to symfony's ObjectHelper.php functions to
reassure yourself :)
++
--
Nicolas Perriault
http://prendreuncafe.com
Té
Merci, Nicolas.
So I there shouldn't be any problem accessing the model (having a peer
method) inside the helper?
Nicolas Perriault wrote:
> On Tue, May 6, 2008 at 10:15 PM, Tom Haskins-Vaughan
> <[EMAIL PROTECTED]> wrote:
>
>> So the question is, do I use a peer method to output the html or
On Tue, May 6, 2008 at 10:15 PM, Tom Haskins-Vaughan
<[EMAIL PROTECTED]> wrote:
> So the question is, do I use a peer method to output the html or create
> a helper to do this?
To me, templating should never sit in the model. I'd rather make a
helper, a partial or a component for that purpose.
Well, here's what I want to do. I want to be able to upload photos to my
website. Then I can display them in a gallery. Fairly straightforward.
But I'd also like to be able to hard code some of the uploaded photos
into my website. So I'd have the following:
New House
Which would outp
Hi
I think you have php4 installed too, and php points to it.
check 'php -v' to see the version or just try 'php5 batch_name.php'
Zs.
Hadubard wrote:
> Hi,
>
> might be a stupid problem, but can anybody tell me, why I get the
> following error when trying to run a batch script directly from t
Hello,
I am not sure what you mean by access the model. but an helper can
have model as argument to perform a specific task. You cannot do any
logic in a helper.
Thomas
On Tue, May 6, 2008 at 9:58 PM, Tom Haskins-Vaughan
<[EMAIL PROTECTED]> wrote:
>
> I'm about to start writing a helper. Is
I'm about to start writing a helper. Is there any reason why I shouldn't
access the model from a helper?
TIA
Tom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send e
Thanks for your help.
I have increased now the memory limit and disabled the xdebugger.
Now i get this message :
[EMAIL PROTECTED]:~/workspace/decayenne$ symfony propel-dump-data frontend
mokosch.yml
>> propeldumping data to
"/home/marco/wo...enne/data/fixtures/mokosch.yml"
Segmentation faul
On Tue, 6 May 2008, Hadubard wrote:
> Problem arises due to the execution of config.php as far as I found out.
What does config.php look like?
Which version of PHP5?
--
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi,
might be a stupid problem, but can anybody tell me, why I get the
following error when trying to run a batch script directly from the
command line with "php batch_name.php" from the symfony/batch directory?
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION'
or `T_VAR'
try to remove your debugger ...
Thomas
On Tue, May 6, 2008 at 6:24 PM, Olivier LOYNET <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Try in your php.ini to increase your memory.
> Be careful, there are two php.ini, one for apache, on for cli mode.
> This is the cli for your command line.
>
> Olivier
Hi,
Try in your php.ini to increase your memory.
Be careful, there are two php.ini, one for apache, on for cli mode.
This is the cli for your command line.
Olivier
> -Original Message-
> From: symfony-users@googlegroups.com [mailto:symfony-
> [EMAIL PROTECTED] On Behalf Of Marco Schierh
As of r8813, symfony 1.1 plugin:install task checks the license of the
plugin.
If the plugin is not licensed under a LGPL, MIT, BSD, Apache, or PHP
license, the task won't install it except if you pass a --force-license
option.
Fabien
Lukas Kahwe Smith wrote:
> Hi,
>
> I wonder if its reall
can you share your finding to everyone?
you probably have to modify send to use symfony session instead of
starting a new one...
On May 6, 6:54 pm, paulo_graca <[EMAIL PROTECTED]> wrote:
> Thanks!
>
> Yes! it works, with some adaptations, I'm using the OpenId Plugin.
>
> On May 5, 5:57 pm, Eno <
I've just run into a similar requirement...
I want to enable FireBug Lite (http://www.getfirebug.com/lite.html)
when in dev... but want to be able to add/remove it in a single
location, not in every template (or even every layout).
Any ideas how I can do this?
On 30 Mar 2008, at 17:20, Ped
Thanks.
On May 6, 3:30 pm, Lee Bolding <[EMAIL PROTECTED]> wrote:
> In your validate.yml just set required: false for the field
>
> On 6 May 2008, at 13:10, Rytis Daugirdas wrote:
>
>
>
> > Hello,
>
> > Is it possible to define a validator that would be executed with each
> > request, no matter i
In your validate.yml just set required: false for the field
On 6 May 2008, at 13:10, Rytis Daugirdas wrote:
>
> Hello,
>
> Is it possible to define a validator that would be executed with each
> request, no matter if the field it validates is empty or not? Or is my
> only option to do that in t
Hello,
Is it possible to define a validator that would be executed with each
request, no matter if the field it validates is empty or not? Or is my
only option to do that in the validate() method of my action?
Regards,
Rytis
--~--~-~--~~~---~--~~
You received this
Hi!
When uploading gif-files with transparent background, the rendered
background is black. Is it possible to change this? Either keeping it
transparent or setting to another color?
My code:
$thumbnail = new sfThumbnail(190, 190);
$thumbnail->loadFile($this->getRequest()->getFilePath('file')
Hi All,
I'm having some trouble with input_date_tag - I can't get it to
display dates in UK format (DD-MM-).
In my template, I have :
true, 'calendar_options' => 'ifFormat: "%Y-%m-%d", daFormat: "%d-%m-
%Y", firstDay: 1, range: Array(2007,'.(date('Y')+3).')')); ?>
Where start date
I have tried to execute
symfony propel-dump-data frontend test_data.yml
But i do always get a "PHP Fatal error: Maximum function nesting level
of '100' reached, aborting!
in
/home/marco/workspace/decayenne/lib/vendor/symfony/lib/addon/propel/sfPropelData.class.php
on line 428"
Does somebod
Thanks!
Yes! it works, with some adaptations, I'm using the OpenId Plugin.
On May 5, 5:57 pm, Eno <[EMAIL PROTECTED]> wrote:
> On Mon, 5 May 2008, paulo_graca wrote:
> > I'm integrating Zend Framework with my project. And trying to use
> > OpenId for signin. But I'm getting an error related with
We have a live site www.vois.com. we have a URL say
http://www.vois.com/profile/index/dXNlcmlkPTExMzUzNA%3D%3D/ now we
have to remove the dynamic encrypted text from URL and set a rule for
it routing.yml. The encrypted part of the URL contains GET parameters
based on which the action is executed.
Hello all,
I'm new to the symfony framework. I've created a project
and when tried to execute it i got the following error message...
Fatal error: Class 'sfActions' not found in C:\wamp\www\sf_sandbox\sen
\home\newpro\apps\Directory\modules\newcustomer\actions
\actions.class.php o
Hi,
I've googled 'til my lips went purple and I haven't been able to find
information on how to perform YAML validation in an admin generator
form that has any of the many-to-many select lists..
Can anyone post their experience / examples..?
Basically I need to make sure at least one option is
38 matches
Mail list logo