Re: [symfony-users] Can't get app.yml working for me

2010-09-01 Thread Sid Bachtiar
Have you clear-cache? e.g.: ./symfony cc after the app.yml is updated? Or may be you mean to do: sfConfig::get('app_mbc_organisation_id'); On Thu, Sep 2, 2010 at 1:10 PM, Jochen Daum jdau...@gmail.com wrote: Hi, I have /config/app.yml: # You can find more information about this file on the

Re: [symfony-users] Re: Escape %2f in URL solution

2010-07-19 Thread Sid Bachtiar
You could always extract the variable manually from $_SERVER['REQUEST_URI'] On Tue, Jul 20, 2010 at 8:06 AM, Christian Schaefer cae...@gmail.com wrote: Hi Javier, I examined this for a short while and came to the conclusion that either you have to drop the requirement of having slashes in

[symfony-users] How to use template.filter_parameters event to change CSRF error message?

2010-07-14 Thread Sid Bachtiar
Hi, I would like to change the CSRF error message and someone (Kris W) pointed out that I should use template.filter_parameters event. Could Kris or someone please give me more clues? Thanks, Sid -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- If you want to report a

[symfony-users] Re: How to use template.filter_parameters event to change CSRF error message?

2010-07-14 Thread Sid Bachtiar
Never mind, I found the answer in http://www.symfony-project.org/more-with-symfony/1_4/en/14-Playing-with-Symfony-Config-Cache On Thu, Jul 15, 2010 at 10:40 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi, I would like to change the CSRF error message and someone (Kris W) pointed out that I

[symfony-users] Re: How to use template.filter_parameters event to change CSRF error message?

2010-07-14 Thread Sid Bachtiar
http://bluehorn.co.nz/2010/07/15/how-to-change-csrf-attack-message-in-symfony-1-2/ On Thu, Jul 15, 2010 at 11:25 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: Never mind, I found the answer in http://www.symfony-project.org/more-with-symfony/1_4/en/14-Playing-with-Symfony-Config-Cache On Thu

Re: [symfony-users] Re: why not host symfony1.4 on shared-hosting?

2010-05-29 Thread Sid Bachtiar
10 Euro or 10 USD? The site uses $ sign. If it is USD $10, that's a good deal. But how long have you been with them? On Sat, May 29, 2010 at 11:32 PM, Alexandru-Emil Lupu gang.al...@gmail.com wrote: Well ... you can try a VPS for a start. I have a provider that gives me 10 E / month the

[symfony-users] Doctrine documentation is gone??

2010-05-14 Thread Sid Bachtiar
Hi, I can't seem to find Doctrine's documentation anymore. Anyone else having the same problem? -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

Re: [symfony-users] Doctrine documentation is gone??

2010-05-14 Thread Sid Bachtiar
restructured. I tried to route the old URLs but I may have missed some. - jon On Fri, May 14, 2010 at 6:53 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi, I can't seem to find Doctrine's documentation anymore. Anyone else having the same problem? -- Blue Horn Ltd - System Development

[symfony-users] nahoMail, symfony 1.4, and swift

2010-05-02 Thread Sid Bachtiar
Hi, Seems like the new version of swift (version 4?) included in symfony 1.4 (in lib/vendor) isn't compatible with nahoMail (due to radical changes to swift). How can I use an older version of swift instead? I tried placing an older version of swift in the project lib folder, but symfony keeps

[symfony-users] How to send email?

2010-05-02 Thread Sid Bachtiar
Should be simple, but for the life of me, I just can't figure out how to do this simple thing with Symfony 1.4 and the new version of swift that comes with it. -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- If you want to report a vulnerability issue on symfony, please send it

[symfony-users] Re: How to send email?

2010-05-02 Thread Sid Bachtiar
'), sfConfig::get('app_site_inquiry_address'), Message from the online contact form, $body); On Mon, May 3, 2010 at 11:58 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: Should be simple, but for the life of me, I just can't figure out how to do this simple thing with Symfony

[symfony-users] Symfony 1.2 how to make session never expires until browser is closed?

2010-03-25 Thread Sid Bachtiar
Hi all, I couldn't seem to find how to do this. Does anyone know how to set user timeout to never expires until the browser window is closed (like PHP behavior)? Symfony 1.2 + Propel Cheers, Sid -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- If you want to report a

Re: [symfony-users] Credentials problem

