I think that the solution might be owerwriting the doSave method .. or
some method where the saving of the object is done. You need to save
the foreign object first - to obtain the id from the database, then
save the main object.
On 19 čvn, 12:24, titiyoyo wrote:
> Hi there,
>
> i'm new to symfo
Hello,
I'm working on a module made with the admin generator and i want to
let the user change the pager maxperpage value...
I have made a form and an action who get the value entered by the user
but How to send it to the pager?
Can someone help me ? thanks.
--
If you want to report a vulnerab
On 17 Giu, 12:13, Daniel Lohse wrote:
> What you can do is copy the sfGuardUser.php to your lib/ folder and make your
> modifications there. This should work. The sfGuardUser.php file should be
> empty.
That's very interesting.
I never heard anything about it, but it would be really nice if it
Hi all,
I must be dumb, but I can't find how to use (F)CKEditor with symfony
1.4.
I tried to follow these steps
(http://trac.symfony-project.org/wiki/HowToUseFCKeditor ) but I don't
understand everything, and it doesn't work anyway.
Can somebody help me?
Thaanks!
Jérémie
--
If you wa
Hi,
Does it have to be FCKEditor? If TinyMCE is also an option, you could try
with the sfFormExtraPlugin and the documentation at
http://www.symfony-project.org/blog/2008/10/18/spice-up-your-forms-with-some
-nice-widgets-and-validators
Regards,
Christopher.
-Ursprüngliche Nachricht-
Von
Is it possible to use PHP code in the .yml generator files of the
admin generator?
--
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 pos
> Does it have to be FCKEditor?
No, it's just that it's the first one I found looking for a WYSIWYG
editor with symfony :)
Finally, I managed to make it work, not using the symfony package, but
by downloading directy from the official website and by following their
instructions.
Thanks for your
Beste,
Tot en met 27 juni ben ik niet aanwezig op kantoor.
U kunt voor dringende zaken contact opnemen met Wout Withagen:
w...@freshheads.com of 013 5448761.
Met vriendelijke groet,
Joost Farla
joost.fa...@freshheads.com
- -
freshheads grafisch ontwerp en internet applicaties
Dunantstraat 1c
Hello,
As I explain here http://forum.symfony-project.org/index.php/t/28144/
I resolved the jobeet application on my shared host but I crashed on
my localhost.
The first problem that fails on mylocalhost is at the first doctrine
query, which of course is diffrent from the one at my shared host.
In
yes...
be careful when using php code at the end of a line... you must add
"\n" to manually break a line in yaml file..
e.g.:
...
max_per_page:
...
On Jun 21, 2:10 pm, HAUSa
wrote:
> Is it possible to use PHP code in the .yml generator files of the
> admin generator?
--
If you want to
sure. you can do that in all yml files
just like that
but be aware, that you need to add something behind
this to make sure, that the line-breaks still exists.
for example:
Article:
name: headline_ # something
On Jun 21, 2:10 pm, HAUSa
wrote:
> Is it possible to use PHP code in the .ym
Hi!
I have problem with Doctrine_Cache_Memcache and left joins in nested
way.
For example I have such SELECT:
$query = Doctrine_Query::create()
->select('*')
->from('Objects o')
->leftJoin('o.DicRgn b')
->leftJoin('o.DicBldtp c')
Hi,
it is a bit old. but still should work:
http://www.symfony-project.org/book/1_2/14-Generators
list:
max_per_page: 2
--
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 subsc
sorry, wrong content.
but did you try this?
http://levelx.me/technology/programming/symfony-admin-generator-calling-actions-with-custom-parameters/
--
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
Hi there
thanks for that.
for now i have this :
public function executeNew(sfWebRequest $request)
{
$fiche = new Fiche();
$fiche->save();
$artiste = new Artiste();
$a = $fiche->getId();
$artiste->setIdFiche($a);
$this->form = new ArtisteForm(
Could it be: $artiste->setFicheId($a); ¿?
How is it in you schema.yml ???
On Jun 22, 8:06 am, titiyoyo wrote:
> Hi there
>
> thanks for that.
>
> for now i have this :
>
> public function executeNew(sfWebRequest $request)
> {
> $fiche = new Fiche();
> $fiche->save();
>
Hi,
I'm trying to save my form, but it just stay in the create action
without showing not error.
I have a Main form: Comunication
a embedded form: Comunication_to
But when i click save button it gets to the create action, and it does
not show any error (in dev) . Could it be some 'hid
How can I get a I18n translation in my form class?
I want to use the __() function in my UserForm.class.php.
--
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 "sy
try this :
sfContext::getInstance()->getI18n()->__('text);
--- 21/06/10 Pzt tarihinde HAUSa
şöyle yazıyor:
Kimden: HAUSa
Konu: [symfony-users] Translation in form class
Kime: "symfony users"
Tarihi: 21 Haziran 2010 Pazartesi, 17:43
How can I get a I18n translation in my form class?
I want t
Simple, just use this plugin:
http://www.symfony-project.org/plugins/sfFCKEditorPlugin,
which gives you a simple widget to render the editor.
You'll still have to download the fck editor library and put it in the
right spot (/js/fckeditor I believe), but that's it. Easy as pie.
Daniel
On Jun 21
Look at the configuration class, I believe it contains a method which
has the final say on the max pager value.
I haven't tried this myself, but that's what I would try first.
Daniel
On Jun 21, 12:54 am, Winnie wrote:
> Hello,
>
> I'm working on a module made with the admin generator and i want
I know now my errors:
status : Required.
user_id : Required.
direccion_id : Required.
correlativo : Required.
fecha : Required.
documento : Required.
The thing is that this fields are set by the system, i mean, the user
should not modify them, so i just show it like text.
How can i pass them to
Hi,
I have a template fragment (using the cache() helper) and the name of
it is "foo/bar/baz".
It is saved in the filesystem at
my-domain/all/myModule/show/_sf_cache_key/foo/bar/baz/slug/home.cache
I guess the slug/home is because there is a routing parameter "slug"
with the value "home".
So..
Maybe you can use hidden fields, but I think it can have security lacks, a
user could modifie the values with firebug for example.
The better solution would be, unset those fields in the form and override
the save method of the model to autoset the values.
To unset the fields in the form put this
Hi there,
i have a simple and basic quesion here about symfony : how can i set
values into a form field from the controller in symfony ?
I looked again and again and again without finding an answer.
So for now i have this below.
Please help me, it's quite urgent !!
public function executeNew
This is what I have in configuration>user on the page load after sign
in (from the webDebugToolbar):
attributeHolder:
sfGuardSecurityUser: { user_id: '173' }
On the next pageload, it goes away (no sfGuardSecurityUser at all)
I printed the session at the beginning of an action (right after
logi
I would say it's something wrong at the PHP configuration level, what
is your environment (OS, PHP, symfony version, ...?).
gabriel
On Jun 21, 8:51 pm, ashton honnecke wrote:
> This is what I have in configuration>user on the page load after sign
> in (from the webDebugToolbar):
>
> attribut
Happily i could do this:
protected function processForm(sfWebRequest $request, sfForm $form)
{
//$form->bind($request->getParameter($form->getName()), $request-
>getFiles($form->getName()));
$campos = $request->getParameter($form->getName());
$campos['user_id'] = $this->getUser()->g
It was working at one point. The issue seems to span all the apps that I have.
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
PHP 5.2.10 (cli) (built: Aug 6 2009 06:05:50)
symfony version 1.4.6-DEV
ashton
On Mon, Jun 21, 2010 at 12:14 PM, pghoratiu wrote:
> I would say it's something w
In order to test if the issue lay in the environment or in the code, I
set up a new vhost and checked everything out again at various
revisions. I can't seem to reproduce the issue at all on the newly
checked out vhost. So this issue has been resolved I think.
Thanks!
On Mon, Jun 21, 2010 at 12
Hello,
I been trying all day to do multiple insert for the same form based on
a number and i couldn't go any where with it. I hope someone here
would be help me out...
am using admin generator on 1.4 doctrine. I have a form which i
generated with only two fields. what am trying to do is, based on
Nope, it came back after I cced and rebuilt the models.
On Mon, Jun 21, 2010 at 2:05 PM, ashton honnecke wrote:
> In order to test if the issue lay in the environment or in the code, I
> set up a new vhost and checked everything out again at various
> revisions. I can't seem to reproduce the iss
Ideally you pass the I18N instance into the form. That way you don't
couple your forms to the context (makes forms hard to test).
For example, from within an action you can say:
$form = new WhateverForm(array(), array("i18n" => $this ->
getContext() -> getI18n()));
and inside the form:
$i18n =
I'm having exactly this problem too and have not resolved it yet. Using
xdebug I note that the SQL statement doing the actual INSERT of the detail
record does not include the foreign key. I plan on making the foreign key a
hidden field on the form which will hopefully make it available in the SQL
34 matches
Mail list logo