Hi there,
I'm new to Doctrine and am trying to figure out why my Where statement
isn't working.
I have an object video, and in my videoTable I have this function
public function getMostRecentVideos($num, $offset = 0) {
return $this-createQuery()-where( 'Video.datetime_visible_start
= ?',
Hi,
Can I run the website in 'dev' without sfWebDebug? I've set debug to
false in the index.php but it's still there.
--
Blue Horn Ltd - System Development
http://bluehorn.co.nz
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this
sorry, soon after I posted this some helpful soul on IRC suggested
capitalization on the alias as the issue. I should have had where
( 'video.datetime_visible_start
thanks!
On Jan 14, 6:52 pm, bretth brett...@gmail.com wrote:
Hi there,
I'm new to Doctrine and am trying to figure out why my
In your apps/APPLICATION/config/settings.yml
change your
dev:
.settings:
web_debug: true
to false.
that's all.
Best regards,
Nathan
--
nat...@nathan.gs : http://nathan.gs : http://twitter.com/nathan_gs
On Thu, Jan 14, 2010 at 9:17 AM, Sid Bachtiar sid.bacht...@gmail.comwrote:
Hi,
On 01/13/2010 10:36 PM, DoRiaN wrote:
Hello (i'm french, excuse me for my english),
I work with sfForm standalone.
I would like to enable sfDoctrinePlugin ?
Is it possible ? How to do ?
Thank you,
Dorian
To enable Doctrine
On 01/14/2010 06:30 AM, ozgur ince wrote:
you should do your changes in
plugins\sfDoctrineGuardPlugin\lib\form\doctrine\sfGuardUserAdminForm.class
or
change the form class in
plugins\sfDoctrineGuardPlugin\modules\sfGuardUser\config\generator.yml
Hi,
you should never modify the code or
Can you please explain this in detail, sorry but the statement is a little
ambiguous to me!
On Wed, Jan 13, 2010 at 7:05 PM, blissdrop andrei@gmail.com wrote:
How can I add post_id invisible field to comment form?
--
You received this message because you are subscribed to the Google
I guess nobody has used this..;-)
On Wed, Jan 13, 2010 at 1:09 PM, DEEPAK BHATIA toreachdee...@gmail.comwrote:
Hi,
Anybody implemented the LDAP Plugin for their project
http://www.symfony-project.org/plugins/bhLDAPAuthPlugin
Regards
Deepak Bhatia
--
You received this message because
Thank you for reply.
Here is the explanation:
The task is rather trivial, I have posts and I want to add comments to
posts. I've learned, how to add comment form to the single post page,
but I cannot find out how to pass post_id to the comment create action
and how to asociate comment with
I've managed something similar but still having a problem:
I've modifyed the the form to add to it a widget to let user select the post
related to this comment
$this-setWidget('post', new sfWidgetFormDoctrineChoice(...)
$this-setValidator
then create a new action addComment to the post
Which type of the partition in on the external disk?
On 12 led, 13:59, Javier Garcia tirengar...@gmail.com wrote:
Hi,
to save my copy in an external disk i have use this:
sudo cp /opt/lampp/htdocs/rs/* -R /media/disk-1/rs
After that i get this error messages:
cp: cannot create symbolic
And what about to make a plugin with sfWidgetFormMassmilianoDate ? ;)
or add this widget to sfFormExtraPlugin...
On 14 led, 08:42, Massimiliano Arione garak...@gmail.com wrote:
On 12 Gen, 14:40, dziobacz aaabbbcccda...@gmail.com wrote:
Massimiliano maybe you could create a plugin from your
Maybe the profile row isn't in database when saving the form ... and
symfony don't know how to create the row... look if foreign keys are
set..
On 12 led, 16:07, Ahmed ghaliano2...@gmail.com wrote:
any help please ?
On 12 jan, 12:14, Ahmed ghaliano2...@gmail.com wrote:
I have a UserForm
I don't know why this error is showing, but I can try some little
hack
I would try to overide the buildQuery method in your formFilter and
in this method I would compose some better values - some values which
symfony can generate better sql query from
then call the parent::buildQuery() method
I
Hi Jon,
I have some problems with Oracle 10 and Doctrine 1.2 with symfony.
my connection on databases.yml
all:
web:
class:sfDoctrineDatabase
param:
dsn:'oracle:dbname=//url:1521/sid'
username: web
password:
The user web has all privileges
what do you mean? if a user does not complete a field, and validation stop
the process to have the password field filled in with previous entry?
i yes, then i am not sure you can. also ... is not a good practice AFAIK.
Alecs
On Thu, Jan 14, 2010 at 1:44 AM, Darren884 darren...@gmail.com wrote:
I'm reading jobeet tutorial and I have had some doubt in specific
days, So I try to find the response in this group but there are a lot
to see.
Well I think that would be useful incorporate a forum in every day
(like php's manual). It helps
--
You received this message because you are subscribed
It Helps to organize information for jobeet tutorial.
--
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 this group, send email to
hello,
i would like the enduser, after logged on, go to the edit page of his
profile:
i've modified the file:
plugins\sfDoctrineGuardPlugin\modules\sfGuardAuth\lib
\BasesfGuardAuthActions.class.php
public function executeSignin($request)
..
//return $this-redirect('' !=
On Thu, 14 Jan 2010, Sid Bachtiar wrote:
Can I run the website in 'dev' without sfWebDebug? I've set debug to
false in the index.php but it's still there.
http://tinyurl.com/ycvj9mo
--
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To
ok, i've found the solution:
app.yml:
all:
sf_guard_plugin:
success_signin_url: /user/edit
and
public function executeEdit(sfWebRequest $request)
{
$sf_guard_user = $this-getUser()-getGuardUser();
instead of:
//$this-forward404Unless($sf_guard_user = Doctrine::getTable
HI basically I want to make it so as if a user is filling out their
account options if they don't change their password it stays as it is.
This is very common with profile sites and such.
On Jan 14, 6:17 am, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
what do you mean? if a user does not
This problem affects me too. Nobody can give some help / info?
How to add delete link with embedRelation() ?
On 13 Gen, 17:29, axel at axel.zu...@gmail.com wrote:
hi list,
I'm using embedForm() and embedRelation() (described
I found a (very dirty) solution but for now it works:
I wrote a renderTextWidget:
class renderTextWidget extends sfWidgetForm {
public function configure($options = array(), $attributes = array
()) {
parent::configure($options, $attributes);
$this-addOption('template', );
}
My problem was a pecbak one :-)
I was speaking about executeCreate instead of executeNew !
After changing this, it all works fine :-)
Cheers,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
2010/1/14 Stéphane
I would like to do menu like on this site: http://www.benchmark.pl/
Clicked menu has got orange color. So I think I have to do something
like that for example (where id is CSS id):
if (module/action = 'firm/index') echo id='menu_index_clicked'
else echo id='menu_index'
if (module/action =
On 01/14/2010 08:51 PM, dziobacz wrote:
How can I check on the layout current module and action which use this
layout ?
Hi dziobac:
sf_context-getModuleName() and sf_context- getActionName()
Javi
--
You received this message because you are subscribed to the Google Groups
symfony users
Well put $ before both..
On Jan 14, 8:55 pm, Javier Garcia tirengar...@gmail.com wrote:
On 01/14/2010 08:51 PM, dziobacz wrote: How can I check on the layout
current module and action which use this
layout ?
Hi dziobac:
sf_context-getModuleName() and sf_context- getActionName()
Javi
Hi guys, I had to actually add an argument to the original
ConfigurationModelGenerator file and mimick the getForm() function to
pass options. I have no idea why this wasn't implemented in the first
place but who knows.
On Jan 13, 3:04 pm, Darren884 darren...@gmail.com wrote:
In my form I use
thx people !! :)
On 14 Sty, 20:57, tirengarfio tirengar...@gmail.com wrote:
Well put $ before both..
On Jan 14, 8:55 pm, Javier Garcia tirengar...@gmail.com wrote:
On 01/14/2010 08:51 PM, dziobacz wrote: How can I check on the layout
current module and action which use this
layout ?
Actually that did not work. This is a flaw in Symfony itself, there is
no way to pass values to the configre() method in the filters class.
This needs to be fixed.
On Jan 14, 12:11 pm, Darren884 darren...@gmail.com wrote:
Hi guys, I had to actually add an argument to the original
Help!!
I have this in schema:
documents_users:
columns:
document_id: { type: integer }
user_id: { type: integer }
created_at: { type: timestamp }
y en the form, i change the widget user_id for this:
'user_id' = new sfWidgetFormDoctrineChoice(array('model' =
sfFormFilter does have setOptions as it's only a subclass of BaseForm.
Daniel
On Jan 14, 2010, at 11:08 PM, Darren884 wrote:
Actually that did not work. This is a flaw in Symfony itself, there is
no way to pass values to the configre() method in the filters class.
This needs to be fixed.
Yes but how do I call the sfFormFilter object? I had tried $this-
configuration-getFilterForm but it runs the class again.
On Jan 14, 2:56 pm, Daniel Lohse annismcken...@googlemail.com wrote:
sfFormFilter does have setOptions as it's only a subclass of BaseForm.
Daniel
On Jan 14, 2010, at
thanks to both of you.
I have been trying to keep the plugin without changes and your
solution worked.
Actually was very easy. I just override the
sfGuardUserAdminForm.class.php and modified the validation of the
'permissions_list' field.
It doesn't work before because I was trying to change
Hi,
I am making use of the admin generator in Symfony 1.4, which is 99%
working as I want it to simply using the options in the generator.yml
config file.
The problem I have is that I wish to specify which columns are
displayed in the list view using a filter (as opposed to configuring
them in
Hi, I'm quite new to Symfony, and not really good at php in the first
place. So if someone could give me a hand here.
Here is what my website does for now :
- Open an explorer window so the user can upload an excel file
- Modify that file
- Save it on my server.
Here is what I would like to
In the documentation:
http://www.symfony-project.org/cookbook/1_2/en/make-a-choice
It shows the checkbox in a line, however, when I try it, it appears in
an unordered list.
My code:
$this-widgetSchema['category'] = new sfWidgetFormPropelChoice(array(
'model' =
Maybe by adding some css?
Alecs
sent via htc magic
On Jan 15, 2010 6:40 AM, Doraemon theoneandonlydorae...@gmail.com wrote:
In the documentation:
http://www.symfony-project.org/cookbook/1_2/en/make-a-choice
It shows the checkbox in a line, however, when I try it, it appears in
an unordered
Hi there!
I just finished a project and I deployed on a server using symfony
built in deploy tool.
Everything is ok with the exception that NO JAVASCRIPT FILE IS LOADED.
The js files are on the server in /web/js. I don't get a failed
request to the files, it just does not request the files.
On
Have a look into your cache/frontend/.../autoYourModuleName/lib/
folder. You can not only configure the admin gen via the generator.yml
but also via PHP.
There should be a method in one of those files inside the folder named
getListDisplay which you'd have to override in your own code.
have you tried checking the HTML code of your page and see if there are some
script tags including the Javascript?
On Jan 15, 2010, at 3:24 PM, domnuprofesor wrote:
Hi there!
I just finished a project and I deployed on a server using symfony
built in deploy tool.
Everything is ok with
yes, of course I cheked the html code...
No script tag is generated. Firebug reports no JS files loaded nor
any js request that could have failed.
So, no requests for js files are performed whatsoever.
Any ideas?
On Jan 15, 9:29 am, Alvaro Videla harryjek...@gmail.com wrote:
have you tried
43 matches
Mail list logo