2010-03-25 Thread Sid Bachtiar
Your security.yml needs to specify the required credentials, for example: default: is_secure: on credentials: admin Then don't forget to clear cache On Thu, Mar 25, 2010 at 11:24 PM, wueb webmaster@gmail.com wrote: Hey I have credentials for each module i build. For example: #

Re: [symfony-users] Credentials problem

2010-03-25 Thread Sid Bachtiar
, Sid Bachtiar sid.bacht...@gmail.com wrote: Your security.yml needs to specify the required credentials, for example: default:  is_secure: on  credentials: admin Then don't forget to clear cache On Thu, Mar 25, 2010 at 11:24 PM, wueb webmaster@gmail.com wrote: Hey I have credentials

Re: [symfony-users] Re: Credentials problem

2010-03-25 Thread Sid Bachtiar
It should be 'default' I think, not 'all'. On Thu, Mar 25, 2010 at 11:36 PM, wueb webmaster@gmail.com wrote: My security.yml on the application or inside the module? I already have. Right now they are like this: #application security.yml default:  is_secure: on #module security.yml

[symfony-users] Re: Symfony 1.2 how to make session never expires until browser is closed?

2010-03-25 Thread Sid Bachtiar
I've found a solution http://bluehorn.co.nz/2010/03/26/how-to-make-symfony-session-to-never-timeout/ On Thu, Mar 25, 2010 at 10:01 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi all, I couldn't seem to find how to do this. Does anyone know how to set user timeout to never expires until

Re: [symfony-users] how to create a copy of symfony app using a different database

2010-03-22 Thread Sid Bachtiar
execute: php symfony cc On Tue, Mar 23, 2010 at 1:22 AM, Peter Peltonen peter.pelto...@gmail.com wrote: A newbie question: how do I create a copy of symfony app using a different database? Here is what I tried: 1) copied my symfony 1.2.12 application to another dir to make a copy of it. 2)

Re: [symfony-users] Payment Gateway and Paypal

2010-03-01 Thread Sid Bachtiar
There is a plugin, but I usually just rolled out my own with library provided by Paypal. On Tue, Mar 2, 2010 at 2:20 PM, Arthur Ccube arthurcc...@gmail.com wrote: Hi Guys, I am working on a e Commerce website which has payments via Visa and Payment. What is the common way to do it in

Re: [symfony-users] Form decorator

