[symfony-users] Drop down select boxes are not showing the current value

2009-03-09 Thread Lawrence Krubner
This is worrisome. I'm setting up a site to manage the teams in high school basketball tournament in Florida. I've got two database tables: new_game: _attributes: { idMethod: native } id: { type: INTEGER, required: true, autoIncrement: true, primaryKey: true } location: { type: INTE

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-08 Thread Lawrence Krubner
On Mar 8, 6:46 am, Lee Bolding wrote: > On 8 Mar 2009, at 04:52, Lawrence Krubner wrote: > > > I didn't want to hard code the path, so I moved it to view.yml: > > > all: > >  javascripts: > >    - /bocahoops/web/js/jquery/jquery-1.3.1.js > > Th

[symfony-users] Re: form won't work, no error messages, what do I do?

2009-03-08 Thread Lawrence Krubner
On Mar 8, 8:56 pm, Lawrence Krubner wrote: > I must have done something to damage one of my editSuccess forms (for > my NewNews module), since I'm no longer able to create new entries, > nor can I edit old entries. No errors are appearing either. > > What do I do? This is

[symfony-users] form won't work, no error messages, what do I do?

2009-03-08 Thread Lawrence Krubner
I must have done something to damage one of my editSuccess forms (for my NewNews module), since I'm no longer able to create new entries, nor can I edit old entries. No errors are appearing either. What do I do? --~--~-~--~~~---~--~~ You received this message beca

[symfony-users] Re: how to I override the core symfony code?

2009-03-08 Thread Lawrence Krubner
On Mar 8, 7:59 am, Leon van der Ree wrote: > Instead of using print_r/var_dump which can be usefull in many > situations, it probably is wiser to learn to use a debugger (xdebug). > With Eclipse you can set breakpoints in your code. Wben you request a > page in your application, eclipse will st

[symfony-users] how to I override the core symfony code?

2009-03-08 Thread Lawrence Krubner
I'd like to learn more about sfForm and sfFormPropel. For me, that means putting print_r() in the code in various places, and changing the code, breaking things to see how it all fits together. I'd like to do this for one test project, without endangering the other projects that are on the same

[symfony-users] Re: Symfony Production Performance improvements

2009-03-07 Thread Lawrence Krubner
On Mar 8, 3:26 am, Gareth McCumskey wrote: > We had a speed increase because we had a lot of text searches in the old > system, all going through text fields where the same values were repeated > over and over. Its therefore a lot faster to search a much smaller table, > where the text fields a

[symfony-users] where can I find the complete list of options allowed form inputs?

2009-03-07 Thread Lawrence Krubner
I wanted to set a default value for a hidden input. I'm using symfony 1.1, so I can't use setDefault(), as it was only introduced in 1.2. To learn more about sfWidgetFormInputHidden, I look here: http://trac.symfony-project.org/browser/branches/1.1/lib/widget/sfWidgetFormInputHidden.class.php

[symfony-users] Re: Symfony Production Performance improvements

2009-03-07 Thread Lawrence Krubner
On Mar 7, 2:06 am, Gareth McCumskey wrote: > Greetings all, > > We have recently released a project we have been working on for some months > now as an Alpha version and while we have focussed primarily on bug fixing > as well as feature completion for the next Alpha release coming up in a > we

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-07 Thread Lawrence Krubner
On Mar 7, 1:16 am, Ant Cunningham wrote: > layout.php is just a wrapper for the the template and contains the > section of the html, so all things that are added to the head are > actually added to layout.php by the include_metas() call. so if in > apps/applicationname/config/view.yml you do:

[symfony-users] Re: a plugin to generate Google Sitemaps

2009-03-07 Thread Lawrence Krubner
On Mar 7, 8:42 pm, Sid Bachtiar wrote: > I'm looking for it too, to be integrated with sfSimpleBlogPlugin. I > don't think there is one at the moment. > > On Sun, Mar 8, 2009 at 2:38 PM, LawrenceKrubner wrote: > > > I haven't been able to find a plugin that generates a Google Sitemap. > > (or r

[symfony-users] a plugin to generate Google Sitemaps

2009-03-07 Thread Lawrence Krubner
I haven't been able to find a plugin that generates a Google Sitemap. (or rather, sitemap for those search engines that use the format developed by Google). Is there one? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-06 Thread Lawrence Krubner
On Mar 4, 6:51 am, Paolo Mainardi wrote: > RTFM:http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chap... > So, perhaps this is impossible? > On Wed, Mar 4, 2009 at 12:45 PM, Lawrence Krubner > wrote: > > > > > > > On Mar

[symfony-users] Re: In the Base model classes, what does alreadyInSave accomplish?

2009-03-06 Thread Lawrence Krubner
On Mar 2, 12:38 pm, vadim wrote: > It's a variable showing that the save/update operation already started > for this object, so it prevents an implementation of other insert/ > update operations until the current one is over. When the operation > starts - alreadyInSave is turned to true. When i

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-06 Thread Lawrence Krubner
On Mar 4, 6:51 am, Paolo Mainardi wrote: > RTFM:http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chap... Just to be clear, I'm asking about the layout, not the template. The page you point me to shows me how to get my Javascript files into my template. But I'm wondering if ther

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-06 Thread Lawrence Krubner
On Mar 4, 6:51 am, Paolo Mainardi wrote: > RTFM:http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chap... > Does the standard Javascript helper work in these circumstances? Like this: > On Wed, Mar 4, 2009 at 12:45 PM, Lawrence Krubner > wrote: > >

[symfony-users] Re: Hit counter?

2009-03-06 Thread Lawrence Krubner
On Mar 6, 7:19 pm, Sid Bachtiar wrote: > Hi, > > I just tried out sfSimpleBlogPlugin and it's awesome. But it is > missing a hit counter to analyse the traffic (even really simple one). > What do you guys use for hit counter for your Symfony projects? I'm > just surprised there isn't a plugin f

[symfony-users] Re: how do I set a default value for a hidden input?

2009-03-06 Thread Lawrence Krubner
27;t work. The "setDefault" method is only available in symfony 1.2. I'm trying to figure out how to do this in symfony 1.1.7 > > On Fri, Mar 6, 2009 at 1:16 PM, Lawrence Krubner > wrote: > > > > > I've tried this: > > >   $this->

[symfony-users] Re: how do I set a default value for a hidden input?

2009-03-06 Thread Lawrence Krubner
for this example? I'd like to see more background information. > Cheers, Alan Gabriel Bem > > On Fri, Mar 6, 2009 at 1:16 PM, Lawrence Krubner > wrote: > > > > > I've tried this: > > >   $this->widgetSchema['date'] = new sfWidgetForm

[symfony-users] Re: how do I set a default value for a hidden input?

2009-03-06 Thread Lawrence Krubner
On Mar 6, 7:16 am, Lawrence Krubner wrote: > I've tried this: > >    $this->widgetSchema['date'] = new sfWidgetFormInputHidden(); >    $this->widgetSchema['date']->setDefault(date("Y-m-d h:m:i")); > > but I get this error: >

[symfony-users] how do I set a default value for a hidden input?

2009-03-06 Thread Lawrence Krubner
I've tried this: $this->widgetSchema['date'] = new sfWidgetFormInputHidden(); $this->widgetSchema['date']->setDefault(date("Y-m-d h:m:i")); but I get this error: Fatal error: Call to undefined method sfWidgetFormInputHidden::setDefault() in /h

[symfony-users] Re: What is a legacy error? as related to security?

2009-03-06 Thread Lawrence Krubner
On Mar 6, 4:59 am, Lee Bolding wrote: > On 6 Mar 2009, at 02:59, Lawrence Krubner wrote: > > > Okay, I sort of see what is going on now. > > > When the login page is done loading, the sfErrorHandler plugin > > attempts to send a 500 response and then send an error.

[symfony-users] why do I need to clear the cache when I'm looking at the dev controller? Isn't caching off by default?

2009-03-06 Thread Lawrence Krubner
I'm working on a new site. It is in development. When I look at it in the browser, I'm always looking at the dev controller. Everytime I add a plugin, or new models, I need to run this command: php symfony cc Why do I need to do this? I thought caching was off by default for the dev controller?

[symfony-users] Re: i can not login, using the simple, built in security that Symfony has be default

2009-03-06 Thread Lawrence Krubner
odule, but that had no effect. > > On Fri, Mar 6, 2009 at 7:59 PM, Lawrence Krubner > wrote: > > > Check out this screenshot: > > >http://lawrence.sds5.com/no_login.gif > > > I find this odd. I've got a module I want to lock down to people who > >

[symfony-users] i can not login, using the simple, built in security that Symfony has be default

2009-03-05 Thread Lawrence Krubner
Check out this screenshot: http://lawrence.sds5.com/no_login.gif I find this odd. I've got a module I want to lock down to people who are logged in. I've got this in the module's config/security.yml: read: is_secure: on update: is_secure: on delete: is_secure: on edit: is_secur

Re: Re : Re : [symfony-users] Re: Which version of symfony use?

2009-03-05 Thread Lawrence Krubner
On Mar 5, 4:46 pm, lmdes wrote: > i've used symfony 1.0 and 1.1, but not symfony 1.2. If i install > symfony 1.2, is it compatible with features of previous versions? I > mean, can I install symfony 1.2 and use some features of previous > versions and some features of symfony 1.2? I did this us

[symfony-users] Re: sf 1.2: is all the documentation about the admin generator wrong?

2009-03-05 Thread Lawrence Krubner
On Mar 5, 7:50 pm, "ganda...@gmail.com" wrote: > Hello all! > > Last time I wrote about this nobody answered, I assumed that I asked > the dumbest question ever, now after 1h googling I had to ask again, > is all the documentation about the admin generator wrong? > > the type: is being ignored

[symfony-users] Re: What is a legacy error? as related to security?

2009-03-05 Thread Lawrence Krubner
On Mar 5, 9:53 pm, Lawrence Krubner wrote: > On Mar 5, 8:30 pm, Lawrence Krubner wrote: > > > > > Check out this screenshot: > > >http://lawrence.sds5.com/security_error.gif > > > I just turned on security for this module, and suddenly I get this, >

[symfony-users] Re: What is a legacy error? as related to security?

2009-03-05 Thread Lawrence Krubner
On Mar 5, 8:30 pm, Lawrence Krubner wrote: > Check out this screenshot: > > http://lawrence.sds5.com/security_error.gif > > I just turned on security for this module, and suddenly I get this, > which you can see in the screenshot: > > Fatal error: Uncaught exception

[symfony-users] What is a legacy error? as related to security?

2009-03-05 Thread Lawrence Krubner
...', 76, Array) #1 /usr/share/ php/symfony/exception/sfException.class.php(76): header('HTTP/1.0 500 In...') #2 /usr/share/php/symfony/controller/ sfFrontWebController.class.php(57): sfException->printStackTrace() #3 / usr/share/php/symfony/util/sfContext.class.php(164): sfFrontWe

[symfony-users] Re: I can not get sfWidgetFormTextareaTinyMCE to work, even when I copy the examples straight from the Symfony website

2009-03-04 Thread Lawrence Krubner
On Mar 4, 4:51 am, Garakkio wrote: > My humble opinion: it's better to use directly javascript to get > tinyMCE working. > So, simple add a "class="rich"" to yout textarea and write (and > include it in your page, of course) a js like this one: > > tinyMCE.init({ >   theme : "advanced", >   mod

[symfony-users] Re: I can not get sfWidgetFormTextareaTinyMCE to work, even when I copy the examples straight from the Symfony website

2009-03-04 Thread Lawrence Krubner
On Mar 4, 4:51 am, Garakkio wrote: > My humble opinion: it's better to use directly javascript to get > tinyMCE working. > So, simple add a "class="rich"" to yout textarea and write (and > include it in your page, of course) a js like this one: > > tinyMCE.init({ >   theme : "advanced", >   mod

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-04 Thread Lawrence Krubner
On Mar 4, 5:50 am, Thomas Rabaix wrote: > view.yml > > all: >   javascript: >     - file1 >     - file2 > Thomas, pardon my ignorance, but how does this work? I put the full path in view.yml? Like this: all: javascript: - /bocahoops/js/jquery/jquery-1.3.1.js - /bocahoops/js/jquery/j

[symfony-users] Re: How do you efficiently build object graphs

2009-03-03 Thread Lawrence Krubner
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

[symfony-users] Re: How do you efficiently build object graphs

2009-03-03 Thread Lawrence Krubner
> 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

[symfony-users] Re: I can not get sfWidgetFormTextareaTinyMCE to work, even when I copy the examples straight from the Symfony website

2009-03-03 Thread Lawrence Krubner
?> I still get: [InvalidArgumentException] You must pass a "class" attribute for a TinyMCE widget (new_news [description]). On Mar 3, 11:58 pm, Lawrence Krubner wrote: > This page has some useful documentation: > > http://www.symfony-project.org

[symfony-users] Re: I can not get sfWidgetFormTextareaTinyMCE to work, even when I copy the examples straight from the Symfony website

2009-03-03 Thread Lawrence Krubner
reaTinyMCE->render('new_news[description]', 'Davy Johnson, now a Junior, shows great promise. ', array(), null) It clearly shows the second array as empty, even though my code clearly shows that I've added the class to the second array. What am I getting wrong here? --

[symfony-users] I can not get sfWidgetFormTextareaTinyMCE to work, even when I copy the examples straight from the Symfony website

2009-03-03 Thread Lawrence Krubner
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_

[symfony-users] Re: what is the best way to enable JQuery in Symfony?

2009-03-03 Thread Lawrence Krubner
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

[symfony-users] Re: How does one activate the Rich Date widget?

2009-03-03 Thread Lawrence Krubner
do I need to do to get the formatting correct? -- lawrence 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... > >

[symfony-users] what is the best way to enable JQuery in Symfony?

2009-03-03 Thread Lawrence Krubner
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

[symfony-users] Re: How does one activate the Rich Date widget?

2009-03-03 Thread Lawrence Krubner
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... >

[symfony-users] Re: Most developed CMS plugin using doctrine?

2009-03-03 Thread Lawrence Krubner
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

[symfony-users] How does one activate the Rich Date widget?

2009-03-03 Thread Lawrence Krubner
'date'] = new sfWidgetFormJQueryDate(); No effect. What else do I have to do? -- lawrence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-user

