Does your form has input (hidden) for this id? Show your form code.
(setup, configure, ...)
On 21 čvn, 15:06, 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'd like to pass values to my JS script when I call it. So I look the
API for the addJavascript() method, herre is it :
addJavascript ($file, $position, $options)
$file The JavaScript file
$position Position
$optionsJavascript options
Adds javascript
just found that presentation:
http://www.slideshare.net/jcleveley/working-with-the-admin-generator
slide: 22-23 : Dynamic MaxPerPage
that should help
--
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
I made this JavaScript function to load a partial.
function renderPartial(partial, div, params){
$('.loader').show();
$(div).load(
partial,
params, //params = { var1 : 2, var2 : 1 }
function() {$('.loader').hide();}
);
}
When i call it everything works,
Quite simple as the new record Id is inserted on save. If you use Propel and
have the following for example:
$obj_to_save = new ModelClass();
$obj_to_save-setField1('value1');
$obj_to_save-setField2('value2');
$obj_to_save-save();
Then you can get the ID right after save with:
Hy symfony users,
I have a site written using Smarty, is there anyway I can migrate it to
symfony? or at least develop additional features using symfony?
Dan.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this
On Tue, 22 Jun 2010, Dan Harabagiu wrote:
I have a site written using Smarty, is there anyway I can migrate it to
symfony? or at least develop additional features using symfony?
There is an sfsmarty plugin, so its possible to use Smarty with symfony.
--
--
If you want to report a
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
On Mon, 21 Jun 2010, Matthias N. wrote:
So.. the problem is I try to remove that fragment using the view cache
manager but it doesn't work.
I tried this but it does not work because it generates not the
appropriate filename/pattern:
$cacheManager-remove('@sf_cache_partial?
Well now i get the Id.
But basically what i did was i merged two forms (from Artiste and
Fiche models) and tried to create a new Artiste from a form, and set
the Fiche foreign key directly in the controler.
I don't have the exact code here but it looks like this below.
All this creates a new
and this below gets the id alright.
$a = $fiche-getId();
On 22 juin, 15:10, titiyoyo terence.pi...@gmail.com wrote:
Well now i get the Id.
But basically what i did was i merged two forms (from Artiste and
Fiche models) and tried to create a new Artiste from a form, and set
the Fiche foreign
If you mean how to set default values, then try setDefaults()
http://www.symfony-project.org/api/1_4/sfForm#method_setdefaults
On 21 čvn, 19:49, titiyoyo terence.pi...@gmail.com wrote:
Hi there,
i have a simple and basic quesion here about symfony : how can i set
values into a form field
Let this form as it was (without loop) - let's call it basic form.
Create another form (master form) and embed basic form x-times into
it.
http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms
On 21 čvn, 23:00, mo.mughrabi mo.mughr...@gmail.com wrote:
Hello,
I been trying
The defaults for session storage are defined in apps/frontend/config/
factories.yml.
If there is nothing changed vs. the defaults than the PHP session
storage is used, in this case you can check
the serialized sessions stored usually somewhere in /var/lib/php5 (or
something similar, depending on
Thanks for your answer, it's exactly what i want to do, BUT i can't
make it work...
I have implemented the code shown on the presentation but, on diapo
22, it's about js onchange submits to an action and i dont really
understand what it means...
In fact i have done a onchange event on my select
Hi,
I have a problem when trying to use a MyProfileForm that extends the
BasesfGuardUserForm. Here it is :
In sfGuardUser/action.class.php :
...
public function executeMyProfile() {
$this-sf_guard_user = $this-getUser()-getGuardUser();
$this-form = new
On 21 Giu, 19:49, titiyoyo terence.pi...@gmail.com wrote:
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
ok that's solved now !
Yes Tom you were right, but it has to be done in the executeCreate
action instead of executeNew
so here's the code :
//ArtisteForm class
class ArtisteForm extends BaseArtisteForm
{
public function configure()
{
unset(
$this[id_fiche]
This happened after I insert new value to table:
symfony SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid
input syntax for integer:
Form for inserted is auto-generated with
php symfony doctrine:generate-module --with-show --non-verbose-
templates frontend sprints rank_sprints
Here's examples:
Link
?php echo link_to($page, '@blog?page='.$page) ?
Route 1
blog:
url: /blog/*
param: { module: blog, action: list }
Output: http://localhost/blog/page/2
Route 2
blog:
url:
Hi,
Is there any way to have fieldset in symfony forms?
--
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 to this group, send email
Hi
I have created a backend module to display logs (from the logs table
or model).
1. since it should just display logs, there shouldn't be a +new link
in the page. How can I remove that link?
2. I want to be able to filter the list based on the user field. but
since the table (model) has the
Hi,
I think this is a routing question.
For SEO reasons, I need urls like the following:
www.domain.com/acme-pump.html
www.domain.com/beta-pump.html
www.domain.com/boyden-pump.html
...
and also:
www.domain.com/acme-pumps.html
www.domain.com/beta-pumps.html
www.domain.com/boyden-pumps.html
Hi,
I need a little help creating my schema. I am creating a gallery-
module containing the two tables Gallery and GalleryPicture. First one
stores the galleries with additional information, the second one
stores the pictures. The tables are related over the gallery.id-field
and the
Hi!
my name is christian and i'm new with symfony framework.
I found this step by step tutorial:
http://www.symfony-project.org/jobeet/1_2/Propel/it/01
i have troubles during the apache configuration...
this is my httpd.conf
Hello,
After installing sfDoctrineApplyPlugin and calling the Apply
in a module . A message appeared telling that SfGuardUserFilter was
missing. I proceed to recreate the model filters and forms.
Then after recreating everything some files were missing. I copied the
files in
Hello!
I got this error while added new value on standrd form generated by
default.
execute : SELECT r.sprint_id AS r__sprint_id, r.sprint_name AS
r__sprint_name, r.sprint_start AS r__sprint_start, r.sprint_end AS
r__sprint_end, r.sprint_summary AS r__sprint_summary, r.created AS
r__created FROM
Hello all,
Another engineer and I are having a bit of a debate on the correct way
to handle how Symfony automatically regenerates the session id when
authentication, and changing credentials. We have to make a
modification to the database whenever a session is regenerated when a
user is logged
Hi there
I recently wrote an article on how to achieve exactly what you are
after:
http://ezzatron.com/2010/06/10/per-environment-fixtures-in-symfony/
Hope this helps :)
Erin
On May 7, 6:05 pm, Dong YANG jojoyangd...@gmail.com wrote:
Okay, i see, thanks again and have a good week-end :)
I would not put this on the routing system.
It sounds like all you need is one route that maps your urls to your
product catalog action, and figure out which product to show from
there.
For example, the route could be:
product:
url: /:manufacturer-:type
param: { module: catalog, action:
Hi,
when I look at my web debug toolbar I see the database panel with 6
queries. The time is always:
0.00s, doctrine connection
which seems to be not correct.
But there is a much bigger problem: It does not show all queries,
because in the log file I see much more queries and when I open the
If you are using propel you can achieve it this way (I don't know if
it'll work for Doctrine, I have never used it for any project):
Gallery:
columns:
name: { type: string(255), notnull: true }
preview_image_id: { type: integer, foreignTable: GalleryPicture,
foreignReference: id }
Nevermind, I was trying to merge a form and there was a conflict with
the id DB fields.
I use embedForm now and it works perfectly...
On 22 juin, 18:20, John drskulls...@gmail.com wrote:
Hi,
I have a problem when trying to use a MyProfileForm that extends the
BasesfGuardUserForm. Here it is
On Tue, 22 Jun 2010, Christian wrote:
where public_html is my apcahe DocumentRoot in whitch i have a lot of
directory with different site, but when i put this link in my browser:
http://localhost:8080/index.php (as the tutorial say) i can't see
anything...only a blank page...
can you help
Remember the orderf of routes *does* matter, so you should have most
specific route to least specific routes, e.g. using a wildcard will
match all routes that start /blog so probably that route should be last.
On Tue, 22 Jun 2010, Ivo Az. wrote:
Here's examples:
Link
Anyone attending the online conference tomorrow? I didn't receieve any
technical info on how to join the conference and my email asking for info
bounced back (with an error message in French malheureusement!).
Maybe someone at Sensio can help me?
--
--
If you want to report a
36 matches
Mail list logo