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 Stelzer wrote:
>
> it isn't that difficult:
>
>
> 'with' => "'selectdate='+ this.value"
>
>
> Am 07.08.2009 um 08:31 schrieb DEEPA
> "-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
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 me
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 models.
Apart from splitting the load into smaller job batches, what else can
I do to minimise memory leaks?
On Aug 7, 12:09 am, Thomas Rabaix wrote:
> ORM does no
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 t
ok, got the hint, thanks!
On Aug 7, 8:46 pm, Marc 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 and load it i
Yes,
I can't use fixtures.
On 3 Ago, 23:29, Eno 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 violation:
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.
true, 'onc
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 wrote:
>
>> On Mon, 3 Aug 2009, luigi wrote:
>>
>>> at the begin of the d
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 wrote:
> Hi all,
>
> I'm having some real problems with the new form framework,
> specif
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 wrote:
> Jesus H Christ, sometimes it helps just to look at the source of
> something doesn't it
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 h
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 :
>
> 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
> s
Thanks, I'm tired to edit adress :)
On 6 авг, 22:14, Eno 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 tohttp://www.symfony-project.org/jobeet/1_2/Propel/en/. Is i
On Aug 7, 12:53 pm, Andrei Dziahel 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
{
public function foo(){}
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
it's
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:
url_for(
I'm using this: url_for(array("sf_route" => "guild_show", "sf_subject"
=> $guild))
On Fri, Aug 7, 2009 at 15:11,
HAUSa 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 object slug in the URL. But,
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 country
On Aug 7, 3:55 pm, mirfan wrote:
>
>
>
> foreach($cities as $city){
> $city->getCityName()."--->";
> $city->getCountryName();
$city->getCountries()->getCountryName()
cirpo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
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
In
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
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):
getCityName() ?>
getCountry()->getCountryName() ?>
**You should really read some of the documentation though, there's some
great
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 throug
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
> hel
What about helper docs like input_date_tag ?
On Fri, Aug 7, 2009 at 8:23 PM, Eno 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 for the h
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 tha
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, Eno wrote:
>
On Fri, 7 Aug 2009, DEEPAK BHATIA wrote:
> What about helper docs like input_date_tag ?
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 al
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, bu
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, Eno wrote:
>
> On Fri, 7 Aug 2009, DEEPAK BHATIA wrote:
>
>> What about helper docs
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 tag parameters "
i.e. the regular HTML parameters for the tag.
Im sure you
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 g
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 class,
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 symfony-users@
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 t
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 mod
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 wrote:
>
> On Fri, 7 Aug 2009, Sid Ferreira wrote:
>
> > Still existing some providers that doesn't care about security updates,
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 a
Believe me: I tried...
Sidney G B Ferreira
Desenvolvedor Web
On Fri, Aug 7, 2009 at 14:28, Eno 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 provider. Expl
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 m
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 g
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-Vaughan wrote:
>
> 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.
>
> D
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:
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 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 that's
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 wrote:
> > "-noauth" for the cache when not logged in and just the username when they
> > are logged in.
>
> Make sense
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 tag parameters has a
> remote function inside the array.
>
> But the below mentioned information is not at all unde
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, Eno 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 which is a
>>
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 the
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
validato
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 wrote:
> Hi Guys,
>
> I am migrating a project to symfony 1.2 (wi
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 wrote:
>
> On Fri, 7 Aug 2009, Sid Ferreira wrote:
>
> > Believe me: I tri
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 wrote:
> Having some odd behavior with this plugin.
>
> Here is what happens:
> - new project
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 wrote:
> Hi Everyone,
>
> I am trying to change the
try:
Recipients:
-
title: 'Mr'
firstname: 'Peter'
lastname: 'Pan'
-
title: 'Mr'
firstname: 'John'
lastname: 'Doe'
On Aug 7, 12:16 am, danielwinter wrote:
> Why is it that sfYaml in Symfony 1.0 can parse the YAML below but the
> sfYaml class from compo
please help me
On 7 ago, 10:20, juaninf 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() function to fill t
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 whi
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 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
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.
--
--~--~-~--~~~---~--~~
Yo
http://symfonynerds.com/blog/?p=12
study this blog man
On Aug 8, 10:33 am, asim nizam wrote:
> how to use paginationation
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group
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
sym
Replying to myself here,
After chatting with Dustin Whittle at the Symfony meetup in SF, the
idea came of implementing
non database drivers for Doctrine.
I came across this thread on doctrine-user that talk about that exact
idea:
http://groups.google.com/group/doctrine-user/browse_thread/thread/
73 matches
Mail list logo