[symfony-users] I am unable to install sfErrorHandlerPlugin

2009-03-02 Thread Lawrence Krubner
: enabled_modules: [sfMediaLibrary, default, sfErrorHandler] I then tried to rebuild the cache: php symfony cc I got this error: Failed to write cache file "/home/lawrence/public_html/bocahoops/cache/ frontend/dev/config/config_settings.yml.php" generated from configuration file "conf

[symfony-users] Re: Symfony Deployment

2009-03-01 Thread Lawrence Krubner
Are the creators of Symfony still working on pake? I think they were thinking that pake would become the build tool that everyone used to deploy Symfony projects. Consider this article: "How to deploy PHP sites with the Pake build tool" http://morethanseven.net/2008/01/07/how-to-deploy-php-sites-

[symfony-users] In the Base model classes, what does alreadyInSave accomplish?

2009-03-01 Thread Lawrence Krubner
I'm examining some auto-generated code in the Base class of one of my model classes. I'm curious about the line with the $this- >alreadyInSave. It is first set to true, and then later it is set to false. As near as I can see, it is always set to true, and then false. What is the point of this? If

[symfony-users] Re: how to set the date for sfWidgetFormDateTime?

2009-02-28 Thread Lawrence Krubner
I also tried this: $dateWidget =new sfWidgetFormDateTime(); $dateWidget->setDefault(date('Y/m/d H:m')); Again, the same fatal error. On Feb 28, 7:23 am, Tomasz Ignatiuk wrote: > Try to use setDefault method. I had the same problem. > > On 28 Lut, 10:02, L

