Hi,
I am using the input_date_tag function
?php echo input_date_tag('selectdate', $currentdate, array('rich' =
true, 'onchange'= remote_function(array('update' =
'common_area','url' = 'home/showbooking','script' = true,; ?
I want to update the common_area with the url 'home/showbooking'.
You need the with parameter.
http://www.symfony-project.org/book/1_2/11-Ajax-Integration#Basic%20JavaScript%20Helpers
remote_function(array(
'update' = 'common_area',
'url' = 'home/showbooking,
'script' = true,
'with' = 'selectdate='+ some_javascript_value
);
You shouldn't change database schema on livin' thing.
Don't tread forms only as objects related with existing tables. Take my
previous advise into consideration and create tables that could store your
form schema and user inputs along with some module for visual designing
those forms.
Cheers,
Hi,
Thanks for your mail.
I am not able to get some_javascript_value.
Please help me in this regard.
Thanks
Deepak
On Fri, Aug 7, 2009 at 11:46 AM, Frank Stelzerd...@bleedingmoon.de wrote:
You need the with parameter.
it isn't that difficult:
'with' = 'selectdate='+ this.value
Am 07.08.2009 um 08:31 schrieb DEEPAK BHATIA:
Hi,
Thanks for your mail.
I am not able to get some_javascript_value.
Please help me in this regard.
Thanks
Deepak
On Fri, Aug 7, 2009 at 11:46 AM, Frank
?php echo input_date_tag('selectdate', $currentdate, array('rich' =
true, 'onchange'= remote_function(array('update' =
'common_area','url' = 'home/showbooking1','script' =
true,'with'='selectdate='+'5'; ?
Is the above state OK ?
Thanks
Deepak
On Fri, Aug 7, 2009 at 12:01 PM, DEEPAK
Thanks it is working now.
But where do we find all the tags like 'with' in input_date_tag in symfony ?
Thanks again,
Deepak
On Fri, Aug 7, 2009 at 12:07 PM, Frank Stelzerd...@bleedingmoon.de wrote:
it isn't that difficult:
'with' = 'selectdate='+ this.value
Am 07.08.2009 um 08:31
-noauth for the cache when not logged in and just the username when they
are logged in.
Make sense, will try to do that. Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this
Thanks Eno for your reply, I'll be playing with it again asap taking
attention to your suggestion.
Then I'm also trying to understand in how the --generate -in-cache
distinguishes itself from the admin generator stuff (doctrine:generate-
admin command).
Cheers, RAPHAEL
Hi, there's something i can't understand about class loading.
Scenario:
- symfony 1.2
- sfDoctrineGuardPlugin
As written in the sfDoctrineGuardPlugin README, you can customize
sfGuardAuth module actions creating a sfGuardAuth module and the
corresponding action. I did that and create some new
It's a common problem with PHP 5.3.
Try to switch with 5.3 and it might magically solve your issues.
Marc
Le 7 août 09 à 10:43, Ken Golovin a écrit :
Thomas,
I know very well how to parse XML and load it into the DB
However for this import I need all the business logic from the
ok, got the hint, thanks!
On Aug 7, 8:46 pm, Marc mweistr...@uneviemoinschere.com wrote:
It's a common problem with PHP 5.3.
Try to switch with 5.3 and it might magically solve your issues.
Marc
Le 7 août 09 à 10:43, KenGolovina écrit :
Thomas,
I know very well how to parse XML
Yes,
I can't use fixtures.
On 3 Ago, 23:29, Eno symb...@gmail.com wrote:
On Mon, 3 Aug 2009, luigi wrote:
at the begin of the day, tutorial ask to change schema and fixture.
When I execute doctrine:data-load after rebuild the db, Symfony shows
this message:
Integrity constraint
Hi,
I was struggling to call the ajax method when the date is
automatically changed. But I didn't find any documentation for the
same and had to go for the help on this forum.
Do we have detailed user manual/help in which each parameter of the
helper functions and classes are given.
?php echo
Hey Guys,
I'm having the same problem. Always getting that error when i try to use
fixtures.
Does anyone have a solution.
grtz
Maarten
luigi schreef:
Yes,
I can't use fixtures.
On 3 Ago, 23:29, Eno symb...@gmail.com wrote:
On Mon, 3 Aug 2009, luigi wrote:
at the begin of
Hi all,
I'm having some real problems with the new form framework,
specifically with validators.
Basically, I'm having a lot of instances where I only want certain
validators to execute when others have passed, and I can't seem to be
able to do this.
For example, I have a change password form.
Jesus H Christ, sometimes it helps just to look at the source of
something doesn't it?
The options 'halt_on_error' does exactly what I need. Sorry to waste
your time people!
On 7 Aug, 10:26, Stephen Melrose step...@sekka.co.uk wrote:
Hi all,
I'm having some real problems with the new form
Actually, a sub question from this.
Can you actually tell a validator to only execute when another has
passed and do this without using pre/post validators?
Stephen
On 7 Aug, 10:29, Stephen Melrose step...@sekka.co.uk wrote:
Jesus H Christ, sometimes it helps just to look at the source of
Ok, i think it could be a solution but.. how do i manage the
persistence of this data?
In other words, how do i save the data of these forms in the database?
Maybe as an unique string in a specific table ( in example:
[attribute: value | attribute2: value2] ) ?
but how do i manage the queries? i
probably it's a dumb question...
cirpo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send
Hi.
No, you didn't. You've simply extnded base actions' class provided by plugin.
2009/8/7, cirpo alessandro.cine...@gmail.com:
Hi, there's something i can't understand about class loading.
Scenario:
- symfony 1.2
- sfDoctrineGuardPlugin
As written in the sfDoctrineGuardPlugin README,
Thanks, I'm tired to edit adress :)
On 6 авг, 22:14, Eno symb...@gmail.com wrote:
On Thu, 6 Aug 2009, nord_ua wrote:
Hi! When I'm reading jobeet with doctrine tutorial
http://www.symfony-project.org/jobeet/1_2/Doctrine/en/01header link
goes
On Aug 7, 12:53 pm, Andrei Dziahel trickster...@gmail.com wrote:
Hi.
No, you didn't. You've simply extnded base actions' class provided by plugin.
Let me explain:
apps/frontend/modules/sfGuardAuth/actions/actions.class.php
class sfGuardAuthActions extends BasesfGuardAuthActions
{
This is normal behaviour on pretty much any website. Your browser has
cached the page, not the server - and when you click back it simply
shows you the page you were just looking at, without any request to
the server at all.
Try it on a few other web sites that have login forms - you'll find
Hi folks!
I was thinking about it yesterday and feels very weird talking about it,
but, still have some importance.
Still existing some providers that doesn't care about security updates, so,
still using very old versions of php.
At this moment Im realeasing a sf 1.0 project cause it was the only
Hi Everyone,
I am trying to change the behaviour of the Edit option in the list in
the Backend to create a new Article/Object using the existing data,
the Idea is that I have a very long form to fill for each new Article
and most of my articles are the same there is only minor changes, so I
want
Right now I use the url_for helper like this:
url_for('news_item/news_item?slug=' . $news_item-getSlug())
As you can see, I add the object slug in the URL. But, when I want to
change the route (for example I add the object id in it), I still have
to change all url_for tags for this one:
I'm using this: url_for(array(sf_route = guild_show, sf_subject
= $guild))
On Fri, Aug 7, 2009 at 15:11,
HAUSajeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Right now I use the url_for helper like this:
url_for('news_item/news_item?slug=' . $news_item-getSlug())
As you can see, I add the
Hi everyone,
I am new one to symfony and need your help my problem is:
i have two tables countries and cities when i add a city i am
selecting a country for it cities structure is
idcity_name country_id
now when i am diplaying the cities i add the criteria but how i will
display the
On Aug 7, 3:55 pm, mirfan m.irfa...@gmail.com wrote:
foreach($cities as $city){
$city-getCityName().---;
$city-getCountryName();
$city-getCountries()-getCountryName()
cirpo
--~--~-~--~~~---~--~~
You received this message because you are
Hi Guys,
I am migrating a project to symfony 1.2 (with sfCompat10Plugin) and I need a
control panel that runs on this version.
I tried to use sfControlPanelPlugin (0.9.1) without success :(. Does anyone
know if there is another version or plugin that works in Symfony 1.2?
Thanks!
Marcelo Magnani
Hi for all,
I'm trying implements a form filter in symfony 1.2, but one field don't
work.
I have three fields: field1, field2, field3
field1 is a foreign key
field2 is a text field
field3 is a text field
In field1 I've used a sfFormWidgetChoice to select a value and work
without problem
On Fri, 7 Aug 2009, mirfan wrote:
Hi everyone,
I am new one to symfony and need your help my problem is:
i have two tables countries and cities when i add a city i am
selecting a country for it cities structure is
idcity_name country_id
now when i am diplaying the cities i add the
Hi mirfan,
Welcome to symfony!
I'm not sure if you're using Propel or Doctrine, but I think the
following will work in both (depending on your schema.yml):
?php foreach ($cities as $city): ?
p?php echo $city-getCityName() ?/p
p?php echo $city-getCountry()-getCountryName() ?/p
?php
On Fri, 7 Aug 2009, Tom Haskins-Vaughan wrote:
**You should really read some of the documentation though, there's some
great stuff and some easy to follow examples.**
There is *so much* great documentation but its evident from the postings
here that many don't take the time to read through
On Fri, 7 Aug 2009, DEEPAK BHATIA wrote:
I was struggling to call the ajax method when the date is
automatically changed. But I didn't find any documentation for the
same and had to go for the help on this forum.
Do we have detailed user manual/help in which each parameter of the
helper
What about helper docs like input_date_tag ?
On Fri, Aug 7, 2009 at 8:23 PM, Enosymb...@gmail.com wrote:
On Fri, 7 Aug 2009, DEEPAK BHATIA wrote:
I was struggling to call the ajax method when the date is
automatically changed. But I didn't find any documentation for the
same and had to go
On Fri, 7 Aug 2009, Sid Ferreira wrote:
Still existing some providers that doesn't care about security updates, so,
still using very old versions of php.
At this moment Im realeasing a sf 1.0 project cause it was the only stable
release that would work on the server.
The point is that
Typically a Google search like this will get you where you want to be:
symfony api input_date_tag
Then you just have to switch to whichever version of symfony you're using.
DEEPAK BHATIA wrote:
What about helper docs like input_date_tag ?
On Fri, Aug 7, 2009 at 8:23 PM,
On Fri, 7 Aug 2009, DEEPAK BHATIA wrote:
What about helper docs like input_date_tag ?
sigh
Its really not that hard to look up stuff. Helper classes are listed under
helper (see right column). Specifically, you're looking for a form
helper, so then you would click on FormHelper.
You can
I have two classes brand and product respectively mapped, where the
key of brand passes to product, my question is
When I created the forms, in product i see a combobox of brand, in
that part I can found the getBrands() function to fill this combobox?
pdta: Because I filled the brand table,
Hello,
Thanks for the information.
But still the input_date_tag API is given with options = array and I
don't find any place of options array description
Regards
Deepak Bhatia
On Fri, Aug 7, 2009 at 8:33 PM, Enosymb...@gmail.com wrote:
On Fri, 7 Aug 2009, DEEPAK BHATIA wrote:
What about
On Fri, 7 Aug 2009, DEEPAK BHATIA wrote:
But still the input_date_tag API is given with options = array and I
don't find any place of options array description
It says:
$optionsadditional HTML compliant input tag parameters
i.e. the regular HTML parameters for the input tag.
Im
Having some odd behavior with this plugin.
Here is what happens:
- new project with doctrine orm
- create backend app
- create a simple model (called article)
- generate admin module in backend for model (works fine, can
add/remove/list items)
- install sfDoctrineGuardPlugin
- rebuild db
- admin
Hi :)
I've got a strange problem for setting default value in a form.
Everywhere else in my project, setting default work fine. Either I set
it in the form class, or in the action class. However, for this
particular form, this isn't working. I didn't try to set the defaults
into the action
On Fri, 7 Aug 2009, nord_ua wrote:
Thanks, I'm tired to edit adress :)
Fixed now.
--
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
On Wed, 5 Aug 2009, Steve Sanyal wrote:
Does anyone havea code snippet for getting the action and module from
a routing rule?
Do you mean the *name* of the module and action?
--
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On Fri, 7 Aug 2009, Raphael Schumacher wrote:
Then I'm also trying to understand in how the --generate -in-cache
distinguishes itself from the admin generator stuff (doctrine:generate-
admin command).
That's a good question and something Ive wondered about myself. Perhaps
generating a
Im using one that after a full week arguing they gave me php 5.1... or else
it would be 4.4
Sidney G B Ferreira
Desenvolvedor Web
On Fri, Aug 7, 2009 at 11:59, Eno symb...@gmail.com wrote:
On Fri, 7 Aug 2009, Sid Ferreira wrote:
Still existing some providers that doesn't care about
On Fri, 7 Aug 2009, Sid Ferreira wrote:
Im using one that after a full week arguing they gave me php 5.1... or else
it would be 4.4
I would probably switch provider. Explain to the client that they put
their business at risk by not updating (not to mention liability if a
server is hacked
Believe me: I tried...
Sidney G B Ferreira
Desenvolvedor Web
On Fri, Aug 7, 2009 at 14:28, Eno symb...@gmail.com wrote:
On Fri, 7 Aug 2009, Sid Ferreira wrote:
Im using one that after a full week arguing they gave me php 5.1... or
else
it would be 4.4
I would probably switch
Hi,
I appreciate that the documentation is done nicely but what we need
are the examples below each API/Helper.
Yes searching on google gets me the answer but not always.
More so in my case it is
with = 'select'+javascript_code
with is not a regular HTML option.
I hope you understand my
I do think it would be a good idea to have user comments/examples in the
api docs but I think that idea was not well liked.
DEEPAK BHATIA wrote:
Hi,
I appreciate that the documentation is done nicely but what we need
are the examples below each API/Helper.
Yes searching on google gets
I think we can take example from www.php.net where below each api,
users have put practical examples.
On Fri, Aug 7, 2009 at 11:17 PM, Tom
Haskins-Vaughant...@templestreetmedia.com wrote:
I do think it would be a good idea to have user comments/examples in the
api docs but I think that idea
On Fri, 7 Aug 2009, DEEPAK BHATIA wrote:
with = 'select'+javascript_code
with is not a regular HTML option.
You asked about specifically about input_date_tag, but what you're talking
about NOW is the remote_function. Quoting your own code:
?php echo input_date_tag('selectdate',
Hey Marcos,
I think I've had the same issue before. What's happening is that the
text field is really submitting 2 fields, one being the text value,
and the other the is empty checkbox value. So when you switch the
widget to a choice widget, only one value gets submitted (instead of
an array of
OK, I am sorry for my mistake but I am still not convinced that third
parameter which is a
options = array() is a HTML compliant input tag parameters has a
remote function inside the array.
But the below mentioned information is not at all understood by me.
Probably may not be an HTML expert
Also, I believe in sf1.2 you can specify the viewcache manager class,
so in there you may be able to add authentication into the cache key..
Daniel
On Aug 7, 12:49 am, Zdanek tom...@mikran.pl wrote:
-noauth for the cache when not logged in and just the username when they
are logged in.
On Fri, 7 Aug 2009, DEEPAK BHATIA wrote:
OK, I am sorry for my mistake but I am still not convinced that third
parameter which is a
options = array() is a HTML compliant input tag parameters has a
remote function inside the array.
But the below mentioned information is not at all
On Fri, 7 Aug 2009, Sid Ferreira wrote:
Believe me: I tried...
So put a waiver in your contract that says you're not responsible for any
security problems and have the client sign with a witness present :-)
If they don't or won't understand the gravity of what you're saying then
let it NOT
Thanks Eno for your patience, so we finally decide that examples are
not required.
Regards
Deepak Bhatia
On Sat, Aug 8, 2009 at 12:44 AM, Enosymb...@gmail.com wrote:
On Fri, 7 Aug 2009, DEEPAK BHATIA wrote:
OK, I am sorry for my mistake but I am still not convinced that third
parameter
Daniel,
Thanks for your response, really after modify the field really works
now...
Best regards
Medeiros
On 07/08/2009 14:11, Richtermeister wrote:
Hey Marcos,
I think I've had the same issue before. What's happening is that the
text field is really submitting 2 fields, one being
Hello :)
I have a form generated by propel:build-forms command. In a form there
is a dozen of sfValidatorString which I want to have error messages in
my language. Using i18n is an overhead, because I don't need support
for many languages, on the other hand, setting error message in each
Hi,
I don't know another plugin similar to sfControlPanel but if you try
to do an admin with menu and desktop, the sfAdminDash plugin is a good
option.
Greetings.
Adrian Ruiz
Rosario
Argentina
On Aug 7, 4:12 pm, Marcelo Magnani marcelo...@gmail.com wrote:
Hi Guys,
I am migrating a project
Hi, I wonder if you use a plugin to create Facebook application?
There is a plugin but it is very old. Do you know any update?
Do you know any tutorial or examples of applications created with
facebook Symfony?
Can you help me, please?
Thanks before.
Hi, I wonder if you use a plugin to create Facebook application?
There is a plugin but it is very old. Do you know any update?
Do you know any tutorial or examples of applications created with
facebook Symfony?
Can you help me, please?
Thanks before.
Im not the company owner. Im a developer who uses sf.
My boss even agree with me, but he'll not change his partners just for a
tool.
Unfortunelly,
Sidney G B Ferreira
Desenvolvedor Web
On Fri, Aug 7, 2009 at 16:17, Eno symb...@gmail.com wrote:
On Fri, 7 Aug 2009, Sid Ferreira wrote:
I used the admin generator to generate a backend for my app which has
Company and CompanyAddress objects. I want to put a list of that
company's addresses on its show page and was wondering what the best
practice for this is.
I thought I could just use include_partial('company_address/list') but
Do you have any credentials declared in your generator.yml?
http://www.symfony-project.org/book/1_2/14-Generators#chapter_14_sub_restricting_user_actions_using_credentials
On Aug 7, 11:43 am, Kevin Bond kevinb...@gmail.com wrote:
Having some odd behavior with this plugin.
Here is what
You could add a new action that did an $article-copy($deep) (syntax
is doctrine I believe there is something similar in propel) and then
pass to the form which will allow you to make any changes and then
save as normal
On Aug 7, 7:53 am, Nayef naye...@gmail.com wrote:
Hi Everyone,
I am trying
try:
Recipients:
-
title: 'Mr'
firstname: 'Peter'
lastname: 'Pan'
-
title: 'Mr'
firstname: 'John'
lastname: 'Doe'
On Aug 7, 12:16 am, danielwinter spinw...@gmail.com wrote:
Why is it that sfYaml in Symfony 1.0 can parse the YAML below but the
sfYaml
please help me
On 7 ago, 10:20, juaninf juan...@gmail.com wrote:
I have two classes brand and product respectively mapped, where the
key of brand passes to product, my question is
When I created the forms, in product i see a combobox of brand, in
that part I can found the getBrands()
Looks like you have a field in your table which is set to notnull:
true in schema.yml file AND you have either unset this field in the
form generated by Symfony or not setting it to any value. Either way,
this field is not being populated with any value thus defaults to true
per Doctrine
On Fri, 7 Aug 2009, juaninf wrote:
please help me
I think most people didn't understand your post
On 7 ago, 10:20, juaninf juan...@gmail.com wrote:
I have two classes brand and product respectively mapped, where the
key of brand passes to product, my question is
When I
On Fri, 7 Aug 2009, Sid Ferreira wrote:
Im not the company owner. Im a developer who uses sf.
I know.
My boss even agree with me, but he'll not change his partners just for a
tool.
You could host this tool somewhere else.
--
--~--~-~--~~~---~--~~
You
http://symfonynerds.com/blog/?p=12
study this blog man
On Aug 8, 10:33 am, asim nizam asim...@gmail.com wrote:
how to use paginationation
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To
how to use paginationation
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
77 matches
Mail list logo