even something as simple as this will fail with the same error:
{{{
$this->form = new OrderForm();
$this->form->embedForm('Items[0]', new OrderItemForm());
}}}
On 4 Mrz., 08:37, Christian Schaefer wrote:
> Hi all,
>
> I've read several similar posts so far but none was helping so far..
>
> T
Hi all,
I've read several similar posts so far but none was helping so far..
This is my schema.yml:
{{{
Order:
tableName:orders
actAs:
Timestampable:
columns:
id: { type: integer(4), primary: true, autoincrement:
true }
count: { type: integer(4) }
order_ad
Hi Friends,
I am executing this simple code -
$city=$this->getRequestParameter('city');
$function_cache_dir = sfConfig::get('sf_cache_dir').'/function';
$fc = new sfFunctionCache($function_cache_dir);
// set life time for city cache is define in app.yml file
$fc->setLifeTi
This is also worth noting:
http://propel.phpdb.org/trac/wiki/Users/Documentation/1.2/ManyToManyRelationships
"Because Propel's support for relationships maps directly to the way
that relationships are handled at the database level, there is no
magical support for many-to-many relationships in Pr
> The ideal way I would think to solve this would be for Propel to be
> able to efficiently create composite objects, but I don't see an easy
> way to do this, since the Criteria objects only allow me to specify
> conditions regarding the query results, not column selects that would
> allow me to
google gives the following :
http://mathforum.org/library/drmath/view/61135.html
On Mar 3, 10:57 pm, xhe wrote:
> I have met a problem. I want to get boundary longitude and latitude of
> an area. That is within xxx KM of point A.
> If you have the formula, can you please share with me?
>
> Than
Even if I do something desperate, such as open up the editSuccess
template and this widget schema info right before it is called, I
still get the same error:
widgetSchema['description'] = new
sfWidgetFormTextareaTinyMCE(array(
'width' => 550,
'hei
Hello,
I'm trying to use your : sfWidgetFormSelectDoubleList from the
sfFormExtraPlugin...
I downloaded the plugin manually .. and copied the folder in the
plugins folder in my project ..
it seems to be working ... i can initialize the plugin by filling the
choices array
my two questions are :
This page has some useful documentation:
http://www.symfony-project.org/book/forms/1_2/en/A-Widgets#chapter_a_sub_sfwidgetformtextareatinymce
It gives this example:
$w = new sfWidgetFormTextareaTinyMCE(
array(),
array('class' => 'foo')
);
It doesn't mention that "class" is required, but th
If you go here:
http://www.symfony-project.org/blog/2008/10/18/spice-up-your-forms-with-some-nice-widgets-and-validators
then you see this as an example:
$this->widgetSchema['content'] = new sfWidgetFormTextareaTinyMCE(array
(
'width' => 550,
'height' => 350,
'config' => 'theme_advanced_
On Mar 3, 10:35 pm, Damien Lepage wrote:
> You can use sfJqueryReloadedPlugin which allows to specify a path to
> jquery.js in your app.yml
> The plugin does not handle the UI extension yet.
> I guess you can set the path to your UI js in a custom property of app.yml.
Thanks, but I'm using Jq
I have met a problem. I want to get boundary longitude and latitude of
an area. That is within xxx KM of point A.
If you have the formula, can you please share with me?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
You can use sfJqueryReloadedPlugin which allows to specify a path to
jquery.js in your app.yml
The plugin does not handle the UI extension yet.
I guess you can set the path to your UI js in a custom property of app.yml.
2009/3/3 Lawrence Krubner
>
> I'm looking at this page:
>
> http://www.symf
I managed to get the rich date widget mostly working. However, it is
not formatting correctly. This is what it looks like for me:
http://lawrence.sds5.com/date_widget_looks_wrong.gif
You notice how the Prev and Next buttons are forced together? And
there is no background color or image?
What do
I'm looking at this page:
http://www.symfony-project.org/book/1_1/11-Ajax-Integration
It says;
---
All of the helpers described here are available in templates, provided
that you declare the use of the Javascript helper group.
---
But
Apologies, I didn't see that I had to install JQuery myself.
On Mar 3, 9:09 pm, Lawrence Krubner wrote:
> I'm running Symfony 1.1.4
>
> I want to use the rich date widget mentioned here:
>
> http://www.symfony-project.org/blog/2008/10/18/spice-up-your-forms-wi...
>
> I've installed the plugin.
Tom, that sounds really great. What kind of license will this be
under?
On Jan 14, 10:25 am, "Tom Boutell" wrote:
> We're speeding along on one right now and should have an early public
> beta in a couple weeks. Features of the forthcoming pkContextCMS
> include:
>
> * Use of Doctrine column ag
I'm running Symfony 1.1.4
I want to use the rich date widget mentioned here:
http://www.symfony-project.org/blog/2008/10/18/spice-up-your-forms-with-some-nice-widgets-and-validators
I've installed the plugin.
In my form class, I tried this:
$this->widgetSchema['date'] = new sfWidgetFormJQu
We are working on a website (symfony 1.2 and doctrne) that need to be
in 2 language: french and english. We needto have route translate in
each language so :
route_a:
url : /my/route/in/english
{ module: abc , actions: xyz }
route_a:
url : /ma/route/en/francais
{ module: abc , act
We are working on a website (symfony 1.2 and doctrne) that need to be
in 2 language: french and english. We needto have route translate in
each language so :
route_a:
url : /my/route/in/english
{ module: abc , actions: xyz }
route_a:
url : /ma/route/en/francais
{ module: abc , act
Have you tried to post ticket there?
BTW,
http://propel.phpdb.org/trac/wiki/Development/NewSite
On Tue, 2009-03-03 at 12:11 -0800, Jérôme TEXIER wrote:
> I've found a weird behavior while using Propel 1.3 with included
> nestedset module on symfony 1.2.4.
>
> Moving a node to one of its desc
Looking forward for your solution.
I've been googling around for doctrine CMS and found this thread.
Wich you luck for the implementation, hope it will come out soon :)
On Jan 14, 5:25 pm, "Tom Boutell" wrote:
> We're speeding along on one right now and should have an early public
> beta in a co
I have three tables and I am using Propel for my data layer. Here is
a quick description of my tables:
Facility, which has an address defined in the Address table, and the
Address has a reference to the RefStateProvince table.
I've built a search index for facilities (using Zend Search Lucene),
I've found a weird behavior while using Propel 1.3 with included
nestedset module on symfony 1.2.4.
Moving a node to one of its descendant put strange values on tree_left
& tree_right fields and breaks the tree.
I'd like to post this as a propel ticket on http://propel.phpdb.org/
but my message
On 3 oct 2008, 09:58, adrive wrote:
> Hello. I am wondering, if there is any kind of group validator.
>
> I have fields which are not required unless one of them is filled.
>
> What is the best way to implement this? Can anybody give me some
> example of how to validate a group in symfony 1.1?
>
Hi there !
I just want to submit a form with ajax, so basicaly, I do :
'stats',
'url' => $action_url,
'script' => true
)) ?>
If I put a value on the input field, and click submit, this does work
like a charm.
BUT, the action result is a template containing the form again, with
submit
Hi Joshua,
the logs don't include stacktraces, but when you're browsing in dev
mode you should get a stacktrace, no?
Have a great day,
Daniel
On Mar 3, 12:27 am, naholyr wrote:
> Maybe because your class has a primary key named another way than
> "Id".
>
> On 3 mar, 04:10, Joshua wrote:
>
>
You can override backend login application to simply redirect any
request to frontend application and put all logic there, i.e. let it
make decision on who is logged in and were redirect him to.
Cross application links would be helpfull also.
On Tue, 2009-03-03 at 12:00 +0100, Tomasz Ignatiuk
Hi!
I am using symfony 1.0. Now i am doing flash file upload. I cant send
some files to server, what is the problem?
Here is the simple upload form.
40,
'type' => 'file')) ?>
Here is the action update
$gallery = new Gallery();
$gallery->setFlash($this->getRequest()->getFileName('flash'));
It is probably best to store the names as is for the reasons mentioned. As
an example here in South Africa we also have people with "van" in their last
names, but also have multiple joined names with dashes seperating and some
where first names are only upper cased on the second letter etc. There a
David Herrmann wrote:
> Lee Bolding schrieb:
>> Simple question, for a rather trivial piece of functionality, but it's
>> all in the details...
>>
>> How do you store peoples names in the database?
>>
>> As in, do you upper/lower case firstname and lastname or ucfirst etc?
>> why?
>
> No, i d
You could just leave them as the user entered them but ask the user on
the form to enter his/her name as he would like it to be displayed.
David Herrmann wrote:
> Lee Bolding schrieb:
>> Simple question, for a rather trivial piece of functionality, but it's
>> all in the details...
>>
>> How d
Lee Bolding schrieb:
> Simple question, for a rather trivial piece of functionality, but it's
> all in the details...
>
> How do you store peoples names in the database?
>
> As in, do you upper/lower case firstname and lastname or ucfirst etc?
> why?
No, i don't do any modifications of name
Simple question, for a rather trivial piece of functionality, but it's
all in the details...
How do you store peoples names in the database?
As in, do you upper/lower case firstname and lastname or ucfirst etc?
why?
Usually, I leave it however the user has formatted it when they
entered i
Hello i done this script :
get('region'),
'getRegionId', array (
'related_class' => 'AnnonceRegion',
'control_name' => 'region',
'peer_method'=> 'getRegionWithoutIndex',
'class' => 'input_text',
'include_custom' => 'Sélecti
OK, but when I add authentication (Security on) I cannot define an
application. It uses own application. So when session is gone it want
redirect me to loginapp but to frontend/backend.
2009/3/3 David Herrmann
>
> Tomasz Ignatiuk wrote:
> > I don't get it...But witch action should be targeted in
Tomasz Ignatiuk wrote:
> I don't get it...But witch action should be targeted in form? To
> backend, or to frontend?
I think this depends on your personal taste. But if don't like either
solutions why not create a third application (besides frontend and
backend), e.g. "loginapp", that handles o
I don't get it...But witch action should be targeted in form? To
backend, or to frontend?
On 2 Mar, 23:42, Gandalf wrote:
> set both app factories yml to use the same cookie and redirect to the
> appropriate controller?
>
> a quick and dirty solution is to redirect using the whole url of the
> b
Thanks a lot, it's works well
Olivier
_
From: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com]
On Behalf Of Thomas Rabaix
Sent: Tuesday, March 03, 2009 8:46 AM
To: symfony-users@googlegroups.com
Subject: [symfony-users] Re: sf1.2.4 - problem of < headers al
Okk...
What about 1.0? :|
On Mar 3, 1:25 pm, naholyr wrote:
> I'm not sure you can override core-helpers.
>
> I worked (for Symfony 1.2) on a way to write helpers as classes and
> not as functions, allowing inheritance, and a way to "overclass"
> helpers (basically, it says "when you want to lo
Maybe because your class has a primary key named another way than
"Id".
On 3 mar, 04:10, Joshua wrote:
> one of my actions.classes generates the following error
>
> Call to undefined method BaseWhatever::getId()
>
> Most symfony errors show up in the logs like this and I have no idea
> where it
I'm not sure you can override core-helpers.
I worked (for Symfony 1.2) on a way to write helpers as classes and
not as functions, allowing inheritance, and a way to "overclass"
helpers (basically, it says "when you want to load 'asset', please
load 'azzet' instead". This overclassing feature coul
42 matches
Mail list logo