[symfony-users] Re: how to set the date for sfWidgetFormDateTime?

2009-02-28 Thread Lawrence Krubner
Tomasz, I tried this: $this->widgetSchema['date']->setDefault(date('Y/m/d H:m')); but got this: Fatal error: Call to undefined method sfWidgetFormDateTime::setDefault () in /home/lawrence/public_html/bocahoops/lib/form/ NewNewsForm.class.php on line 38

[symfony-users] Re: how to set the date for sfWidgetFormDateTime?

2009-02-28 Thread Lawrence Krubner
fWidget.class.php line 43 ... // check option names if ($diff = array_diff(array_keys($options), array_merge(array_keys ($this->options), $this->requiredOptions)) { throw new InvalidArgumentException(sprintf('%s does not support the following options: \'%s\'

[symfony-users] how to set the date for sfWidgetFormDateTime?

2009-02-28 Thread Lawrence Krubner
How do I set a default value for sfWidgetFormDateTime? I looked here: http://www.tig12.net/downloads/apidocs/symfony/widget/sfWidgetFormDateTime.class.html Which made me think I could get away with this: $this->widgetSchema['date']->setAttribute('time', time()); But apparently that doesn

[symfony-users] Re: there is no default values for auto-generated checkboxes

2009-02-28 Thread Lawrence Krubner
gumentException(sprintf('%s does not support the following options: \'%s\'.', get_class($this), implode('\', \'', $diff))); } On Feb 28, 3:09 am, Lawrence Krubner wrote: > This is crazy: > >   id="comments" /> > > That's the H

