[symfony-users] Re: Unit/Functional test on plugin?

2007-10-23 Thread Marco Catunda
I've just put a snippet code in symfony page that I've been using to run all tests in plugins and apps. Perhaps it could be help someone... http://www.symfony-project.com/snippets/snippet/239 2007/10/22, Luciano A. Andrade <[EMAIL PROTECTED]>: > > You have two options or you set the test on yo

[symfony-users] Re: Symfony coders needed / symfony e-commerse module...

2007-10-23 Thread Frank Stelzer
What is the current state of this plugin? Is there any chance to contribute? I have to implement common shop functionality within the next days and do not want to reinvent the wheel. Please let me know, how you discuss this topic, beside this mailinglist. - Frank Am 04.10.2007 um 20:54 sch

[symfony-users] Re: sfGuard trailing slash problem

2007-10-23 Thread Ant Cunningham
Well mark that as solved. I did however have to go one step further. If I left the homepage route intact at the top of my rules it still did the nasty, but as soon as I added a route above that one with the module name hard coded like /mymodule/:action and added the entries to app.yml it worked. I

[symfony-users] Re: Propel performance patch

2007-10-23 Thread Kiril Angov
Perfect, thank you for taking the time to do it. Kupo Carsten Schumann wrote: > Hi Kiril, hi folks! > > I just finished my port of the nested set plugin to Propel 1.3. When > the patch is applied, the plugin shall work with Propel 1.2 and Propel > 1.3 since there is an automatic swich at the s

[symfony-users] Re: sfGuard trailing slash problem

2007-10-23 Thread me
Okay here's a solution that should work for ya... in your app.yml do something like this: all: sf_guard_plugin: success_signout_url: module/action That should do it for ya. I have tried it out and have no problems with the trailing slash. Also make sure you don't have some kind of rew

[symfony-users] Restrict access to records based on a foreign key

2007-10-23 Thread Erik Itland
Hi all I'm looking into making records from a table available only for specified users. Example schema: propel: organization: _attributes: { phpName: Organization } id: user: _attributes: { phpName: User } id: organization_id: name article: _attributes: { phpN

[symfony-users] Plugin branches and tags.

2007-10-23 Thread Jonathan Wage
Hey all, I know Ian(pookey) had brought up the naming convention we are to use for plugins branches and tags and I think using symfony-x.x.x can be misleading. In another thread Fabien mentioned we should use the exact same naming pattern that symfony uses, and I think we should do that. A plugin

[symfony-users] Re: Standards Complaint Form Validation

