[symfony-users] Re: how to install a symfony website

2009-10-05 Thread Eno
On Mon, 5 Oct 2009, Sid Bachtiar wrote: I was trying to look something more for non-developer. Let's say I developed a website then when I give the source code to my client (who isn't computer illiterate, but is not familiar with Symfony); at the moment I'll have to teach them a lot of

[symfony-users] Re: how to install a symfony website

2009-10-05 Thread Sid Bachtiar
Of course not. I'm talking about someone technical, who knows how to install the like of Wordpress, and other popular PHP, but not familiar with Symfony, nor want/need to learn development in Symfony. On Mon, Oct 5, 2009 at 7:54 PM, Eno symb...@gmail.com wrote: On Mon, 5 Oct 2009, Sid Bachtiar

[symfony-users] Re: how to install a symfony website

2009-10-05 Thread Gareth McCumskey
First, in your batches directory for your symfony write a batch script (in PHP even if you want) that will run all the necessary symfony commands needed, like symfony cc etc. Then make sure its all committed to SVN. I have found deploying to a server easier to do with SVN rather than rsync which

[symfony-users] Raising events in a form

2009-10-05 Thread rich_81
Hi all, Hope you can help with this - it's got me stumped! Using Symfony 1.2.9, I have a situation where I'm raising an event via the dispatcher, during the saving of a form - I have multiple embedded forms which need to raise the event upon each individual form's saving. I'm seeing this

[symfony-users] Re: About embed forms

2009-10-05 Thread elkrema
Hi Dennis, there is my schema: Feature: tableName: feature columns: id: type: integer(8) primary: true autoincrement: true name: type: string(255) notnull: true created_at: timestamp(25) updated_at: timestamp(25) relations: OpinionFeature:

[symfony-users] symfony Usergroup Cologne

2009-10-05 Thread Dennis Benkert
Hey everyone, for all those who haven't read it on the community list yet. I have created a mixxt community at http://symfony-usergroup-cologne.mixxt.de for organizing a symfony usergroup in the Cologne, Germany area. Everybody who wants to join us is very welcome (this includes people from

[symfony-users] Re: how to install a symfony website

2009-10-05 Thread Tom Boutell
This is true, but if you deploy with svn don't forget: RewriteRule (\.svn)/(.*?) - [F,L] In your .htaccess. You don't want people snooping in the .svn folders. On Oct 5, 3:06 am, Gareth McCumskey gmccums...@gmail.com wrote: First, in your batches directory for your symfony write a batch

[symfony-users] Re: how to install a symfony website

2009-10-05 Thread Gareth McCumskey
By default when we checkout from SVN the permissions don't allow access to anything. Running symfony project:permissions sets permissions correctly for everything thats needed, including leaving .svn folders inaccessible except for the user that checked out (root in our case), so that .htaccess

[symfony-users] Re: how to install a symfony website

2009-10-05 Thread david
svn export repPath should generate the structure without the .svn control folders/files. With 1.3 we have the installer option with generate:project - while it will require a rethink on how we deploy - could be more flexible/useful. It should be a more reliable approach - you'll be working

[symfony-users] How can I initiate cookie based session with session id passed in URL in first request ?

2009-10-05 Thread Łukasz Wojciechowski
Hi all Baiscally Im trying to force session handler to use session id passed in URL and create session cookie so that in next requests I won't have to pass session id again. I can get access to concrete session data by using known session id and if I pass it in URL like that:

[symfony-users] Doctrine identifying relationship (MySQL WB) problem

2009-10-05 Thread mbernasocchi
Hi, I'm developing my first symfony application and I used MySql workbench and the doctrine export plugin to do my data model. Now I'm finished modeling and if I let MySQL WB generate the DB there is no problem. If I export to a yaml file I get this (only the problematic small part of the model):

[symfony-users] Template in AJAX request

2009-10-05 Thread HAUSa
If I make an AJAX call, Symfony doesn't take the whole templates/ layout.php with it, only the indexSuccess.php. Is there a way to tell that also the layout has to be shown? I want a total AJAX refresh of the complete HTML. --~--~-~--~~~---~--~~ You received this

[symfony-users] Re: PHP Fatal error: Uncaught exception 'sfStopException'

2009-10-05 Thread ollietb
Hi Jake, Thanks for your input. I use $action-forward404Unless($condition) quite a few times in my application. I imagine the forward() is in that method. The strange this is that this error isn't logged in my local environment, so I'm wondering whether it is something to do with the php

[symfony-users] Plugin site down?

2009-10-05 Thread David Wang
tried to run 'plugin:install sfGuardPlugin', got this error: plugininstalling plugin sfGuardPlugin sfPearFrontendPlugin Could not download from sfPearFrontendPlugin http://plugins.symfony-project.org/get/sfGuardPlugin/sfGuardPlugin-3.1.3.tar sfPearFrontendPlugin (File

[symfony-users] Re: Doctrine Blamable Extension

2009-10-05 Thread Keri Henare
I believe that it's /lib/doctrine_extensions/Blameable See slide 101: http://www.slideshare.net/jwage/symfony-13-doctrine-12 On Oct 2, 1:40 am, david da...@inspiredthinking.co.uk wrote: I've used the other extensions there without problems. Create an lib\extensions\Blamable folder and then

[symfony-users] Re: I18n + doctrine + admin generator = Doctrine_Validator_Exception

2009-10-05 Thread openbcn
Hi Christopher, I've an issue with the i18n + admin generator + doctrine + forms I can't solve. This is my post: http://forum.symfony-project.org/index.php/t/23139/ I've been looking everywhere but I can't find the solution. Please, if you have any clue, let me know. Thanks in advance,

[symfony-users] Doctrine: is it possible to use RLIKE in a SELECT ?