[symfony-users] there is no default values for auto-generated checkboxes

2009-02-28 Thread Lawrence Krubner
This is crazy: That's the HTML being generated by this: 'active' => new sfWidgetFormInputCheckbox(), There is no value in this checkbox so nothing gets sent to the server. Shouldn't there be some default value? I think "1" would be a good default. --~--~-~--~~~

[symfony-users] Re: Widget Error: sfForm->offsetGet is throwing an error getting my form field named "title". Why?

2009-02-27 Thread Lawrence Krubner
} What this means is that the widget "title" has not been set in the form class. So so a problem comes up when Symfony tries to load the template editSuccess.php (in the module newnews) and encounters this line: renderLabel() ?> I post this as a warning f

[symfony-users] Re: a blank white screen

2009-02-27 Thread Lawrence Krubner
t; email to the developer/admin. > > >> On Sat, Feb 28, 2009 at 1:28 PM, Lee Bolding wrote: > > >>> Or, install sfErrorHandlerPlugin > > >>>http://www.symfony-project.org/plugins/sfErrorHandlerPlugin > > >>> :) > > >>> On 28 Feb 2009

[symfony-users] Re: how do I enable more than one plugin?

2009-02-27 Thread Lawrence Krubner
On Feb 27, 1:15 pm, Eno wrote: > On Thu, 26 Feb 2009, Lawrence Krubner wrote: > > What could it be? Where should I start to look? > > Look at your symfony or Apache logs. > Thanks. The error messages are somewhat cryptic. There was a mention of an exception being trigg

