[symfony-users] Validating rich text?

2009-01-05 Thread Sid Bachtiar
Hi all, When using rich text input, is there a validator that makes sure the html tags used are only those enabled? Regards, Sid --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to th

[symfony-users] Re: Admin generator filters in sf 1.2

2009-01-05 Thread gestadieu
Maybe I can formulate in a simpler way: in sf1.0 to add complex filters in admin generator, we simply create the partial and extend the addFilterCriteria() method in the admin generator module. This allow us to filter with foreign keys or any kind of filtering as long as you can create the Propel

[symfony-users] Re: jobeet tutorial in pdf

2009-01-05 Thread Adrian Gould
Fabien I'm thinking of creating a full PDF for the Jobeet in English - have to work out how to do a few things like automate the index etc. using Acrobat Pro. Will keep everyone informed. Ady On 02/01/2009, at 07:35 , Fabien Marchewka wrote: > > Hi, > Anybody here know about a pdf version

[symfony-users] Re: DoctrinePlugin: how to find whether there is a relation.

2009-01-05 Thread Jonathan Wage
you could do: if ($this->Driver instanceof Driver && $this->Driver->exists()) { echo 'exists'; } On Mon, Jan 5, 2009 at 5:40 PM, juro wrote: > > Hi, > I have this schema: > > Car: > columns: >id: integer(4) >name: string(255) > relations: >Driver: > local: id > foreign

[symfony-users] DoctrinePlugin: how to find whether there is a relation.

2009-01-05 Thread juro
Hi, I have this schema: Car: columns: id: integer(4) name: string(255) relations: Driver: local: id foreign: car_id Driver: columns: id: integer(4) name: string(255) car_id: integer(4) relations: Car: local: car_id foreign: id >From in

[symfony-users] Login redirection trick?

2009-01-05 Thread Sid Bachtiar
Hi, Is there any setting in Symfony to redirect user after login to where they were going? For example if someone is trying to access a secure page 'message/inbox', he/she is redirected to 'access/login', then after successful login, I want to redirect him/her back to 'message/inbox'. At the mo

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Pablo Godel
Johannes, Safe mode really limits the features of PHP. Many things stop working. I would strongly recommend to look for a more robust solution, like a VPS. There are many companies that offer affordable basic VPS which will solve all your problems. Stop wasting your time with this. Regards, Pab

[symfony-users] Re: link single action file with template

2009-01-05 Thread Eno
On Jan 5, 3:35 am, "sharmishtha.gu...@gmail.com" wrote: > I am new to symfony and have confusion regarding the syntax. i want to > provide a link in a template file for single action. I created a file > in actions folder for single action. what will be the syntax. Its not > working with > > met

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Johannes Frandsen
I have tried to freeze my project several times with different versions of symfony but I have never gotten it to work. It always ends of with the script crashing... if i run it with my current version (1.1.6) it crashes with this error: symfony project:freeze /usr/share/php ... ... ...

Re: Re : [symfony-users] Re: Help : How do you extend the admin generator (doctrine one in sf1.2) ?

2009-01-05 Thread fredlab
I want to create my own admin gen. Whenever I upgrade my svn installation of symfony, I look for upgrades of the theme. Then Tortoise have an option to show you what are the differences. Then I can go and look for differences. Frédéric --~--~-~--~~~---~--~~ You rec

Re : [symfony-users] Re: Doctrine-crud crashes apache on ms XP/vista

2009-01-05 Thread Loïc Vernet
I also had this kind of problem with xampp in the past. (with other application than symfony) I am using wamp to now and no more problems ... De : Peter À : symfony users Envoyé le : Lundi, 5 Janvier 2009, 20h58mn 13s Objet : [symfony-users] Re: Doctrine-cru

Re : [symfony-users] Plugin repository should be more informative

