A thing that you might do is to have a "Javascript" module in wich you could
render the needed Js functions. Ofcourse, this is not recomended...
On Thu, Apr 16, 2009 at 7:45 PM, Richtermeister wrote:
>
> Hey Ahmed,
>
> look into sfContext::getInstance()->getController()->genUrl
> ($internal_uri,
There is a global template named "layout.php" located in the path "../
apps/templates".
I think it's what you want
On Apr 17, 3:48 am, Kevin Barsotti
wrote:
> I'm working on making an existing module more efficient, and presently
> it has numerous (dozens) of actions which call upon an equal num
You should be managing your relationships and schema with Doctrine, and then
you update your production database by using the database migrations tool.
Doctrine will create your initial data from your schema.
When using an ORM you need to think in terms of objects/models and how they
all relate to
When you have an ongoing project, and you modify the model, do you
typically manually change the schema.yml and also change the schema of
the actual database via your db admin tool? Seems prone to
inconsistencies that way. I normally like to make changes to my schema
from phpMyAdmin and then build
Here's a quick hack to add a 'symfony' command to Ubiquity which
allows you to quickly do a search of the symfony API docs. With
Ubiquity installed in Firefox, go to: http://gist.github.com/94237 and
Subscribe to the command when prompted.
(And if you've never seen Ubiquity and don't know what it
Thank you, that's exactly what I was looking for!
Dheeraj Kumar Aggarwal wrote:
>
> hi
> you can do this by using
> $this->setTemplate('my'); in actions class
> On Thu, Apr 16, 2009 at 11:18 PM, Kevin Barsotti
> mailto:kevin.barso...@tribaldawn.com>>
> wrote:
>
>
> I'm working on making an
hi
you can do this by using
$this->setTemplate('my'); in actions class
On Thu, Apr 16, 2009 at 11:18 PM, Kevin Barsotti <
kevin.barso...@tribaldawn.com> wrote:
>
> I'm working on making an existing module more efficient, and presently
> it has numerous (dozens) of actions which call upon an equal
or $this->setTemplate('my');
;-)
On Thu, Apr 16, 2009 at 11:52 PM, Рустам wrote:
> in action:
>
> $this->setTemplate('a');
>
>
>
> On Thu, Apr 16, 2009 at 11:48 PM, Kevin Barsotti
> wrote:
>>
>> I'm working on making an existing module more efficient, and presently
>> it has numerous (dozens)
in action:
$this->setTemplate('a');
On Thu, Apr 16, 2009 at 11:48 PM, Kevin Barsotti
wrote:
>
> I'm working on making an existing module more efficient, and presently
> it has numerous (dozens) of actions which call upon an equal number of
> templates that are for all intents and purposes ide
I'm working on making an existing module more efficient, and presently
it has numerous (dozens) of actions which call upon an equal number of
templates that are for all intents and purposes identical, but with
differing data, i.e.
executeA()-> aSuccess.php
executeB()-> bSuccess.php
executeC()-
Hey Ahmed,
look into sfContext::getInstance()->getController()->genUrl
($internal_uri, $absolute); to generate the url. That's what's being
called from within the url_for function, and it's perfectly fine to
use that within your app code.
Hope this helps,
Daniel
On Apr 16, 4:26 am, Ahmed wrot
I have a similar structure actually..
about the "Directory Index" I'm using too!
Have you already created this kind of structure with just one
document_root?
Thanks,
Nei
On Apr 16, 4:33 am, Alexandru-Emil Lupu wrote:
> instead of using ln -s, you might wanna do something like in your apache
Thank you :)
2009/4/16 Alexandru-Emil Lupu
> You could get a json response after the function is executed.
> Using that json, you could make a callback that will allow you to update
> inputs, or other elements.
> maybe
> http://www.prototypejs.org/api/ajax/request
> http://www.prototypejs.org/ap
You could get a json response after the function is executed.
Using that json, you could make a callback that will allow you to update
inputs, or other elements.
maybe
http://www.prototypejs.org/api/ajax/request
http://www.prototypejs.org/api/ajax/updater
Alecs
On Thu, Apr 16, 2009 at 5:09 PM, Tom
Thank you, now I know how exactly return data :) with renderText or
renderPartial :)
Main problem was that remote_function could update only elements like DIVs,
not values of input. I thought that this is how it working. But no one
wrote enywhere that you can ommit update and use success with data
There are a few ways to do ajax based rendering. One way is to have
the Ajax based action you are calling return you the chunk of HTML and
then you just render that HTML. Another way is for the Ajax based
action to return you a response (more appropriate if there are
multiple pieces of data and
I am speculating a bit here, but I think it works like this:
- if the template/action is found in an app module, then the app
module version is used
- if the template/action is found in a plugin, then the plugin version
is used
this suggests an order of precedence, where the app module overrides
hi
nothing special u have to do in ajax
u can send an ajax request to server for user validation
if not validated then send the error messages as response
else send whatever your response
2009/4/16 Grus
>
> I read all documents about Form, but didnt find a solution. Could
> anybody help?
>
> >
>
Hi,
I don't know how to override templates and/or actions of a plugin
about an application.
I created "plugins/TOTOPLUGIN/modules/TOTO"
I have a schema.yml
app:
TOTOPLUGIN:
modules:
mymodule1:
class: MyModule
mymodule2:
class: MyModuleTwo
In my plugin "plugins
I read all documents about Form, but didnt find a solution. Could
anybody help?
--~--~-~--~~~---~--~~
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.c
Ohh yeah!! The error_reporting setting got the errors to show.
What a relief.
Thank you everyone!
On Thu, Apr 16, 2009 at 2:41 PM, Dheeraj Kumar Aggarwal
wrote:
> in settings.yml
> error_reporting: ?>
>
>
> On Thu, Apr 16, 2009 at 6:02 PM, Roland Cruse wrote:
>>
>> Thanks for the r
in settings.yml
error_reporting:
On Thu, Apr 16, 2009 at 6:02 PM, Roland Cruse wrote:
>
> Thanks for the response.
>
> > What is the error logging level set to in your environment? do you
> > have show_errors set to on?
> Here is my factories.yml
> foo:
> logger:
>param:
>
Thanks for the response.
> What is the error logging level set to in your environment? do you
> have show_errors set to on?
Here is my factories.yml
foo:
logger:
param:
level: debug
I do not know where show_errors is set. Please tell me. Though I do
not have the white death in the
On 16 Apr 2009, at 10:52, Roland Cruse wrote:
> Since its a php syntax error symfony logs are not much help...or have
> not been for me.
Try checking your apache (or whatever you use) error log, if you have
access - it probably has more info.
Alexander
--~--~-~--~~~--
I meant your appname_dev.php front controller, auto-generated in the
web folder by generate:app. It calls a die when you're accessing it
from somewhere other than localhost.
Gábor
On Thu, Apr 16, 2009 at 13:30, Roland Cruse wrote:
>
> Hi FÁSI
>
> I looked into the symfony/lib/controllers and no
A different environment shouldn't cause any problems - I run many
custom environments using it without any problems.
What is the error logging level set to in your environment? do you
have show_errors set to on?
Also, you're better using the dev controller for your environment -
you'll get
Hi FÁSI
I looked into the symfony/lib/controllers and none of them seem to
call "die" at least grep did not think so.
I do not understand, could you give me some more details.
Thanks
On Thu, Apr 16, 2009 at 10:58 AM, FÁSI Gábor wrote:
>
> I suggest uploading the _dev front c
I installed sfErrorHandler (using symfony 1.2)
The log showed proof of installation: "Apr 16 05:55:37 symfony [info]
{sfHardenedRenderingFilter} Render to the client". Plus put the
error500 scripts to their prospective homes even though I have logging
on...but no joy I sorry to say. white screen
Hi paolo ;
I have already done this before but my goal is to separate the all my
Javascript from templates
and use helper in this file .
Best regards Ahmed
> permuter
On 16 avr, 13:09, Paolo Mainardi wrote:
> Embed this code in a file template and will work :)
>
>
>
> On Thu, Apr 16, 2009 at 1:0
Cool. OK, let's address some of your points, and through a few ideas
around :)
1) OK, that's pretty much what I expected. The way I'd handle these
"anchor points" is with Symfony events. Create a set of events within
your application, and allow plugins to listen to these events. Maybe a
p
Embed this code in a file template and will work :)
On Thu, Apr 16, 2009 at 1:08 PM, Ahmed wrote:
>
> Hi all :) ,
> I want to use a php function to generate url ( for ajax call) in a js
> file like this :
>
>
> $(document).ready(function(){
>$.ajax({
> url: "",
> succe
Hi all :) ,
I want to use a php function to generate url ( for ajax call) in a js
file like this :
$(document).ready(function(){
$.ajax({
url: "",
success: function(html){
$("#step1_container").append(html);
}
});
}) ;
But in the genera
So maybe any guess how to get data from action via ajax and put it
into input?
--~--~-~--~~~---~--~~
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
Thats it^^, for sure. Thanks for your patience :)
Ok, infos... lets see.
1.) When i speak of "modules" i mean a 3rd-party code snippet which
integrate into the 1st class
app and can fulfill additional tasks (much as a plugin which plugs
into a predefined anchor-point).
My "modules" have nothing
I think you answered your own question - if the app doesn't start
properly, a plugin to the app (which didn't start) isn't ever going to
get instantiated to be able to tell you that ;)
If Symfony even fails to start, I believe you should see your default
500 error page, as configured in you
Will that log startup errors? At the initial deploy you cannot be sure
that even your app starts successfully, let alone it can connect to
the database.
On Thu, Apr 16, 2009 at 11:13, Lee Bolding wrote:
>
> Or use my sfErrorHandlerPlugin ;)
>
> http://www.symfony-project.org/plugins/sfErrorHandl
Thanks Carsten;
yes I forget the " isCulture: true " attribute .
my probleme is resolved .
Ahmed .
On 16 avr, 07:53, Carsten Schumann
wrote:
> Hi Ahmed,
>
> there are two things different from my i18n scheme file which is working:
>
> 1. the indention of the lines containing country: (indention
Or use my sfErrorHandlerPlugin ;)
http://www.symfony-project.org/plugins/sfErrorHandlerPlugin
On 16 Apr 2009, at 09:58, FÁSI Gábor wrote:
>
> I suggest uploading the _dev front controller and commenting the die()
> command, but make sure you delete is as soon as you've finished.
>
> On Thu, Apr
I suggest uploading the _dev front controller and commenting the die()
command, but make sure you delete is as soon as you've finished.
On Thu, Apr 16, 2009 at 10:52, Roland Cruse wrote:
>
> Hi symfony coders
>
> I making a rest application which does not show php syntax errors.
> Just a blank s
Hi symfony coders
I making a rest application which does not show php syntax errors.
Just a blank screen, quite a pain. I wondering if this has happened
to anyone else?
The "rest" app lives in an existing symfony application, has been set
up as a plugin, has its own routing.yml, has its own fro
Hi
I am working on an application which needs to be generic where it
would be up a user (administrator) to decide what actions other users
are allowed. So we built a check box interface to security.yml files
in every module using the sfYaml class for reading said files and
writing them back again
instead of using ln -s, you might wanna do something like in your apache
config:
server 2:
Alias /css /home/example1/site/web/css
Alias /js /home/example1/site/web/js
server 3:
Alias /css /home/example1/site/web/css
Alias /js /home/example1/site/web/js
2) also ... if your websites are just mirro
42 matches
Mail list logo