[symfony-users] a blank white screen

2009-02-27 Thread Lawrence Krubner
What a mess. I post this as a warning for others. I did something that caused Symfony to crash. It might have been a change to a yaml file. I ended up facing a pure white screen. No error messages. I was looking at the development controller. Nothing. I got an earlier version of my yaml file ou

[symfony-users] Re: If I get a error when rebuilding the model, does it mean that I wrecked schema.yml?

2009-02-27 Thread Lawrence Krubner
essages are useless. --- lawrence > On 2/27/09, Lawrence Krubner wrote: > > > > > Okay, I got an older version of schema.yml out of Subversion and > > rebuilt the model with that, and everything went fine. > > > Here is the change I made that crashed the fil

[symfony-users] Re: N - M relationships and symfony forms (Propel)

2009-02-26 Thread Lawrence Krubner
On Feb 21, 4:28 pm, Paolo Mainardi wrote: > On Sat, Feb 21, 2009 at 10:16 PM, Lawrence Krubner > wrote: > > > > >  > I inspected the generated forms for this example and they don't seem > >  > to > >  > include any many-to-many funcion

[symfony-users] Re: If I get a error when rebuilding the model, does it mean that I wrecked schema.yml?

2009-02-26 Thread Lawrence Krubner
e, default: '' } and changed it to this: active: { type: BOOLEAN, required: true, default: '' } Why would this cause a crash? -- lawrence On Feb 27, 12:29 am, Lawrence Krubner wrote: > I made some changes to schema.yml. Then I ran this command: > > php symfony