2007-10-23 Thread me
Have you taken a look at the sfFormValidationPlugin? (http://trac.symfony-project.com/wiki/sfFormValidationPlugin) Since it's all client side this may work out well for you because you won't have to redraw you entire page. - Keith On Oct 23, 12:16 pm, CaffeineInc <[EMAIL PROTECTED]> wrote: > Hi

[symfony-users] Standards Complaint Form Validation

2007-10-23 Thread CaffeineInc
Hi I'm a big fan of standards compliance, and have been working with Symfony to create a new Web application. I've already written my own prototypeal form validation / Ajax classes to help with form validation as the inbuilt Symfony AJAX functionality although quick for prototyping, isn't standar

[symfony-users] Standards Complaint Form Validation

2007-10-23 Thread CaffeineInc
Hi I'm a big fan of standards compliance, and have been working with Symfony to create a new Web application. I've already written my own prototypeal form validation / Ajax classes to help with form validation as the inbuilt Symfony AJAX functionality although quick for prototyping, isn't standar

[symfony-users] Re: Switching installation types

2007-10-23 Thread Ian P. Christian
drmikecrowe wrote: > How do I move my application from a PEAR installation to say a sandbox > install? I'd like to do this before I go live, if possible. > You can install symfony where you like, and edit config/config.php to suit your needs. I'm on IRC if that's unclear to you. -- Ian P. C

[symfony-users] Switching installation types

2007-10-23 Thread drmikecrowe
Hi folks, I initially installed Symfony as a pear plugin, but am now looking at migrating servers and such. I wish I hadn't installed this way. Ideally, I'd like everything in a single directory (sf_sandbox?). That way I can use version control to update and push to the destination machine. Ho

[symfony-users] Re: how to turn off, prototype include?

2007-10-23 Thread Luciano A. Andrade
if you whant to stop the helpers from loading prototype then the only solution is to rewrite the helpers (not very easy). Maybe you shuld load prototype the same way the helpers do sfContext::getInstance()->getResponse()->addJavascript(sfConfig::get('sf_prototype_web_dir').'/js/prototype'); thi

[symfony-users] Re: cross application routing with no_script_name:off

2007-10-23 Thread Allan Andal
Hi everyone, Thanks guys for all the inputs, it will be a big help. I'll try your suggestions later, though I already thought of customizing routing before... I need to re-sort priorities on the project (need to focus more on business process). I agree with Ian, beside decent URL, we can tempora

[symfony-users] Re: cross application routing with no_script_name:off

2007-10-23 Thread Ian P. Christian
Kiril Angov wrote: > Allan, > > You can create a file config/config_handlers.yml in every application > you want to share routes. In that file you put: > > config/routing.yml: > class:myCustomRoutingConfigHandler > > and then you need to implement that myCustomRoutingConfigHandler by >

[symfony-users] Re : [symfony-users] addSelectColumn and multiple mysql functions - FIX

2007-10-23 Thread Loïc Vernet
Here is the quick fix: http://propel.phpdb.org/trac/ticket/425 Quite surprising nobody noices this issue before. Chao. Coil :) - Message d'origine De : Loïc Vernet <[EMAIL PROTECTED]> À : symfony-users@googlegroups.com Envoyé le : Mardi, 23 Octobre 2007, 11h55mn 25s Objet : [symfony-u

[symfony-users] Re: cross application routing with no_script_name:off

2007-10-23 Thread Cipher Chien
Hi, Allan As Kiril's solution. but don't forget check .htaccess file in /web directory. Cipher On Oct 23, 4:08 pm, Allan Andal <[EMAIL PROTECTED]> wrote: > hi symfony users, > > is symfony's routing only works within the current application, i've > researching some techniques on providing links

[symfony-users] addSelectColumn and multiple mysql functions

2007-10-23 Thread Loïc Vernet
Hi ! I was wondering why this code works : $c->addSelectColumn('SUM('. ShopOrderPeer::PRICE. ')'); Whereas this one doesn't $c->addSelectColumn('ROUND(SUM('. ShopOrderPeer::PRICE. '),2)'); It seems that the FROM clause of the query is always broked when using more that o

[symfony-users] Re: cross application routing with no_script_name:off

2007-10-23 Thread Kiril Angov
Allan, You can create a file config/config_handlers.yml in every application you want to share routes. In that file you put: config/routing.yml: class:myCustomRoutingConfigHandler and then you need to implement that myCustomRoutingConfigHandler by looking at sfRoutingConfigHandler. You

[symfony-users] Re: Bad encoding with charset iso-8859-1

2007-10-23 Thread [EMAIL PROTECTED]
Thanks, I've done that, but the problem is with Prototype WINDOW, effectively, it does work in the entire application, except in the Prototype windows. On Oct 23, 9:43 am, Allan Andal <[EMAIL PROTECTED]> wrote: > im using prototype with bunch of special characters without problem. > > try this on

[symfony-users] Re: how to turn off, prototype include?

2007-10-23 Thread Thierry
Exactly, how do i stop those helpers from doing that? In the current situation im loading prototype from one location and symfony is loading it again, because of these helpers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[symfony-users] cross application routing with no_script_name:off

2007-10-23 Thread Allan Andal
hi symfony users, is symfony's routing only works within the current application, i've researching some techniques on providing links between symfony applications. any idea? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: Bad encoding with charset iso-8859-1

2007-10-23 Thread Allan Andal
im using prototype with bunch of special characters without problem. try this on you applications settings.yml all: .settings: charset: ISO-8859-1 hope this also works on your side. On Oct 23, 3:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > I'm developping a web site wit

[symfony-users] ASP model implementation on symfony

2007-10-23 Thread Allan Andal
Any suggestion on how to implement an on-demand model (application service provider) in symfony? Im developing an ERP application (hr, accounting, invoicing, warehousing/inventory and crm) using single database while hr, accounting, invoicing, warehousing/inventory and crm are defined as an appli

[symfony-users] Bad encoding with charset iso-8859-1

2007-10-23 Thread [EMAIL PROTECTED]
Hi, I'm developping a web site with Symfony framework, and I'm using Prototype Window. I have a little problem dealing with encoding charset. Indeed I use the iso-8859-1 charset, and it works in all my web pages, except in Prototype windows. In my modal boxes, I always have those ugly characters