2009-01-05 Thread Loïc Vernet
A big +1 Moreover it would be nice to flag official plugins maintained by Sensio. (sorry for the late answer... holydays... :) ) De : Yuretsz À : symfony-users@googlegroups.com Envoyé le : Jeudi, 18 Décembre 2008, 11h12mn 14s Objet : [symfony-users] Plugin re

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Lee Bolding
You can freeze your project then upload it. The problem is that you can't build your database from your models, or insert your fixtures without the cli. On 5 Jan 2009, at 20:15, Brandon Olivares wrote: > > Hi, > > How could you have dev on shared hosting without shell? It's not > possible.

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Brandon Olivares
Hi, How could you have dev on shared hosting without shell? It's not possible. I don't even know how you could set up symfony on your domain without shell. Usually you either have to create a symbolic link to web from the document root, or else modify the vhost to change the document root. You c

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Ward Loockx
Isn't there any way to build-propel when having prod/dev env. on same shared hosting ? Eno schreef: > On Jan 5, 1:24 pm, Ward Loockx wrote: > > >> I think it must be possible to build:propel on shared hosting the >> cmd line tool just calls a script I think? And isn't it possible to >> ex

[symfony-users] Re: Doctrine-crud crashes apache on ms XP/vista

2009-01-05 Thread Peter
Replaced xampp with wampserver and strangely enough, it works :-) --~--~-~--~~~---~--~~ 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 unsubscri

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Eno
On Jan 5, 1:24 pm, Ward Loockx wrote: > I think it must be possible to build:propel on shared hosting the > cmd line tool just calls a script I think? And isn't it possible to > execute something over ftp  ?? Just guessing but in theory I think it's > possible... Actually, you can build-pro

[symfony-users] Re: Best path for upgrading a doctrine-based symfony 1.1 admin console to 1.2?

2009-01-05 Thread David Brewer
Good idea: http://trac.symfony-project.org/ticket/5535 On Sat, Jan 3, 2009 at 5:35 PM, Jonathan Wage wrote: > That would be a decision for Fabien. Add a ticket seeing what he thinks? > > - Jon > > On Sun, Dec 28, 2008 at 2:38 AM, David Brewer > wrote: >> >> Jon, what I ended up doing to support

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Ward Loockx
I think it must be possible to build:propel on shared hosting the cmd line tool just calls a script I think? And isn't it possible to execute something over ftp ?? Just guessing but in theory I think it's possible... Johannes Frandsen schreef: > The funny thing is. that if the followin

[symfony-users] Re: Doctrine-crud crashes apache on ms XP/vista

2009-01-05 Thread Peter
Today I tried some more stuff. Using the CLI the 'symfony doctrine:build-all-reload' command is working. When i try to do it the other way around I get the error CLI stopped working. I tried these commands: symfony doctrine-build-schema symfony doctrine-dump-data Don't know what I'm doing wron

[symfony-users] Re: Doctrine_Validator_Exception: weird case

2009-01-05 Thread fredlab
Hi, I ran into similar problems with 1.2.2 dev recently and came up with that patch : http://trac.symfony-project.org/ticket/5523 Could you try it and tell us if it solves the problem ? Regards, Frédéric --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: a question about smarty plugin

2009-01-05 Thread Jesse
Asif, Make sure that the Symfony library is in your projects path. If it cant finder your symfony helpers then its because you dont have Symfony as part of your path. Jesse On Jan 5, 2:46 am, Asif wrote: >  i have installed the symfony version 1.2.1 on my server and also > Smarty Plugin --rele

[symfony-users] Re: Synfony with smarty

2009-01-05 Thread Jesse
Hi Saad, Im the current lead developer of the smarty plugin. I dont see your Symfony library path in that error which seems to be the problem. I have symfony installed as an external under project root/lib/vendor/symfony the helper folder is project root/lib/vendor/symfony/lib/helper im lookin

[symfony-users] Doctrine-crud crashes apache on ms XP/vista

2009-01-05 Thread Peter
Hi all, I'm having some problems using doctrine. Building the schema/model and using fixtures all went well. Next i created a backend app and generated some doctrine cruds into it. When I went to check it out on my local xampp (1.7.0) install, apache stopped working. This is the error I got: Ap

[symfony-users] Re: Doctrine error "There is no open connection"

2009-01-05 Thread Lee Bolding
If anybody is interested I've solved this one... If you don't have an "all" config in your database.yml (or if Symfony is unable to determine your environment) you get this error. I fixed it by temporarily switching my "dev" environment config to "all" On 30 Dec 2008, at 15:48, Lee Bolding