[symfony-users] Re: how do I enable more than one plugin?

2009-02-26 Thread Lawrence Krubner
On Feb 26, 2:12 am, Colin Williams wrote: > Hi Lawrence, > > Are you using a development controller, or production controller? If > production, try the dev controller, it should give you more information. If > you're already using the dev controller, make sure that you

[symfony-users] If I get a error when rebuilding the model, does it mean that I wrecked schema.yml?

2009-02-26 Thread Lawrence Krubner
I made some changes to schema.yml. Then I ran this command: php symfony propel:build-model And I got these errors: [PHP Error] DOMDocument::load(): error parsing attribute name in /home/ lawrence/public_html/bocahoops/config/generated-schema.xml, line: 41 [line 407 of /usr/share/php/symfony

[symfony-users] Re: Symfony Deployment

2009-02-25 Thread Lawrence Krubner
We use Springloops for our hosted Subversion, and it has a very nice deploy feature. You can log in and deploy any version number of your site to a dev server or a staging server or a production server - as many servers as you actually have, you can record the deploy info there, and then deploy t

[symfony-users] Re: how do I enable more than one plugin?

2009-02-25 Thread Lawrence Krubner
m still getting a blank white screen. I assume there is nothing wrong with my yaml file? -- lawrence > On Thu, Feb 26, 2009 at 1:32 AM, Lawrence Krubner > wrote: > > > > > I am looking at the README section here: > > >http://www.symfony-project.org/plugins

[symfony-users] Re: how do I enable more than one plugin?

2009-02-25 Thread Lawrence Krubner
arated list inside of square brackets.  The > parenthesis should not be there. > > So, for example: > all: >   .settings: >     enabled_modules:       [sfMediaLibrary, default, sfOtherPluginModule] > > --Colin > > On Thu, Feb 26, 2009 at 1:32 AM, Lawrence Krubner >

[symfony-users] how do I enable more than one plugin?

2009-02-25 Thread Lawrence Krubner
I am looking at the README section here: http://www.symfony-project.org/plugins/sfMediaLibraryPlugin I see these 5 lines: Enable the new module in your application, via the settings.yml file. // in myproject/apps/frontend/config/settings.yml all: .settings: enabled_modules:[sfMed

[symfony-users] Widget Error: sfForm->offsetGet is throwing an error getting my form field named "title". Why?

2009-02-25 Thread Lawrence Krubner
Label () ?> 21. 22. renderError() ? > 23. * at require('/home/lawrence/public_html/bocahoops/apps/frontend/ modules/newnews/templates/editSuccess.php') in SF_SYMFONY_LIB_DIR/view/sfPHPView.class.php

[symfony-users] Re: extending doctrine schema with SQL views

2009-02-21 Thread Lawrence Krubner
ll script and call it from the command line? That's really all that the above mentioned propel or doctrine commands do. It would take you, what, 5 minutes to write your own script? --- lawrence > > > > 2009/2/17 David Herrmann > >> Damien Lepage schrieb: &g

[symfony-users] Re: Could Symfony be easier to use?

2009-02-21 Thread Lawrence Krubner
me of the functionality of a framework with pre-existing code, and for those situations, something lighter weight, with less assumptions, is better. --- lawrence krubner > On 17 Feb 2009, at 22:18, Lawrence Krubner wrote: > >> I have to disagree with Alexandru-Emil Lu

[symfony-users] Re: Full documentation functionality.

2009-02-21 Thread Lawrence Krubner
rt slowly. --- lawrence krubner Fabien Potencier wrote: > Have you read the description from "the definitive guide to symfony" for > example? > > http://www.symfony-project.org/book/1_2/08-Inside-the-Model-Layer#chapter_08_sub_object_and_peer_classes > > Or the de

[symfony-users] Re: Full documentation functionality.

2009-02-21 Thread Lawrence Krubner
Developing better documentation - isn't that what people are doing, on their weblogs and forums? Search Google for "symfony" plus whatever subjected you are interested in ("embedded forms" or "form choices" or "sql") and you find a lot of material. The official site has every form of document

[symfony-users] Re: Multiple File Uploads

2009-02-21 Thread Lawrence Krubner
juro wrote: > I have tried that. $_POST has all the data (also the filenames) but > $_FILES is empty. > > Any ideas, why? Is your form set to be multi-part? > On Feb 16, 10:24 am, Lupu Alexandru-Emil wrote: >> personally i would do a >> print_r($_POST); >> print_r($_FILES); >> d

[symfony-users] Re: How to display the data from a Join query?

2009-02-21 Thread Lawrence Krubner
>> I solved the problem. There was no problem in the schema. >> Actually to access the fields from a joined table, I did not know I >> had to use the following syntax >> $item -> Table2[0] -> table2Field Interesting. Where is this documented? Where did you find this info? Alexandru-E

[symfony-users] Re: CSRF tokens and attacks

2009-02-21 Thread Lawrence Krubner
ng to a user who is logged in? (Unless you have foolishly allowed outside attackers to embed Javascript directly into your templates, in which case you've some serious architectural issues that you need to fix.) --- lawrence krubner Hassen Ben Tanfous wrote: > Hi, > I sta

[symfony-users] Re: N - M relationships and symfony forms (Propel)

2009-02-21 Thread Lawrence Krubner
too. For now I'm writing the SQL by hand, and creating the SELECT box by hand. Clumsy! --- lawrence Rytis Daugirdas wrote: > Hello, > > Does symfony handle N - M relationships in any way? For example: > > Category: > tableName: pp_category > column

[symfony-users] Re: Could Symfony be easier to use?

2009-02-17 Thread Lawrence Krubner
I have to disagree with Alexandru-Emil Lupu about adding certain plugins to the core. If anything, you want to be going the other way - removing stuff from the core and moving it out to a plugin. If you add stuff to core, then eventually folks will feel the need to fork Symfony, for the same reas

[symfony-users] how to get multiple options into a select in a form in symfony 1.1?

2009-02-16 Thread Lawrence Krubner
For Symfony 1.2, this is a great article: http://www.symfony-project.org/cookbook/1_2/en/make-a-choice How to implement a choice in a form? But I need to know how to do this in Symfony 1.1. I've a model that looks like this: new_coach: _attributes: { idMethod: native } id: { type: I

[symfony-users] Re: debug error: Fatal error: Allowed memory size of 134217728 bytes exhausted

2009-02-15 Thread Lawrence Krubner
n phpMyAdmin, it correctly gets the values for this entry. On Feb 16, 1:31 am, Lawrence Krubner wrote: > I am getting an intermittent error. I'm having trouble debugging it, > because it is intermittent. Sometimes it manifests as a fatal error > due to the maximum amount

[symfony-users] debug error: Fatal error: Allowed memory size of 134217728 bytes exhausted

2009-02-15 Thread Lawrence Krubner
type: CHAR, size: '1', required: true, default: F } IsSponsor: { type: CHAR, size: '1', required: true, default: F } new_player_id: { type: INTEGER, required: true, default: '' } new_location_id: { type: INTEGER, required: true, default: '' } As

<    1   2