http://en.wikipedia.org/wiki/Foreign_key
http://www.youtube.com/watch?v=KBYU5bAR0_g
On 17 čvn, 14:53, Arun Raj R aru...@gmail.com wrote:
Thanks Dan Harabagiu,
I used it in symfony and it is very useful . But some time i want to use
plain php. I don't know how to manage these foreign keys in
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
On 17 Giu, 12:13, Daniel Lohse annismcken...@googlemail.com 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
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
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-
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 post
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.
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: ?php echo $my_number.\n ?
...
On Jun 21, 2:10 pm, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Is it possible to use PHP code in the
sure. you can do that in all yml files
just like that
?php echo $i; ? 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_?php echo $i; ? # something
On Jun 21, 2:10 pm, HAUSa
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
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
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
Could it be: $artiste-setFicheId($a); ¿?
How is it in you schema.yml ???
On Jun 22, 8:06 am, titiyoyo terence.pi...@gmail.com wrote:
Hi there
thanks for that.
for now i have this :
public function executeNew(sfWebRequest $request)
{
$fiche = new Fiche();
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
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
try this :
sfContext::getInstance()-getI18n()-__('text);
--- 21/06/10 Pzt tarihinde HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
şöyle yazıyor:
Kimden: HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
Konu: [symfony-users] Translation in form class
Kime: symfony users
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
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 chaiseenb...@gmail.com wrote:
Hello,
I'm working on a module made with the admin
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.. the
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
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
This is what I have in configurationuser 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
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 ahonne...@gmail.com wrote:
This is what I have in configurationuser on the page load after sign
in (from the
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'] =
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
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 ahonne...@gmail.com 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
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
32 matches
Mail list logo