[symfony-users] issue with Jobeet translations

2009-01-05 Thread Garakkio
I've noticed that anchor names in Jobeet translations are always missing day's number. Example: http://www.symfony-project.org/jobeet/1_2/Propel/en/05#day_05_routing_in_actions_and_templates has an anchor named "day_05_routing_in_actions_and_templates", but its Italian translation has "day__il_ro

[symfony-users] Re: Howto get multiple users profiles in one query?

2009-01-05 Thread Ant Cunningham
Although its not incorporated directly we know that the rel. is 1-1. So you can still write a custom Peer method to hydrate both records using that as an example. As long as you use a method name(s) not currently used to generate something else you should be fine. Another thing you can do alth

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Johannes Frandsen
The funny thing is. that if the following lines is added to the vhost file: php_admin_flag safe_mode off php_admin_value open_basedir "/" php_admin_flag allow_url_fopen On The page works. But, somewhat understandingly, I will not be allowed to have these settings enable

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Fabian Lange
Hi, > Although you'll be able to deploy, you won't be able to build your > database from the command line, or clear your cache. You can clear the cache, just delete the cache directory using an FTP tool However you should have all the DB setup deployed from your dev machine as you can't run pr

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Lee Bolding
I don't think you can deploy to a prod server without SOMEBODY having shell access. Is it that YOU don't have access (and your SysAdmin does) or that it's a crappy webhost that doesn't offer shell access? Although you'll be able to deploy, you won't be able to build your database from the

[symfony-users] Howto get multiple users profiles in one query?

2009-01-05 Thread net2000...@gmail.com
Howto get multiple users profiles in one query? Sometimes I get list of users and then want to present their emails,birthday etc. If I understand symfony docs - every access to profile generate one database query (for example 50 users and 50 extra queries to Mysql) I found only that solution

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Brandon Olivares
Hi, You don't have shell access? That's definitely not something I would suggest. I can't give much of a suggestion besides to, well, get shell access. I wonder whether clear-cache does something else besides just deleting the contents of the cache directory, as otherwise you probably wouldn't ha

[symfony-users] Synfony with smarty

2009-01-05 Thread saad
Dearest all, 1) I m using symfony1.2.1 and i configured smarty plugin for 1.2 from this link http://www.symfony-project.org/plugins/sfSmartyPlugin symfony plugin:install sfSmartyPlugin --release=0.3.0 2) I did change in app.xml and paste these lines # default values all:

[symfony-users] a question about smarty plugin

2009-01-05 Thread Asif
i have installed the symfony version 1.2.1 on my server and also Smarty Plugin --release=0.2.3 for symfony but it is not working... i m facing some errors like "it is not able to load helper.php " from almost 10 paths..so plz help me that what is the problem regards --~--~-~--~~

[symfony-users] Re: Doctrine_Validator_Exception: weird case

2009-01-05 Thread juro
Thank you, Jose. I'll look into it. In the meantime, Jon has recommended switching off Doctrine's validation - I don't get the validation error anymore, but Doctrine is creating empty entries in the PaymentType table, although I am not creating any new records at all - not even referencing that t

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Johannes Frandsen
Im running 1.1.6 in my dev environment and my build script just copies the files from my pear installation in to the data, lib and web folder and changes the projectconfiguration file to point to the lib folder before uploading to the production server via ftp. I do not have access to the sh

[symfony-users] link single action file with template

2009-01-05 Thread sharmishtha.gu...@gmail.com
hey I am new to symfony and have confusion regarding the syntax. i want to provide a link in a template file for single action. I created a file in actions folder for single action. what will be the syntax. Its not working with but it works fine if the action is not in a single action file. th

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Johannes Frandsen
I have already done that still no dice. any other suggestions? Joe On 04/01/2009, at 23.58, Lee Bolding wrote: > > cache and log need to be 777 *recursively* > > chmod -R 777 cache > chmod -R 777 log > > That should fix it :) > > On 4 Jan 2009, at 19:02, Johannes Frandsen wrote: > >> >