2009-10-05 Thread fwh
Hi, I'm doing a SELECT where I do a MAX() on a field, but the values starting with 2 letters must have priority on other values. To achieve this, I do in pure SQL : SELECT *, MAX(CONCAT(field RLIKE '^[A-Za-z]{2}', field)) FROM table; Which works very well. Now, when I try this in doctrine :

[symfony-users] symfony 1.0.21 + sybase with ODBC

2009-10-05 Thread RRuiz
Hello, We're trying to connect symfony 1.0.X with sybase using ODBC but has been impossible to get that works. We have this configuration on database.yml: all: propel: class: sfPropelDatabase param: dsn: odbc://user:passw...@server:port/dsnName Is that

[symfony-users] Formatting Doctrine forms particularly embedForm

2009-10-05 Thread wiredcs
I'm looking for information on how to create custom form formatters (such as the default list or table). It's mentioned here that it would be included in Chapter 5 of this book but there is no Chapter 5: http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designers What I am trying to

[symfony-users] hello all

2009-10-05 Thread sagar sarvaiya
I have problem to save multi select data form combo into database with admin generator which is in the form of string means all values must be joint with comaa seperator. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Multiselect dropdown problem

2009-10-05 Thread iFlairEmp12 iFlairEmp12
I used following code to display multi-selected drop down box for country .. $this-widgetSchema['countries'] = new sfWidgetFormDoctrineChoice(array ( 'model' = 'Countries', 'multiple' = true, )); and now I want to save these multi-selected values in database by comma separated or in another

[symfony-users] Re: Global validation: Propel unique validator issue

2009-10-05 Thread wiredcs
Sounds like you just need to set that organization id manually in your save method with the one you are logged in as. I'd write you some code but I'm responding on my phone heh. On Oct 2, 11:22 am, yengama...@gmail.com yengama...@gmail.com wrote: BTW, a hidden input does the job, buy i have the

[symfony-users] Passing scoped arguments to constructor via get_service()

2009-10-05 Thread EJ Campbell
Hi, I've been very impressed with the Dependency Injection framework of symfony and the awesome documentation that accompanies it, so thanks for that. I do have a question regarding the sfServiceContainer::getService interface. Let's say I have a class that has the following constructor:

[symfony-users] sf1.0: Foreign Key oddities when dealing with a through-class and the Symfony Admin Generator

2009-10-05 Thread benlancaster
Hi, I'm having a few weird problems with a Symfony Admin Generator created module. In short, I have two main Models (Article and Page), and a many-to-many relationship managed with a through-class (ArticlePage). ArticlePage also has a boolean property to indicate whether or not the Article

[symfony-users] Re: Future of Symfony Selenium

2009-10-05 Thread Pablo Godel
I am one of those that thinks that re-inventing the wheel is not good unless there is a really good reason for it (doing it better is one of those). Selenium is a major piece of software that does an awesome job. It would be really hard to do what it does in symfony. Pablo On Thu, Oct 1, 2009

[symfony-users] environment specific service configuration for dependency injection

2009-10-05 Thread Bruno Reis
I´m looking at the symfony DI containers. I see I can import some definitions from another xml or yml. Is there a way import definitions based on actual environment? I need to have some specific configurations for my services that extends some general configuration. I want do define general

[symfony-users] Re: environment specific service configuration for dependency injection

2009-10-05 Thread noel guilbert
Hi, There is a pretty good example about this in the documentation (at the end of the capter) : http://components.symfony-project.org/dependency-injection/trunk/book/05-Service-Description On Mon, Oct 5, 2009 at 6:04 PM, Bruno Reis bruno.p.r...@gmail.com wrote: I´m looking at the symfony DI

[symfony-users] Re: Template in AJAX request

2009-10-05 Thread Richtermeister
Hey Hausa, if you replace the entire html, why not do a regular reload? The point of Ajax reloads is to load less than the whole page, otherwise there's no benefit. To answer your question though, have you tried $this - setLayout (layout); in the ajax action? Daniel On Oct 5, 7:12 am, HAUSa

[symfony-users] Re: environment specific service configuration for dependency injection

2009-10-05 Thread Bruno Reis
But that is the oposite of what I want. There you have specific env settings extending a common session setting. What I want is common setting extending specific environment ones. Thats is because I´ll have my core components in the env conf and these will have mocks. The specific confs wont have

[symfony-users] sfWidgetFormSchemaFormatter granularity

2009-10-05 Thread wiredcs
Is there any way to do more granular things than mentioned here: http://www.thatsquality.com/articles/7-days-of-symfony-1-1-forms-widgets-and-validators-day7 For instance, I would like to add an id to the embedded form. Something like: $decoratorFormat = div

[symfony-users] Re: sfWidgetFormSchemaFormatter granularity

2009-10-05 Thread wiredcs
Also... thinking more into the situation. It would be interesting to see a way to also implement wrapping input tags with the label thus removing the need for the for= attribute. ie: label class='this-field'input ../label On Oct 5, 3:12 pm, wiredcs wire...@gmail.com wrote: Is there any

[symfony-users] Re: About embed forms

2009-10-05 Thread Dennis
I got this off of a Fabien post, somewhere. If you look at it, it makes everything connect to the same parent record. It SHOULD save correctly. I am goin to try it in my project tonight. Let me know if it works for you. $user = new User(); $profile = new $user-Profile; $userForm = new

[symfony-users] Re: Template in AJAX request

2009-10-05 Thread DEEPAK BHATIA
I guess use form_remote_tag with the full page as the form On Mon, Oct 5, 2009 at 11:02 PM, Richtermeister nex...@gmail.com wrote: Hey Hausa, if you replace the entire html, why not do a regular reload? The point of Ajax reloads is to load less than the whole page, otherwise there's no