For your example it's pretty clear that symfony can't find the translations.
And sure enough, you forgot to add the catalogue to the __() method call.
Plugin or not, it doesn't matter.
In the signinSuccess.php change this:
__('Forgot your password?')
to this:
__('Forgot your p
I would like to approve comments clicking on checkboxes using AJAX
(without refreshing page).
Screen is here: http://forum.symfony-project.org/index.php/t/24537/
So as you can see above now I have checkboxes - each checkbox is a one
row from table - so I must write in view:
getId
()."'";
I try the code and it's correct! I understand that this method is in
the Doctrine documentation, and also I found other useful methods...
Thanks!
On 24 Dic, 22:15, ilcaduceo wrote:
> Yes i'm storing file paths in the database and the photos in the
> filesystem... I'm using Doctrine but i don't fi
Results for now :
http://spreadsheets.google.com/viewanalytics?formkey=dEg5anBBdnViR01iS2dIbW1ZYjI2RlE6MA
--
Cr. Puentes Diaz
MP 10.12726.9
Córdoba - Argentina
www.puentesdiaz.com.ar/blog/
www.puentesdiaz.com.ar/blog/novedades
www.twitter.com/puentesdiaz
Linux User n° 441474
Ubuntu/Symfony/Eclip
Yes, i'm testing on an internet-accessible server. I will see if
there's something wrong on the configuration of the application on
facebook.
Thank's
On 24 dic, 17:00, Fabrice Bernhard wrote:
> Are you testing on an internet-accessible server ? To get the Facebook
> uid, you need Facebook servers
Hi,
maybe you could explain us a little bit more, cause I couldn't
imagine what you want to do.
So please describe the scenario.
On 28 Dez., 09:42, dziobacz wrote:
> I would like to approve comments clicking on checkboxes using AJAX
> (without refreshing page).
> Screen is here:http://forum.s
I have a defined route that displays a dynamic page:
page_show:
url: /:domain_slug/:slug
class: sfPropelRoute
options:
model: Page
type: object
method: doSelectByDomain
param: { module: page, action: show }
requirements:
sf_method: [get]
This works great, but no
I need a form in which I will have so many checkboxes as rows in
table. I know how I can do that in normal php (code in my first post),
but I don't know how/should I do that using Symfony forms ? Do you
understand ? xD
On 28 Gru, 14:15, ScherlOMatic wrote:
> Hi,
>
> maybe you could explain us a
My question is:
Why you have to be super user to deal with your own code? I think you
should change the ownership of the project folder and make it
yours!!! :)
On 27 Dic, 19:51, tirengarfio wrote:
> Hi,
>
> i have installed Netbeans with symfony support.
>
> As maybe you know with this support yo
I generally use remote function for the same.
true,
'onchange'=> remote_function(array('update' => 'common_area','url' =>
'home/homeselectdate','script' => true,'with'=>"'id='+this.value"; ?>
true,
'onchange'=> remote_function(array('update' => 'common_area','url' =>
'home/homeselectdate'
In my opinion, I don't think that is suitable use a calendar widget to
choose a birth date. It should be used to choose a date in the near
past or in the near future, and for forms where the date is not sure,
so the user need a calendar to make a choice. I think that picking
your birth date is alwa
A stupid ideea: launch your nb using sudo. So, you do not need to exec your
task using sudo :)
Anyway, the chown is your friend.
sent via htc magic
On Dec 28, 2009 3:52 PM, "mattsister" wrote:
My question is:
Why you have to be super user to deal with your own code? I think you
should change th
I have another problem, when i update the record, then the old photo
isn't deleted itself, but it remain in the filesystem. How can i
delete the old photo or replace it with the new photo?
I try:
public function postUpdate($event) {
@unlink(sfConfig::get('sf_upload_dir').'/immobi
Hi,
I am defining all routes for a directory web site. While browsing the
directory I need to pass trough url multiple objects (category,
article, location). Is it possible to define sfPropel Routes to work
with multiple objects in the URL. If so, please, could give an example
of routing.yml and ho
hi
have the irc client irc and i want to join the irc channel of symfony
user but i dont know how can do to do it
tanks in advance
mbello
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@google
This is a very bad idea...! Never run a program with more permissions than
it needs to have.
You could maybe create a bash wrapper that calls sudo symfony? And put this
in the right path?
Nathan
On Mon, Dec 28, 2009 at 3:14 PM, Alexandru-Emil Lupu
wrote:
> A stupid ideea: launch your nb using s
Hello,
Just open your favorite irc client, connect to irc.freenode.net (using "/s
irc.freenode.net") then join the symfony channel /join #symfony
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Mon, Dec 28, 20
Is there any sfPropelRouteCollection ?
But collection routes are for same classes.
One RouteCollection for model class "Product" will be usable only for
"Product".
Anyway you can put "parts" in the url (using :my_field).
Check docs about routing and advanced routing.
Before Printing, Think about
I need a form in which I will have so many checkboxes as rows in
table. I know how I can do that in normal php (code in my first post),
but I don't know how/should I do that using Symfony forms ? Do you
understand ? xD
On 28 Gru, 14:56, DEEPAK BHATIA wrote:
> I generally use remote function for
I guess you want this:
param: { module: page, action: show, domain_slug: whatever, slug: whatever2 }
On Mon, Dec 28, 2009 at 14:17, Rob Wilkerson wrote:
> I have a defined route that displays a dynamic page:
>
> page_show:
> url: /:domain_slug/:slug
> class: sfPropelRoute
> options:
>
On Mon, Dec 28, 2009 at 11:11 AM, Gábor Fási wrote:
> I guess you want this:
>
> param: { module: page, action: show, domain_slug: whatever, slug: whatever2 }
I've tried that, but I get an error. It seems that no parameters are
being passed to my custom request method (doSelectByDomain). The
para
I have exactly the same error as mentionned by Kevin. Hope this is
already repaired or to be done soon...
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from t
I have a project where I copied the guts of a Doctrine based form,
deleted all fields, added a simple file field, but kept the line with
'getModelName' with the old model. Didn't think it would work it all,
but it does, sort of.
When I use the dev environment, it works perfectly. I upload a file,
hi,
maybe these links can be interesting for someone:
http://axiacore.com/blog/2009/09/trabajando-con-filtros-en-symfony-i/
http://axiacore.com/blog/2009/09/trabajando-con-filtros-en-symfony-ii/
Are in spanish...
Anyway, any reason for not implementing the "Filter" button
functionality?
Javi
I've set up a module in my frontend application and the
actions.class.php has different functions intended to be run in a
cron. I can run these functions in the browser by going to the path
domain.com/cron_module/function
How can I set this up command line so a cron can run these functions?
--
Y
Hi.
You are doing it wrong. Extract these functions to dedicated tasks and run *
them* with cron or whatever.
Nevertheless, you still can shoot yourself in a foot by putting into cron
something like
> ...time... curl
>
2009/12/28 Joshua
> I've set up a module in my frontend application and
You should create "tasks" (symfony speaking) and bridge them for execution
using cron and using actions for web (if you want both so).
Anyway you still can create a task for launching web requests (why not using
lime2 to check browser response for error catching).
If you really want cron and web at
Thanks!
On Dec 28, 3:21 pm, Nathan Bijnens wrote:
> You could maybe create a bash wrapper that calls sudo symfony? And put this
> in the right path?
Could you more details ?
Javi
On Dec 28, 3:21 pm, Nathan Bijnens wrote:
> This is a very bad idea...! Never run a program with more permission
Hi,
You should really avoir loging in as root, and see why you need to.
If this is real IS problem, ok. If it's just a permission right need, then
just move your configuration statements from /var/www to /home/$user/www, a
place where you can read/write/execute whatever.
About wrapping calls: you'
Hello Javi,
Rename your symfony script in the project dir to symfony.real
paste this to a new file called symfony
#!/bin/bash
sudo symfony.real $@
that's about it.
Warning this is not tested! This will not work in windows!
regards,
Nathan
On Mon, Dec 28, 2009 at 9:41 PM, tirengarfio wrot
Hello,
I am using symfony 1.2.10 with sfGuardPlugin 3.1.3 , I have created a profile
class sfGuardUserProfile through my schema.yml. When I try to use
$this->getUser()->getGuardUser()->getProfile()->getId() in my action class as
described in the readme file for sfGuardPlugin I get the following
Hi Nathan,
this happens: i have done what you say and after that NB doesn't show
the list of sf tasks when i go to Symfony > Run command. No problem
without the change you propose. I tested 2 or 3 times.
Javi
On Dec 28, 9:50 pm, Nathan Bijnens wrote:
> Hello Javi,
>
> Rename your symfony scr
On Dec 27, 2:36 pm, tirengarfio wrote:
> The only way i know to avoid writing "sudo" is logging in the
> operative system as root. But i dont want to logging as root.
>
> Is there anyone more?
>
Log in as root and change the permissions so that you no longer have
to log in as root to call the
Sorom, what do you get if you do this:
echo get_class($this->getUser()->getGuardUser()->getProfile());
Do you get an error when this is called?
echo get_class($this->getUser()->getGuardUser());
If you look in lib/model do you see a sfGuardUserProfile class? It is
case sensitive. Be sure you do
> When I run it in production mode, accessing the ...URL/new link
> produces NO output, sends a 500 Server Error return code. Using die
> statements, I found that it stops at the ONE line in 'executeNew'
> function of the action class.
Why use die statements? Why not use Symfony's logger? If yo
> So I put an echo statement in the constructor of sfFormDoctrine, the
> first constructor that should be encountered by PHP generating the
> object, and folks, it never gets executed. Somewhere in building the
> object hierarchy, php crashes, or some Symfony/Doctrine code throws an
> exception. N
Have you installed the sfErrorHandler plugin?
http://www.symfony-project.org/plugins/sfErrorHandlerPlugin
Symfony will swallow certain kinds of errors. For instance, passing
parameters of the wrong type, when type hinting is in use. It is good
to have that plugin installed.
On Dec 28, 1:32 pm
Did u add this to your app.yml file :
*all:
sf_guard_plugin:
profile_class: sfGuardUserProfile
profile_field_name: user_id*
2009/12/28 Zeek
> Sorom, what do you get if you do this:
>
> echo get_class($this->getUser()->getGuardUser()->getProfile());
>
> Do you get an error when thi
On Mon, 28 Dec 2009, Dennis wrote:
> When I use the dev environment, it works perfectly. I upload a file, I
> can bind it, get the value, save the fiile to file system, VOILA,
> build the original model in a new object, and save the URL for the
> file's new location in the database. Love :-)
>
>
On Dec 28, 2009, at 11:36 PM, Mohammed Rhamnia wrote:
> Did u add this to your app.yml file :
> all:
> sf_guard_plugin:
> profile_class: sfGuardUserProfile
> profile_field_name: user_id
AFAIK, he used the default class and field names and this is not necessary.
>
> 2009/12/28 Zee
Can you show us an example URL? And what does your doSelectByDomain
methods look like?
On Dec 28, 11:15 am, Rob Wilkerson wrote:
> On Mon, Dec 28, 2009 at 11:11 AM, Gábor Fási wrote:
> > I guess you want this:
>
> > param: { module: page, action: show, domain_slug: whatever, slug: whatever2
Hi, Daniel,
Thanks for the help, it really worked for the __() function calls! :-)
Despite, I noticed that fields generated by widgets don't include this
function call, so I would have to declare localized labels for them,
too... wouldn't it be a better idea if these plugins were already
prepared
I'm glad it worked! :)
You can set a different catalogue to use for a form in the form formatter class.
As far as the module code generation goes... hmm, you'd have to create your own
module generation theme.
Cheers, Daniel
On Dec 29, 2009, at 3:46 AM, diogobaeder wrote:
> Hi, Daniel,
>
> T
hmm..what is your dev environment Operating system, and find out which is
for your production environment.
I had a similar problem, where the forms would not execute in the production
environment but would execute itself in the dev environment just fine. The
issue was that my production was linux
hey i just finished the jobeet day 9 !! now i have an error which
says:
500 | Internal Server Error | Doctrine_Connection_Mysql_Exception
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'j.slug' in
'field list'
can anyone tell what it is?? i am new to symfony and php as well!!
--
You rece
Well, I wouldn 't use the remote function since it 's deprecated. And
yes, you could use the form framework for this.
The 'normal way' of constructing a symfony form is to build your
widget schema using the configure () method and nothing prevents you
to put a loop in that method. If this behavi
46 matches
Mail list logo