2010-02-23 Thread Sid Bachtiar
= '', $hiddenFields = null) {  /*Do stuff to make $field from  input maxlength=50 type=text name=test[first_name]  id=test_first_name /  into  spaninput maxlength=50 type=text name=test[first_name]  id=test_first_name /*/  //Now what? } On Tue, Feb 23, 2010 at 9:43 AM, Sid Bachtiar

Re: [symfony-users] Form decorator

2010-02-23 Thread Sid Bachtiar
LOL On Tue, Feb 23, 2010 at 10:09 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: You attach your decorator class to your form, e.g.: class yourForm extends sfForm {  function configure()  {    /* configure your fields */    $decorator = new yourFormFormatter($this-widgetSchema

Re: [symfony-users] Form decorator

2010-02-22 Thread Sid Bachtiar
Don't know about the documentation. I had to look around myself to learn about it. Take a look at this example from my blog: http://bluehorn.co.nz/2009/08/31/symfony-12-sfform-formatter-to-add-stars-on-required-fields/ On Tue, Feb 23, 2010 at 7:57 PM, Gareth McCumskey gmccums...@gmail.com wrote:

Re: [symfony-users] Form decorator

2010-02-22 Thread Sid Bachtiar
structure of the form. On Tue, Feb 23, 2010 at 9:07 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: Don't know about the documentation. I had to look around myself to learn about it. Take a look at this example from my blog: http://bluehorn.co.nz/2009/08/31/symfony-12-sfform-formatter-to-add-stars

Re: [symfony-users] Form decorator

2010-02-22 Thread Sid Bachtiar
Oh I just understood why you can't do it LOL sorry On Tue, Feb 23, 2010 at 8:20 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: Why can't you do something like this in template: ?php echo $form['not_special_1']-renderRow(); ? labelWe are special:/label span  ?php echo $form['special_a

Re: [symfony-users] Form decorator

2010-02-22 Thread Sid Bachtiar
at 8:21 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: Oh I just understood why you can't do it LOL sorry On Tue, Feb 23, 2010 at 8:20 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: Why can't you do something like this in template: ?php echo $form['not_special_1']-renderRow(); ? labelWe

Re: [symfony-users] Form decorator

2010-02-22 Thread Sid Bachtiar
it a different format (e.g.: add span prefix on one field and append /span on the second field) :-\ On Tue, Feb 23, 2010 at 8:23 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: If you look in sfWidgetFormSchemaFormatter class, you could probably override method: public function formatRow($label

Re: [symfony-users] CSRF attack detected when using sfGuardDoctrinePlugin

2010-02-15 Thread Sid Bachtiar
You might want to try this 1. Login 2. Logout 3. Open login page 4. Leave the browser alone until the session expired (e.g.: default is 30 minutes I think, so leave it for an hour to be sure) 5. Try to login I think this is a problem with CSRF and session. I actually disable CSRF protection on

Re: [symfony-users] Able to rename a project?

2010-02-15 Thread Sid Bachtiar
I think you can just rename the folder, but the safest thing to do is to do text search of any occurrence of your project name in all files in the project. On Tue, Feb 16, 2010 at 10:21 AM, Darren884 darren...@gmail.com wrote: Is it possible to rename a Symfony project? If so is it easy? --

Re: [symfony-users] sfValidatorAnd ignores 'required' settings of its components

2010-02-09 Thread Sid Bachtiar
Put the required option on the sfValidatorAnd, e.g.: 'title' = new sfValidatorAnd( array( new sfValidatorCallback(array('callback' = array($this, 'stripTags'))), new sfValidatorString(array('max_length' = 50)) ) , array('required' = false) ) On Wed, Feb 10, 2010 at 1:33 AM, Hong Kil Dong

[symfony-users] sfShop demo?

2010-02-09 Thread Sid Bachtiar
Has anyone used sfShop in their project? Any live site? -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To

Re: [symfony-users] weird ness

2010-02-09 Thread Sid Bachtiar
symfony cc? On Wed, Feb 10, 2010 at 4:09 AM, erikms erik.stok...@gmail.com wrote: Hi all, I am developing an application in symphony 1.2 the schema has a table named Orders, that has a 1-many relation to the table Products. This always worked. I can see the definition in the

Re: [symfony-users] AJAX Helpers

2010-02-08 Thread Sid Bachtiar
Learn to use jQuery! Seriously, it's very easy to replace those functions with plain jQuery. On Tue, Feb 9, 2010 at 8:20 PM, DEEPAK BHATIA toreachdee...@gmail.com wrote: Hi, It seems link_to_remote and form_remote_tag has been deprectaed in Symfony 1.4. How do we achieve this functionality in

Re: [symfony-users] Route making automatic database calls

2010-02-07 Thread Sid Bachtiar
Could it be that there's code that is executed to make sure the ids are valid ids? On Mon, Feb 8, 2010 at 1:33 PM, Eno symb...@gmail.com wrote: On Sun, 7 Feb 2010, HiDDeN wrote: I have this route: product:   url:     /:slug-:id.html   param:   { module: info, action: index }   options: {

Re: [symfony-users] Routing Question

2010-02-05 Thread Sid Bachtiar
Routing does not need table and model, it refers to module and action. For example for url www.mywebsite.com/welcome, in your routing.yml you would have something like: welcome: url: /welcome param: { module: default, action: welcome } On Sat, Feb 6, 2010 at 5:21 PM, Shawn

Re: [symfony-users] MVC - where to put complex application code in symfony

2010-02-01 Thread Sid Bachtiar
You could always create your own business logic classes and call them from controller. On Tue, Feb 2, 2010 at 2:46 AM, Tom Ptacnik to...@tomor.cz wrote: Hi, I want to ask you where you put complex application code when developing with symfony (some bigger applications). When I don't

[symfony-users] sfSuperCache for Symfony 1.2?

2010-01-30 Thread Sid Bachtiar
Hi, Any reason there is no release of this plugin for Symfony 1.2? Is the one for 1.3 compatible with Symfony 1.2? Thanks, Sid -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] How to disable sfWebDebug in dev environment?

2010-01-14 Thread Sid Bachtiar
Hi, Can I run the website in 'dev' without sfWebDebug? I've set debug to false in the index.php but it's still there. -- Blue Horn Ltd - System Development http://bluehorn.co.nz -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this

Re: [symfony-users] Offbeat: open source vs closed source technologies

2010-01-09 Thread Sid Bachtiar
But you still have a chance with open source because the source is available. With closed source, if the company decided to not continue the product or not fix a bug, then that's the end of it. Another advantage is the licensing. Most open source comes with generic open source licensing that

Re: [symfony-users] Offbeat: open source vs closed source technologies

2010-01-08 Thread Sid Bachtiar
If your server goes bump in the night, who you gonna call? We have our own support team to call :-) Yes, but a salaried employee is more expensive than raising a ticket on a case-by-case basis with the likes of Zend (or buying a support contract to begin with) Seriously, you'd call

Re: [symfony-users] Offbeat: open source vs closed source technologies

2010-01-08 Thread Sid Bachtiar
And are you talking about your real experience or you're just hypothesizing? On Sat, Jan 9, 2010 at 3:51 AM, Lee Bolding l...@leesbian.net wrote: On 8 Jan 2010, at 14:40, Sid Bachtiar wrote: If your server goes bump in the night, who you gonna call? We have our own support team to call

Re: [symfony-users] is anyone else having trouble with url_for()?

2010-01-04 Thread Sid Bachtiar
Could be the dot in URL issue? http://bluehorn.co.nz/2008/12/04/how-to-handle-dot-in-symfony-url/ On Tue, Jan 5, 2010 at 8:44 AM, lawrence lawrence.krub...@gmail.com wrote: We are having a serious problem with url_for() on our site. Sometimes it does not correctly render the HTML. I saw it

Re: [symfony-users] Error message format

2009-12-30 Thread Sid Bachtiar
AM, Alexandru-Emil Lupu gang.al...@gmail.com wrote: I have done something like that. I will post my solution later today, as i haven't yet start my computer Alecs sent via htc magic On Dec 30, 2009 1:37 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi all, I embedded a form inside

[symfony-users] Error message format

2009-12-29 Thread Sid Bachtiar
Hi all, I embedded a form inside another form, and I try to print errors (of all the forms combined) like this in the template: ?php foreach ($form-getErrorSchema()-getErrors() as $error): ? *?php echo $error-getMessage(); ?br/ ?php

Re: [symfony-users] Bonjour - nouvel utilisateur a un probleme 'unable to write cache file'

2009-11-19 Thread Sid Bachtiar
Hi Malcolm, Nice to meet you :D Some of us could probably help if we could speak French 2009/11/19 Malcolm malkaz...@gmail.com: Bonjour a tous! Avant que vous ne me sautiez dessus - le probleme est un peu plus complexe qu'au premier regard. Je dois travailler sur un projet existant, sous

Re: [symfony-users] Not quite symfony but very related (and cool)

2009-11-19 Thread Sid Bachtiar
Hahaha, very nice ... thanks for the link On Fri, Nov 20, 2009 at 1:31 PM, a...@speedypin.com a...@speedypin.com wrote: http://www.youtube.com/watch?v=a0qMe7Z3EYgfeature=player_embeddedaia=true Dudes pretty cool, very funny, good info presented well/authentic. I just wanted to share,

[symfony-users] Re: How to declare an array of input field with sfForm?

2009-11-16 Thread Sid Bachtiar
of the concept) http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin --jbh Jesse B. Hannah On Nov 14, 1:02 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi, How to declare an array of input field in sfForm? Is this where embedded form come

[symfony-users] How to declare an array of input field with sfForm?

2009-11-14 Thread Sid Bachtiar
Hi, How to declare an array of input field in sfForm? Is this where embedded form come in? In this case I want to use jquery MultiUpload library but it works by creating upload fields with the same field name, so when the form is uploaded, it will be as array. Cheers, Sid -- Blue Horn Ltd -

[symfony-users] Symfony 1.4

2009-11-10 Thread Sid Bachtiar
Hi, I want to use 1.4 but I can not find the branch in the SVN? From reading around seems it is just 1.3 minus deprecated features, so where can I read the list of deprecated features? Cheers, Sid -- Blue Horn Ltd - System Development http://bluehorn.co.nz

[symfony-users] Re: Symfony 1.4

2009-11-10 Thread Sid Bachtiar
one (can't remember the command now) and it was hard to figure out how to do things ... spent hours with no luck trying to do something that would otherwise be very very easy to do with propel-init-admin On Wed, Nov 11, 2009 at 11:03 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: Cheers On Wed

[symfony-users] Re: How to select thumbnail of sfAssetLibraryPlugin from tinyMCE ?

2009-11-08 Thread Sid Bachtiar
thing I can think of is modify sfAssetPlugin's image browser for tiny to include an extra button for every image that would return the path to the thumbnail. It shouldn't be more than a few lines of html/js On Nov 7, 11:32 am, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi all, I've got

[symfony-users] How to select thumbnail of sfAssetLibraryPlugin from tinyMCE ?

2009-11-07 Thread Sid Bachtiar
Hi all, I've got sfAssetLibraryPlugin working with tinyMCE, all good. But I can't figure out how one is supposed to be able to select the thumbnail when browsing from tinyMCE. I seem to only be able to insert the original image uploaded instead of the thumbnail. Any idea? -- Blue Horn Ltd -

[symfony-users] Re: setters and getters on doctrine

2009-11-01 Thread Sid Bachtiar
+1 I'm frustrated too with Doctrine's lack of setters and getters. At least have the field names as constants or something like that. Something to help developers to access the fields without looking them up manually or try to remember them. On Sun, Nov 1, 2009 at 9:42 PM, Alexandru-Emil Lupu

[symfony-users] Re: Project Management / Support tools

2009-11-01 Thread Sid Bachtiar
Mantis? On Mon, Nov 2, 2009 at 9:52 AM, Lee Bolding l...@leesbian.net wrote: Hi Gang, Can anybody recommend a good project management and support tool along the lines of BaseCamp or CodeBase? What I'm after specifically, is something that operates in 2 modes - a public facing mode that

[symfony-users] Re: Production routing vs. dev environment routing.

2009-10-28 Thread Sid Bachtiar
1. Did you clear cache? ./symfony cc 2. Do you have mod_rewrite enabled on your production server? On Thu, Oct 29, 2009 at 8:56 AM, Zach zach...@gmail.com wrote: I've been stuck on this for quite some time and hope someone can help me. It's probably something simple that I am overlooking

[symfony-users] Re: Production routing vs. dev environment routing.

2009-10-28 Thread Sid Bachtiar
reply! 1. yes I did symfony cc 2. yes... I have RewriteEngine On in the .htaccess (that enables mod_rewrite right?) On Oct 28, 3:07 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: 1. Did you clear cache? ./symfony cc 2. Do you have mod_rewrite enabled on your production server

[symfony-users] Re: Email address in URL leads to problem

2009-10-19 Thread Sid Bachtiar
http://bluehorn.co.nz/2008/12/04/how-to-handle-dot-in-symfony-url/ On Tue, Oct 20, 2009 at 1:47 PM, Steve Sanyal steve.san...@gmail.com wrote: Just a clarification.  This is a routing issue.  It does not seem like symfony can parse the URL properly because it includes an email address as one

[symfony-users] How to use sync with cron?

2009-10-15 Thread Sid Bachtiar
Hi, How can I set the symfony sync for cron? E.g.: specifying the user's password so that it won't require manually entering password. Cheers, Sid --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Re: How to use sync with cron?

2009-10-15 Thread Sid Bachtiar
/index.html On Thu, Oct 15, 2009 at 12:42, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi, How can I set the symfony sync for cron? E.g.: specifying the user's password so that it won't require manually entering password. Cheers, Sid -- Blue Horn Ltd - System Development http

[symfony-users] is sfMediaLibraryPlugin compatible with Symfony 1.2 (Propel)?

2009-10-13 Thread Sid Bachtiar
Hi, Does anyone know if sfMediaLibraryPlugin works with Symfony 1.2 (Propel)? It's flagged as Symfony 1.1, but 1.1 and 1.2 are quite similar. Kind regards, Sid --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Re: is sfMediaLibraryPlugin compatible with Symfony 1.2 (Propel)?

2009-10-13 Thread Sid Bachtiar
might have some small problems, but i doubt  it . And yes ... is working with propel ... It is not ORM related .. browse this: http://trac.symfony-project.org/browser/plugins/sfMediaLibraryPlugin Alecs On Tue, Oct 13, 2009 at 9:04 AM, Sid Bachtiar sid.bacht...@gmail.com wrote: Hi, Does

[symfony-users] Re: Get updated fields from Form

2009-10-12 Thread Sid Bachtiar
The only way that I know is to detect before you save. For example: class Ninja extends BaseNinja { public function save($con=null) { $age_modified = $this-isColumnModified(NinjaPeer::AGE); $gender_modified = $this-isColumnModified(NinjaPeer::GENDER); // do something with the

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

2009-10-08 Thread Sid Bachtiar
to meet all the demands of the developers. THATS why symfony is popular, because it isn't a CRM application, and it allows you to do far more the way you want for your own needs, including how you want to deploy it. On Wed, Oct 7, 2009 at 1:16 AM, Sid Bachtiar sid.bacht...@gmail.com wrote

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

2009-10-08 Thread Sid Bachtiar
deployment script would be a difficult thing to do as no two projects are alike. On Thu, Oct 8, 2009 at 1:42 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: A generic installer would be something like: - System checks environment requirements, the usual: php version, apache version, mod

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

2009-10-08 Thread Sid Bachtiar
that might be missing is that there isn't a check_config task from within the framework/installer - so you can't run a self-check. On Thu, 08 Oct 2009 13:42:57 +0200, Sid Bachtiar sid.bacht...@gmail.com wrote: A generic installer would be something like: - System checks environment

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

2009-10-06 Thread Sid Bachtiar
) 4. Click 'Install' OK I'm sure it's not that easy, but I think it is doable. Part of the check would be to check if non-public folder (non web folder) can be protected (made non-public), e.g.: htaccess, etc, etc. Regards, Sid Bachtiar -- Blue Horn Ltd - System Development http

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

2009-10-06 Thread Sid Bachtiar
: On Oct 5, 2:54 am, Eno symb...@gmail.com wrote: 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

[symfony-users] Re: if (condition): endif: not working

2009-10-06 Thread Sid Bachtiar
It should be: ?php if (condition): ? h1Hola hola hola/h1 ?php endif; // with semi colon ? On Wed, Oct 7, 2009 at 2:58 PM, Avani avani.v.puj...@gmail.com wrote: Hi all, I am working on symfony since last 1 month. Yday I just installed symfony to my other laptop. I dont know why I am

[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] how to install a symfony website

2009-10-04 Thread Sid Bachtiar
Hi all, I'm wondering if there is a documentation for non-developer (e.g.: system admin) on how to install a website developed in Symfony. -- Blue Horn Ltd - System Development http://bluehorn.co.nz --~--~-~--~~~---~--~~ You received this message because you

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

2009-10-04 Thread Sid Bachtiar
wrote: On Mon, 5 Oct 2009, Sid Bachtiar wrote: I'm wondering if there is a documentation for non-developer (e.g.: system admin) on how to install a website developed in Symfony. Its in the usual place: http://www.symfony-project.org/book/1_2/16-Application-Management-Tools

[symfony-users] Re: what plugins or code do symfony developers prefer for image cropping?

2009-09-29 Thread Sid Bachtiar
Linux box only (using netpbm, fast): http://www.symfony-project.org/plugins/pkImageConverterPlugin Linux and Windows (using GD, slower): http://www.symfony-project.org/plugins/sfThumbnailPlugin On Wed, Sep 30, 2009 at 1:26 PM, lawrence lkrub...@geocities.com wrote: A client has asked me to

[symfony-users] Re: what plugins or code do symfony developers prefer for image cropping?

2009-09-29 Thread Sid Bachtiar
Sorry, didn't realize he asked for all in one cropping rather than a library to crop/resize images. eCrop is what I use too. On Wed, Sep 30, 2009 at 3:15 PM, Jake Barnes lkrub...@geocities.com wrote: On Sep 29, 8:36 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: Linux box only (using netpbm

[symfony-users] SEO, symfony forward, and redirect

2009-09-28 Thread Sid Bachtiar
Hi all, Let say I have URL like: http://mydomain.com/people/james-brown When there more than 1 person with slug 'james-brown', I want to display a list. But when there is only one person, I want to either redirect or symfony forward to something like http://mydomain.com/person/1234 In this

[symfony-users] Re: sf_data-get, only with key ??

2009-09-26 Thread Sid Bachtiar
You should not declare variable inside the template, unless the variable is for template stuffs (color, style, etc). If it is data, you should declare it at least in your action. On Sun, Sep 27, 2009 at 9:32 AM, greg saturn1...@hotmail.com wrote: Hello i need to do ?php echo

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-25 Thread Sid Bachtiar
As Fabien pointed out, sfForm is similar to Zend Form, Django, etc. So Symfony isn't alone with this approach. In general, someone not familiar with OOP and MVC will definitely struggling at first, not just with Symfony. No shortcut here, web developer just needs to learn best practices. And

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-25 Thread Sid Bachtiar
The helpers are still there. Just not included by default. I think you need to ?php use_helper('Form'); ? or include it other way. On Fri, Sep 25, 2009 at 10:21 PM, Sid Ferreira sid@gmail.com wrote: Actually I do like and use a lot of forms. Im just looking as a new commer. It isn't cause

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Sid Bachtiar
Seriously, if you had not posted this, we'd still think you're a smart guy, who just doesn't like Symfony's way of doing things. But now, well ... familiar with the quote below? Better to remain silent and be thought a fool than to open one's mouth and remove all doubt On Fri, Sep 25, 2009 at

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Sid Bachtiar
Probably because table is easier for majority of developers. Those who dislike table are usually advanced enough to change the default settings I think that's the reason On Fri, Sep 25, 2009 at 10:35 AM, Lee Bolding l...@leesbian.net wrote: Hmmm... I'm kind of inclined to agree that using

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Sid Bachtiar
Hello moderator, Can we please lock this thread? This thread has been going on far too long. I'd say borderline trolling. This is getting really annoying. We can't teach bghost all the basics in this one long thread. bghost, if you still think you know what you're talking about, I dare you to

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Sid Bachtiar
This is my last post here. I'm so glad! GOOD BYE!!! On Fri, Sep 25, 2009 at 1:34 PM, bghost bggho...@gmail.com wrote: And? Where you saw any recommendation to use th tags outside thead ?? I never said that any developer is stupid here. But now I have changed my opinion under the pressure

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Sid Bachtiar
and effective PHP framework, then take a look on the following link: http://www.yiiframework.com/ WBR, Ghost3D On Sep 21, 3:31 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: XD On Tue, Sep 22, 2009 at 1:28 AM, dziobacz aaabbbcccda...@gmail.com wrote: I would like to say that Symfony

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-23 Thread Sid Bachtiar
easier as well ... -- Kind regards Farrukh Abbas On 23 Sep 2009, at 22:30, Sid Bachtiar sid.bacht...@gmail.com wrote: the schema model n peer classes in one folder so all one would need is to copy the folder n customize it You mean like, plugin? :) On Thu, Sep 24, 2009 at 1:51 AM, Farrukh

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-21 Thread Sid Bachtiar
followed the Jobeet tutorial. WBR, Ghost3D On Sep 18, 4:24 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: It is necessary to invest so much effort to do a relatively simple application. If you're just learning Symfony, then yes of course you'll find

[symfony-users] Re: Application or module

2009-09-18 Thread Sid Bachtiar
Modules because I think basically if two things share users, they should be in the same apps as modules. On Fri, Sep 18, 2009 at 11:42 PM, Gareth McCumskey gmccums...@gmail.com wrote: In my opinion same project seperate modules. Getting two seperate applications to talk can sometimes be

[symfony-users] Re: Problem with sfPropelPager.class.php

2009-09-18 Thread Sid Bachtiar
What's in EstatePeer::getOverview() ? On Fri, Sep 18, 2009 at 11:51 PM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: I got a problem with the pager: Fatal error: __clone method called on non-object in /symfony/sf1.2/lib/ plugins/sfPropelPlugin/lib/addon/sfPropelPager.class.php on

[symfony-users] Re: Routing doesn't take place

2009-09-18 Thread Sid Bachtiar
First of all, don't forget to run symfony cc Secondly, try: ?php echo url_for('@estate_page?page=' . $page) ? On Sat, Sep 19, 2009 at 12:24 AM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Hi everyone! I have a problem with my routing.yml. My URL is still /vastgoed? page=3,

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-18 Thread Sid Bachtiar
It is necessary to invest so much effort to do a relatively simple application. If you're just learning Symfony, then yes of course you'll find it too much effort. This is true with any other framework/technology. But for those of us who have invested our time in Symfony, we find great

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-18 Thread Sid Bachtiar
sfForm is the way to go, doing form the old fashion way (coding form in template) is terrible. It is not harder, it's just different from old ways of doing things. It only seems hard because you're used to doing form the old ways. If you have strong OOP background and design patterns, you'd

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-18 Thread Sid Bachtiar
. P.S. I did nothing special but just followed the Jobeet tutorial. WBR, Ghost3D On Sep 18, 4:24 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: It is necessary to invest so much effort to do a relatively simple application. If you're just learning Symfony, then yes

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-18 Thread Sid Bachtiar
special but just followed the Jobeet tutorial. WBR, Ghost3D On Sep 18, 4:24 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: It is necessary to invest so much effort to do a relatively simple application. If you're just learning Symfony, then yes of course you'll find it too much effort

[symfony-users] Re: Assign value to form fields

2009-09-15 Thread Sid Bachtiar
Try: $this-form-setValue('first_name', 'Michael'); or use this instead to set default value $this-form-setDefault('first_name', 'Michael'); On Tue, Sep 15, 2009 at 6:51 PM, mirfan m.irfa...@gmail.com wrote: Hi, I have a form and i want to assign value to its field from my

[symfony-users] Re: Ajax queuing behaviour driving us mad

2009-09-15 Thread Sid Bachtiar
It is most likely due to PHP session locking: http://nz2.php.net/manual/en/ref.session.php#64525 On Tue, Sep 15, 2009 at 11:45 PM, Gareth McCumskey gmccums...@gmail.com wrote: Hi all, We have encountered an odd problem that I believe should not be happening. Let me try and describe it as

[symfony-users] Re: Ajax queuing behaviour driving us mad

2009-09-15 Thread Sid Bachtiar
in that link. On Tue, Sep 15, 2009 at 1:57 PM, Sid Bachtiar sid.bacht...@gmail.com wrote: It is most likely due to PHP session locking: http://nz2.php.net/manual/en/ref.session.php#64525 On Tue, Sep 15, 2009 at 11:45 PM, Gareth McCumskey gmccums...@gmail.com wrote: Hi all, We have encountered

[symfony-users] Re: Fast query on all records

2009-09-14 Thread Sid Bachtiar
piece of code ($this-setRank(1)) is executed, all new records have '1' as rank value. On 14 sep, 01:00, Sid Bachtiar sid.bacht...@gmail.com wrote: If it doesn't show up and there's no error, it is possible that the piece of code isn't executed at all. On Mon, Sep 14, 2009 at 10:19 AM, HAUSa

[symfony-users] Re: pkToolkitPlugin gems: a lightweight HTML filter, and a handy way to ssh to your staging and production servers

2009-09-14 Thread Sid Bachtiar
Great plugin! Thank you ... I am using it on my project :D On Tue, Sep 15, 2009 at 1:59 AM, Tom Boutell t...@punkave.com wrote: Unlike most of our plugins, pkToolkitPlugin is a bit of a kitchen sink. It contains a lot of utility classes, some more experimental things, and not a lot of

[symfony-users] Re: Fast query on all records

2009-09-13 Thread Sid Bachtiar
This might help http://snippets.symfony-project.org/snippet/50 On Mon, Sep 14, 2009 at 8:44 AM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Is there a fast way to update all records matching a criteria? What I could do, is this: $results = MyPeer::doSelect(new Criteria());

[symfony-users] Re: Fast query on all records

2009-09-13 Thread Sid Bachtiar
($oSelectCriteria, $oUpdateCriteria, $oConnection); On 13 sep, 22:46, Sid Bachtiar sid.bacht...@gmail.com wrote: This might help http://snippets.symfony-project.org/snippet/50 On Mon, Sep 14, 2009 at 8:44 AM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Is there a fast way to update

[symfony-users] Re: Fast query on all records

2009-09-13 Thread Sid Bachtiar
Did you get any error message? On Mon, Sep 14, 2009 at 9:44 AM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: I tried that, that was my helas no difference answer. But besides that, I also tried the '5' instead of 'rank=rank+1' update, but also that didn't work. My code now:

[symfony-users] Re: Fast query on all records

2009-09-13 Thread Sid Bachtiar
What's the SQL query in the debug log? On Mon, Sep 14, 2009 at 10:03 AM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: No... On 13 sep, 23:53, Sid Bachtiar sid.bacht...@gmail.com wrote: Did you get any error message? On Mon, Sep 14, 2009 at 9:44 AM, HAUSa

[symfony-users] Re: Fast query on all records

2009-09-13 Thread Sid Bachtiar
, $oConnection);                $this-setRank(1);        }        return parent::save($oCon); } On 14 sep, 00:07, Sid Bachtiar sid.bacht...@gmail.com wrote: What's the SQL query in the debug log? On Mon, Sep 14, 2009 at 10:03 AM, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote

[symfony-users] Re: Partial fields and credentials in admin generator

2009-09-10 Thread Sid Bachtiar
Try just owner not _owner when using partial under fields:. On Fri, Sep 11, 2009 at 3:26 AM, Jacopo Jakuza Romei jro...@gmail.com wrote: Hi everyone, first thanks for your attention. The following setting in my generator.yml fields:  _owners:   credentials:      [admin] gets ignored

  1   2   3   4   >