[symfony-users] Re: Symfony on shared hosting: a security reminder

2008-12-15 Thread Kiril Angov
Two hands, slicehost! On Mon, Dec 15, 2008 at 10:24 PM, Eno wrote: > > On Dec 15, 11:53 am, "Brandon Olivares" wrote: > >> That's quite interesting. Are you recommending a VPS solution if one can't >> afford a dedicated server? Are there any VPS hosts you recommend? > > Im using Linode (linode.

[symfony-users] Re: How to get all applications?

2008-11-18 Thread Kiril Angov
if (count($dirs = sfFinder::type('dir')->maxdepth(0)->follow_link()->relative()->in(sfConfig::get('sf_apps_dir' { return $dirs; } On Tue, Nov 18, 2008 at 4:21 PM, sepp <[EMAIL PROTECTED]> wrote: > > Hi @all. > > I'm writing some Symfony tasks and I'm wondering how I can get the > names of a

[symfony-users] Re: Sf1.2 Admin generator: how to retain non display fields in DB

2008-11-18 Thread Kiril Angov
Ken: " Is changing the widgetSchema and validatorSchema in ArticleForm the only way to avoid resetting the non display values? What if I have different forms of the same propel model?" On Tue, Nov 18, 2008 at 4:59 PM, ken <[EMAIL PROTECTED]> wrote: > > just edit the generated Form Class then unse

[symfony-users] Re: Admin 1.2 Routing

2008-11-18 Thread Kiril Angov
Do you have any routing rules defined? I no longer seem to understand the problem you are having. On Tue, Nov 18, 2008 at 6:10 PM, ken <[EMAIL PROTECTED]> wrote: > > that doesnt work either. > > > > On Nov 18, 11:56 am, Eus <[EMAIL PROTECTED]> wrote: >> Hi Ho! >> >> --- On Tue, 11/18/08, ken <[EM

[symfony-users] Re: The most painless way to adopt the form's auto-validation in 1.1 in 1.0

2008-11-18 Thread Kiril Angov
Ken, that is what he is saying. It is a Symfony 1.0 project so there are no form generation tasks. The is a plugin that integrated the new form system in the Symfony 1.0, I have used it but not recently. http://svn.symfony-project.com/plugins/sfForms11Plugin/README http://svn.symfony-project.com/

[symfony-users] Re: Exclude some countries

2008-11-18 Thread Kiril Angov
I think this is discrimination so NO you cannot do that ;) Sorry, could not resist... On Sat, Nov 15, 2008 at 5:59 AM, Mohammed <[EMAIL PROTECTED]> wrote: > > Good morning ! > > I want to exclude some countries when I use select_country_tag method > in symfony , > could I ? > > > > --~--~---

[symfony-users] Re: unique user in my article index

2008-11-18 Thread Kiril Angov
Why not add a GroupBy on the sfGuardUserProfilePeer::ID ? On Mon, Nov 17, 2008 at 7:28 PM, javo <[EMAIL PROTECTED]> wrote: > > Hi, > > I use this code to display articles on my page, > > public function executeIndex() > { > >$c = new Criteria(); >$c->addDescendingOrderByColumn(ArticlePe

[symfony-users] Re: Displaying range for a value in image...

2008-11-18 Thread Kiril Angov
> On Nov 17, 6:21 pm, "Kiril Angov" <[EMAIL PROTECTED]> wrote: >> For example,http://pecl.php.net/package/imagick >> >> On Mon, Nov 17, 2008 at 1:27 PM, Sumedh <[EMAIL PROTECTED]> wrote: >> >> > Hi Friends... >> >> > I want to

[symfony-users] Re: Admin 1.2 Routing

2008-11-18 Thread Kiril Angov
object_actions: sample: - action: sample OR object_actions: sample: { action: sample } On Tue, Nov 18, 2008 at 5:56 AM, Eus <[EMAIL PROTECTED]> wrote: > > Hi Ho! > > --- On Tue, 11/18/08, ken <[EMAIL PROTECTED]> wrote: > >> I have this in foo admin module >> >> object_actions: >> sam

[symfony-users] Re: Update Forms from Symfony 1.0 to 1.1

2008-11-18 Thread Kiril Angov
Old forms work in 1.1 just fine so unless you want some functionality provided by the 1.1 form framework, do not bother to upgrade them. On Tue, Nov 18, 2008 at 3:07 AM, Jonathan Wage <[EMAIL PROTECTED]> wrote: > You will need to re-implement your forms. > > - Jon > > On Mon, Nov 17, 2008 at 4:48

[symfony-users] Re: timestamp default value

2008-11-18 Thread Kiril Angov
k in. > It's interesting - why are they going to maintain v1.0 for whole three > years - but 1.1 and 1.2 only for 1 year? > > On 17 нояб, 16:45, "Kiril Angov" <[EMAIL PROTECTED]> wrote: >> I am personally using the plugin on Symfony 1.0 and it works just >&

[symfony-users] Re: Autoloading problem

2008-11-18 Thread Kiril Angov
AIL PROTECTED]>: > > Kiril, I made sure that filenames and classnames have the same case. > The problem is that the file is autoloaded only in index actions - and > the same file is not autoloaded in any others. > > On 14 нояб, 22:21, "Kiril Angov" <[EMAIL PROTECTE

[symfony-users] Re: timestamp default value

2008-11-17 Thread Kiril Angov
en - are there any others? > > On 17 нояб, 16:17, "Kiril Angov" <[EMAIL PROTECTED]> wrote: >> Did you try: >> >> sess_time: { type: datetime, defaultExpr: "NOW()" } >> >> You must be using Propel 1.3 for this to work, though. >> >

[symfony-users] Re: Displaying range for a value in image...

2008-11-17 Thread Kiril Angov
For example, http://pecl.php.net/package/imagick On Mon, Nov 17, 2008 at 1:27 PM, Sumedh <[EMAIL PROTECTED]> wrote: > > Hi Friends... > > I want to do this feature where I want to display price range > graphically... > > It needs to be a simple image like this... > > > ^ > | > | > | > ---

[symfony-users] Re: propel:build-all-load has problem when it gets to forms (1.2.0-dev r13048)

2008-11-17 Thread Kiril Angov
Filing bug report will have better change of action on this :) On Mon, Nov 17, 2008 at 1:24 AM, Evan Fribourg <[EMAIL PROTECTED]> wrote: > > When I run './symfony propel:build-all-load' under symfony 1.2.0-dev > r13048 (this error has been happening since I started playing with > 1.2.0, unknown r

[symfony-users] Re: timestamp default value

2008-11-17 Thread Kiril Angov
e in schema.yml. So I just need to know how to >> define by default the current time. I've never heard about defaultExpr >> attribute so I searched - but haven't found almost anything, the first >> result was this page. Please, tell me if you know how to do it! >

[symfony-users] Re: Symfony on Joyent

2008-11-14 Thread Kiril Angov
yes, it is. On Mon, Nov 10, 2008 at 6:04 PM, Eno <[EMAIL PROTECTED]> wrote: > > On Nov 6, 3:17 pm, "Kiril Angov" <[EMAIL PROTECTED]> wrote: > >> Yes, works like a charm, run a facebook app there for a while when >> they had it free. Good service and t

[symfony-users] Re: Autoloading problem

2008-11-14 Thread Kiril Angov
Make sure you are using the right name for your file myClass.class.php and MyClass.class.php are different on a case sensitive sistem and I think that is your problem. PHP classes and functions are not case sensitive (as far as I know) and if one time you call your class $something = new myClass()

[symfony-users] Re: timestamp default value

2008-11-14 Thread Kiril Angov
Are you defining this table in your schema.yml or it is pre-created and you are just using it for the session storage. Give some more details and I am sure we will be able to help... and save one life :) FYI, the default attribute in schema isn't meant to support SQL functions like CURRENT_TIME.

[symfony-users] Re: Optionnal foreign key with propel 1.3 & SF 1.2 ?

2008-11-14 Thread Kiril Angov
In your schema just do: page_id: ~ By default this would make it required: false and it would behave as expected. Try it. On Fri, Nov 14, 2008 at 4:11 PM, Sylvain - Com-Océan <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a schema where "node" table is link to "page". > => "a node can be linked

[symfony-users] Re: retrieveByPks() changes IDs order

2008-11-13 Thread Kiril Angov
If you do not specify order by column, I do not think propel is the problem but MySQL because it has a default sort column for each table. You can check phpMyAdmin, for examples, and got to "Operations" on a table to see that, of course it is usually the pk of the table. On Thu, Nov 13, 2008 at 6

[symfony-users] Re: action which returns an image doesn't work anymore im Symfony 1.2

2008-11-07 Thread Kiril Angov
Elaborate on that "doesn't work" means. On Fri, Nov 7, 2008 at 10:29 PM, Samir <[EMAIL PROTECTED]> wrote: > Hello guys, > > any idea why does action, which returns an image doesn't work anymore under > Symfony 1.2 (it worked fine under SF 1.1) ? > I checked the Propel Query and it's is still work

[symfony-users] Re: Search form and paging system.

2008-11-07 Thread Kiril Angov
The way this is usually done is to not pass the whole $request object but only the search criteria. I usually build $search array with all the filters and save it in the users session like: $this->getUser()->setAttribute('search', $search); Then when you get a request with ?page=2 you just do $s

[symfony-users] Re: upgrade question from 1.0 -> 1.2

2008-11-07 Thread Kiril Angov
Depending on how customized are your 1.0 projects (plugins, hacks, etc) but I would recommend going with 1.1 first make it run and then to 1.2 as you might find combinations of problems you will have to spend much time fixing. Think of it as pushing to production after two month development period

[symfony-users] Re: Symfony on Joyent

2008-11-06 Thread Kiril Angov
Yes, works like a charm, run a facebook app there for a while when they had it free. Good service and they teamed up with Dell to give some goo prices. On Wed, Nov 5, 2008 at 11:11 PM, Ant Cunningham <[EMAIL PROTECTED]> wrote: > > Jsut found this, didnt know if anyone else was aware or had any >

[symfony-users] Re: Trouble with propel:build-model

2008-11-04 Thread Kiril Angov
Looks like you use something like: "my_field: varchar" instead of "my_field: varchar(255)" But you need to post your exact schema.yml file to tell you for sure. On Sun, Nov 2, 2008 at 4:38 PM, tuxv <[EMAIL PROTECTED]> wrote: > > Hey all, > > I tried the symfony tutorial > http://www.symfony-pr

[symfony-users] Re: I18n and database (symfony 1.1.4)

2008-11-03 Thread Kiril Angov
Oh, I see it now. You have to put database: "mysql://[EMAIL PROTECTED]/sfshop" Notice the quotes! On Tue, Nov 4, 2008 at 8:56 AM, Kiril Angov <[EMAIL PROTECTED]> wrote: > Seems like. I would double check if the yaml is valid and does not > have any tabs, etc. Also try p

[symfony-users] Re: I18n and database (symfony 1.1.4)

2008-11-03 Thread Kiril Angov
Seems like. I would double check if the yaml is valid and does not have any tabs, etc. Also try putting the source with lowecase "mysql". Everything else seems correct. If it still does not work, please report it to http://trac.symfony-project.com Kiril On Mon, Nov 3, 2008 at 11:37 PM, Dmitry Ne

[symfony-users] Re: extjs plugin working with symfony 1.1 or 1.2 ??

2008-11-03 Thread Kiril Angov
It might be working with symfony 1.1 as it still uses the old admin generator but will definitely need quite some work to make it compatible with Symfony 1.2 Kiril On Tue, Oct 28, 2008 at 11:00 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > is there any version of extjs plugin working with

[symfony-users] Re: Symfony 1.2 and propel behaviors

2008-11-03 Thread Kiril Angov
There was a ticket for this problem so if you update your symfony-1.2 lib you will be able to issue those tasks without specifying the application name. Kiril On Sun, Nov 2, 2008 at 11:25 AM, mitjad <[EMAIL PROTECTED]> wrote: > > Hi, > > I managed to get my Propel behavior plugins working, but a

[symfony-users] Re: How to correctly set primary key ?

2008-11-03 Thread Kiril Angov
Hello, by reading the source code I think you should try try saving the object and then issuing $object->setPrimaryKey(6); and then save again. I did not dig more to see if that would work but give it a try. Also, I woul try setting defaultIdMethod="none" in your schema file (at the very top, it i

[symfony-users] Re: IDE for symfony

2008-10-12 Thread Kiril Angov
Netbeans with their new PHP support if pretty good and is much better on a slower system than Eclipse + PDT or Zend Studio Neon. Otherwise Zend's IDE would always be the best for PHP editing, whoever has used the Zend Studio from the beginning knows what I am taking about. PDT is pretty much what

[symfony-users] Re: Hosting images on a separate domain

2008-10-12 Thread Kiril Angov
Eno, the whole point of the image_tag helper is to be able easily to relocate images to another dir/domain. If you use a STATIC variable to put that in every invocation of the image_tag helper, then why do you even bother using the helpers. I think an HTML autocomplete IDE would do better job. For

[symfony-users] Re: Problem with strange number showing after

2008-10-03 Thread Kiril Angov
The thing to check would be to turn off any opcode optimizer you might have installed. I also remember getting this weirdness when using Lighttpd with php-fcgi. But it definitely smells like an opcode optimizer problem. Kiril On Fri, Oct 3, 2008 at 1:17 PM, Benjamin <[EMAIL PROTECTED]> wrote: >

[symfony-users] Re: How To : Remove Pieces

2008-09-28 Thread Kiril Angov
Do not forget to remove the corresponding files from the test/ directory if that bothers you or if you use tests at all. On Fri, Sep 26, 2008 at 6:16 PM, Jonathan Wage <[EMAIL PROTECTED]> wrote: > Remove app. > > rm -rf apps/myapp > rm web/myapp.php > rm web/myapp_dev.php > > Remove module. > > r

[symfony-users] Re: Registering Behaviors in 1.1

2008-09-28 Thread Kiril Angov
Yuretsz, also http://www.symfony-project.org/plugins/sfPropelAlternativeSchemaPlugin Look at the readme for the above plugin (you do not need to install the plugin, just read the readme). It shows you the syntax for specifying behaviors in schema.yml I am guessing the documentation is not update

[symfony-users] Re: Developing Symfony 1.0, 1.1, 1.2, etc, Projects Simultaneously On One Machine

2008-09-27 Thread Kiril Angov
Piston did not work with the Symofony repository because it does not handle when the svn:external has an svn:external by itself. I submitted a bug report and the guy said he will fix it for version 2.0 and that is not out yet. As a matter of fact it is not updated since early 2008 so I would not bo

[symfony-users] Re: Symfony + Prototype JavaScript Image Cropper UI

2008-08-25 Thread Kiril Angov
I must wait for commit rights from Fabien because of the new plugins systems. Here is the installable plugin archive. On Sat, Aug 23, 2008 at 9:31 AM, Kiril Angov <[EMAIL PROTECTED]> wrote: > I did use the same javascript cropper + sfThumbnailPlugin and > Imagemagick. As you sa

[symfony-users] Re: new plugins page??

2008-08-24 Thread Kiril Angov
Just a clarification: .org instead of .com -> http://raw.trac.symfony-project.org/wiki/SymfonyPlugins On Sun, Aug 24, 2008 at 12:23 PM, Fabien Potencier <[EMAIL PROTECTED]> wrote: > > Lee Bolding wrote: >> Thanks Fabien. >> >> I've just noticed another problem - not sure if this is true for more

[symfony-users] Re: Symfony + Prototype JavaScript Image Cropper UI

2008-08-22 Thread Kiril Angov
I did use the same javascript cropper + sfThumbnailPlugin and Imagemagick. As you said, I had to implement cropping + resizing in order to make all that work. I was planning for some time now to commit those changes to the plugin so I will do that now and let you take a look at SVN for the changes

[symfony-users] Re: Zend Framework + Symfony 1.1

2008-08-19 Thread Kiril Angov
t. > > The only problem is that it'll take some time to parse all that files > on the first request without having the cached list of classes. After > parsing and caching there's no time deficit anymore. > > Cheers, > Pierre > > On Aug 6, 1:25 pm, "Kiril Ango

[symfony-users] Re: sfThumbnailPlugin

2008-04-22 Thread Kiril Angov
Make sure you pass absolute path of the image and not relative, I think this is the problem. Kiril On Tue, Apr 22, 2008 at 10:16 PM, CX <[EMAIL PROTECTED]> wrote: > > phpinfo data: > gd > GD Support enabled > GD Version 2.0 or higher > FreeType Supportenabled > FreeType L

[symfony-users] Re: Propel13 and sf1.0

2008-04-22 Thread Kiril Angov
Btw, phing has a final 2.3.0 release http://svn.phing.info/tags/2.3.0/classes/phing On Wed, Apr 23, 2008 at 2:46 AM, Kiril Angov <[EMAIL PROTECTED]> wrote: > I am using the Propel 1.3 Plugin and I had to do that same as you > about phing. Also I asked the symfony list if somebody

[symfony-users] Re: Propel13 and sf1.0

2008-04-22 Thread Kiril Angov
I am using the Propel 1.3 Plugin and I had to do that same as you about phing. Also I asked the symfony list if somebody knows how I can bundle phing with the plugin itself so that when you install the plugin you can also get the updated phing. I did not get any replies so I left it as is. If you

[symfony-users] Re: sfWebRequest error

2008-04-16 Thread Kiril Angov
Seems like it... create a ticket in Trac. Whatever it is it is not supposed to show fatal error but should handle it properly. Kiril On Wed, Apr 16, 2008 at 1:20 PM, Rytis Daugirdas <[EMAIL PROTECTED]> wrote: > > Hello, > > I need to be able to use request objects (sfWebRequest) in my > autom

[symfony-users] Re: sfPropel13 bug?

2008-04-16 Thread Kiril Angov
I think you are right that there is a problem, but it should be reported to the Propel guys rather than here. Just make sure you tell them details because I think the problem comes from sfPropelPager because it takes the empty Criteria and does $c->setLimit(0), $c->setOffset(0), etc and some other

[symfony-users] Install the new version of Phing into symfony 1.0 project

2008-04-14 Thread Kiril Angov
Hello, I spent 1+ hours trying to figure out how to upgrade the bundled phing version of symfony1.0 to the latest 2.3.0. The reason I want to do this is because I am using the Propel 1.3 plugin and with the latest SVN commits of Propel 1.3, they started using some of the newer features so I can n

[symfony-users] Re: sfPropelVersionableBehaviorPlugin: creating a new resource version without modifying the resource

2008-04-02 Thread Kiril Angov
Take a look at the sfModerationPlugin http://trac.symfony-project.com/wiki/sfModerationPlugin Kiril On Mon, Mar 31, 2008 at 3:32 AM, Francois Zaninotto <[EMAIL PROTECTED]> wrote: > Georg, > > I actually think that your use of the plugin is far from its original > purpose. The plugin does version

[symfony-users] Re: project global settings and how to retrieve them

2008-02-24 Thread Kiril Angov
TED]> wrote: > > 2008. 02. 22, péntek keltezéssel 14.44-kor Kiril Angov ezt írta: > > The global configuration file is project/config/app.yml > > actually there is no such file. > there is project/apps/appname/app.yml and that is for app-wide globals, > not project-wid

[symfony-users] Re: project global settings and how to retrieve them

2008-02-22 Thread Kiril Angov
The global configuration file is project/config/app.yml And inside: all: my_config: Hello and then you do sfConfig::get('app_my_config'); Kupo On Fri, Feb 22, 2008 at 11:44 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > just create a whatever.yml file in project/config dir and add this to

[symfony-users] Re: How to set an arbitrary HTTP response code?

2008-02-18 Thread Kiril Angov
Try this if ($this->getRequest()->getMethod() != sfRequest::POST) { $this->getResponse()->setStatusCode(403); $this->renderText('Forbidden!'); return sfView::NONE; } On Feb 18, 2008 11:38 AM, Donald Ball <[EMAIL PROTECTED]> wrote: > > Thanks for the pointer, but sadly my c

[symfony-users] Re: File based vs MySQL based View Cache

2008-02-11 Thread Kiril Angov
The other easy solution to this is to create an inmemory file system and symlink your cache directory there and have the benefits of the keeping the data in memory. http://en.wikipedia.org/wiki/TMPFS Kupo On Feb 11, 2008 5:04 AM, markus.staab <[EMAIL PROTECTED]> wrote: > > Hi, > > in my opinion

[symfony-users] Re: problem with mod_rewrite? and a missing slash

2008-02-09 Thread Kiril Angov
problem as symfony depends pretty much on the contents of $_SERVER and if the values are wrong you get wrong results. Kupo Matthias N. wrote: > On 9 Feb., 15:31, Kiril Angov <[EMAIL PROTECTED]> wrote: > >> If you use normal link_to call do they work correctly or all

[symfony-users] Re: problem with mod_rewrite? and a missing slash

2008-02-09 Thread Kiril Angov
If you use normal link_to call do they work correctly or all links have this problem. Also is it on the the admin area or your frontend has the same problem? You need to elaborate a little. Kupo Matthias N. wrote: > Hi, > > I have problems with mod_rewrite or at least something with url > stuf

[symfony-users] Re: Symfony a good framework choice for a social network type site?

2008-02-08 Thread Kiril Angov
I suggest you give symfony some more time and you will see that there is nothing amazingly complex about the structure of symfony as you can use symfony for easy stuff as well as go really complex, it is up to you. Kupo -kinetic wrote: > Would Symfony be a good framework choice for a social ne

[symfony-users] Re: DB connections without Debug toolbar

2008-02-08 Thread Kiril Angov
If you have done so, can you contribute it to sfFacebookPlatformPlugin? Kiril Balaji Srinivasan wrote: > Hi Mat > I have modified the SF Web Toolbar so that it works with Facebook. > Get in touch with me if you want a copy of it. > Balaji > > On Feb 8, 2008, at 4:50 AM, Mat wrote: > > >> Hey

[symfony-users] Re: New Symfony Project

2008-02-06 Thread Kiril Angov
Small clarification, the dwhittle branch integrates propel 1.3 with *symfony 1.1* markus.staab wrote: > maybe the dwhittle branch will help you, because it integrates > propel13 in symfony 1.0. > another solution would be to play around with the propel13 plugin > > > > --~--~-~--~--

[symfony-users] Re: Large Recordset running out of memory....

2008-01-31 Thread Kiril Angov
James, on first look your code does not seem to be very efficient and what you are trying to accomplish can be done with Propel. If you send me the create sql statement for the tables involved I can rewrite you script to show you what I mean. Kupo James wrote: > Hey Guys, > > OK, so I am brin

[symfony-users] Re: sfForms11Plugin issue with existing sfPropelUniqueValidator

2008-01-28 Thread Kiril Angov
I am using the plugin you mentioned and I had the same problem with the validator. I am afraid there is no solution yet but it is in on the way: http://trac.symfony-project.com/wiki/sfFormExtraPlugin There is no code there yet but on the TODO is a replacement for sfPropelUniqueValidator. You c

[symfony-users] Re: $sf_user in model?

2008-01-23 Thread Kiril Angov
sfContext::getInstance()->getUser() http://start.gotapi.com Ian P. Christian wrote: > [EMAIL PROTECTED] wrote: > >> static function getStaff($criteria = null, $con = null) >> { >> >> > > > sfContext::getInstance()->getRequest()->getUser() > > I think.. something like that. >

[symfony-users] Re: Rambo Facebook Application

2008-01-21 Thread Kiril Angov
xisting plugin, I too > am not one for repeating work! The main points would be addition of the > integration into bebo and also the ability to not require a login, making > the apps available outside of their containers. > > Any Thoughts? > > Mat > > -Original Mes

[symfony-users] Re: Sharing data between actions and components

2008-01-21 Thread Kiril Angov
t in > MVC. And that's haunting me :( > > On Jan 21, 2008 5:37 PM, Kiril Angov < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > I think you can only include partials from the global templates/ > folder > (because they are simple

[symfony-users] Re: Rambo Facebook Application

2008-01-21 Thread Kiril Angov
I strongly doubt that sfFacebookPlatformPlugin was "not flexible enough" in that respect. As a matter of fact you had a configuration option for the same feature (add vs login) And as "login" is pretty much included into "add" (if you add the application you pretty much login also). So I would

[symfony-users] Re: Sharing data between actions and components

2008-01-21 Thread Kiril Angov
include component from the global > application layout? > > On Jan 20, 2008 5:10 AM, Ant Cunningham <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > On Saturday 19 January 2008 5:35:33 pm Kiril Angov wrote: > > - $data)) ?> >

[symfony-users] Re: Symfonians, yet another place for the Symfony community

2008-01-20 Thread Kiril Angov
I must admit that I did not look with much hope at the site in the beginning but I just gave it another shot and yes, it DOES work. Really nice job and let's make sure it was worth the effort of Nicolas! Kupo Nicolas Perriault wrote: > Hi people, > > I've just pushed online a small project of

[symfony-users] Re: Sharing data between actions and components

2008-01-19 Thread Kiril Angov
- + $data)) ?> Ant Cunningham wrote: > can you not use: > > > > > On 1/19/08 12:47 PM, "Balaji Srinivasan" <[EMAIL PROTECTED]> wrote: > > >> Thanks Lee. >> This is what I mean. >> >> I have a page with a main part and a side bar. >> When the action method is called (say its executeDoStuff(

[symfony-users] Re: My Second Symfony Project

2008-01-16 Thread Kiril Angov
Man, no offend, but can you be positive about something ever? Anytime I see a post from you is either something like the bellow or worse :) rihad wrote: >> It is my symfony second project. Please visit here and give feedback >> > > Shriek of sorrow: Do NOT learn the way Symfony 1.0 does thi

[symfony-users] Re: Ultimate development machine :)

2008-01-15 Thread Kiril Angov
How much did you pay for the Sony? Lee Bolding wrote: > Not to mention user replaceable battery, increased battery life, greater > storage (I've got SSD AND regular HDD), greater connectivity (3 USB, 1 FW, > GB Ethernet, modem) and it doesn't have memory card slots for my camera and > camcorder :

[symfony-users] Re: Happy new year!

2008-01-01 Thread Kiril Angov
Happy New Year to you too. On Jan 1, 2008, at 9:29 AM, Stefan Koopmanschap wrote: > > I want to wish the whole symfony community a fantastisch new year! > Happy new year everyone! > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[symfony-users] Re: symfony on other web servers?

2007-12-19 Thread Kiril Angov
If you know lighttpd, this should be what you need: alias.url = ( "/sf/" => "/usr/local/pear/data/symfony/web/sf/" ) url.rewrite-once = ( "^/(.*)\.(.*)" => "$0", "^/([^.]+)$" => "/index.php/$1", "^/$" => "/index.php" ) Kupo Eno wrote: > On Dec 19, 12:36 pm, "Ian P. Christian" <[EMAIL P

[symfony-users] Re: Installation on Leopard

2007-12-18 Thread Kiril Angov
Any reason not to use http://www.zend.com/en/products/core/index Kupo Teck wrote: > Hi, > > I've been reading wiki articles on the official site such as: > > * http://trac.symfony-project.com/wiki/osXDevelopmentEnvironment > * http://trac.symfony-project.com/wiki/InstallingSymfonyWithoutPearOnMa

[symfony-users] Re: Changing Layouts Dynamically....

2007-12-15 Thread Kiril Angov
Please, be more specific than just "it did not work." If you look at your log/frontend_dev.log does it say that it could not find the layout file or some other error? Kupo James wrote: > Yeah I tried that too. That didn't work either. > > James > > > >

[symfony-users] Re: Changing Layouts Dynamically....

2007-12-15 Thread Kiril Angov
You should not specify the extentions of the template you want to change to. myOtherLayout.php -> myOtherLayout eg. sfConfig::setLayout('myLayout'); Kupo James wrote: > Hi Guys, > > I am working on a website idea that will need to have the layout > change for each different domain that hit

[symfony-users] Re: Symfony enabled webhosting for subdomains

2007-11-29 Thread Kiril Angov
Usually any host that let's you create a domain without checking if the DNS records for that domain point to their DNS servers will do the job. I can guarantee this for dreamhost which I had setup many times with domains that I do not even own. I can register google.com with dreamhost and they

[symfony-users] Re: dev x prod enviroment

2007-11-22 Thread Kiril Angov
Because the .htaccess files does not pass requests with file extension (.txt, .pdf, .etc). Look at the .htaccess file for details but you need to set up special case in your .htaccess file to also pass .pdf to to index.php Kupo g0d br wrote: > i just found out that if i get the link result fr

[symfony-users] Re: New symfony site using sfDimensions by amateur coder...

2007-11-19 Thread Kiril Angov
Great job, Jonathan, not shabby at all for antiques dealer. I am sure many "php developers" can learn a lot from you. Do not stop writing to the list and helping when you can, right :) Kupo Jonathan Franks wrote: > I just thought i'd post up about my new websites. They're not amazing in > any

[symfony-users] Re: Trying to have sfPropel13Plugin working

2007-11-18 Thread Kiril Angov
Simon, I had the same problem but I forgot what the solution was so I made a diff with my propel ini file and the solution proved to be adding this line to the propel.ini (right before propel.database.user) propel.database= mysql Kupo Simon Roby wrote: > As the title suggests I'

[symfony-users] Re: Can sfFinder class be used in php scripting

2007-11-15 Thread Kiril Angov
I think you should start with a quick tutorial in PHP before you even deal with symfony framwork classes. pal wrote: > I am trying to open a file which is on the Desktop but in some > subfolder (name of the subfolder unknown). The file is present in a > subfolder in lab1_new folder which is on d

[symfony-users] Re: Help: problem with accessing request parameter

2007-11-11 Thread Kiril Angov
$sf_request->getRequestParameter('propertyId') Sid Bachtiar wrote: > My URL is: > http://localhost/project1/web/admin_dev.php/myPicture/list/propertyId/3 > > But I can't get any value when I call > $sf_request->getParameter('propertyId') from the template > > Any idea? > > > > > --~--~

[symfony-users] Re: Database objects from batch scripts?

2007-11-09 Thread Kiril Angov
Eno wrote: > Just wondering how we can use the peer classes from batch scripts? How > do we use the sfDatabaseManager class? > > > > > > You can use the peer clases as long as you require_once the configuration file for the application: define('SF_ROOT_DIR',realpath(dirname(__FILE__).'/.

[symfony-users] Re: Propel difference

2007-11-09 Thread Kiril Angov
Is everybody not aware of http://trac.symfony-project.com/wiki/sfPropelMigrationsLightPlugin ? It will not solve your problem now but use mysql diff tool and then create a migration that you an run in production. And from then on use migrations everytime you make schema changes. Kupo Thierry

[symfony-users] Re: Shared Session

2007-11-08 Thread Kiril Angov
Just to make sure you noticed: mySessionDatabase: pdo: class: sfPDODatabase param: dsn: mysql://:@/ 'class' and 'param' should be indented at the same level (two spaces more than pdo) Kupo Carl Parrish wrote: > Okay I have two domains that are residing on separate comput

[symfony-users] Re: Docrine

2007-11-08 Thread Kiril Angov
> JOIN b ON > b.id <http://b.id> = ab.idb > GROUP BY > > > a.id <http://a.id> > > Is behaving just like you want but > > SELECT > a.id <http://a.id>, group_concat( b.b_val ) > &

[symfony-users] Re: Docrine

2007-11-07 Thread Kiril Angov
; > > > If this still does not fit your needs, you still can retrieve the PDO > handle to work directly with it: > $pdo_handle = Doctrine_Manager:: > connection()->getDbh( > ); > And you'll be able to query your database using PDO directly. > > > You

[symfony-users] Docrine

2007-11-06 Thread Kiril Angov
Hey guys, I finally decided to give sdDoctrine and Doctrine a try but after two days of trying to get the logic I am in a need of some help. As much as I tried to understand the whole DQL stuff (and I get the basics) but I have some table relations and I have no idea how to get my data out of

[symfony-users] Re: Use of APC in symfony

2007-11-02 Thread Kiril Angov
Looking at his http://dcytest.esv-media.de/phpinfo.php it seems like he removed APC and left Zend Optimizer. Kupo Grégoire Hubert wrote: > On 10/30/07, Kiril Angov <[EMAIL PROTECTED]> wrote: > >> Marco, >> >> I do not think you can run Zend Optimizer and

[symfony-users] Re: error in sfViewConfigHandler.class.php

2007-11-02 Thread Kiril Angov
Check the syntax of your view.yml files, you probably have an error somewhere (missing semicolon, etc) Kupo Thierry wrote: > Warning: htmlentities() expects parameter 1 to be string, array given > in D:\wamp\php\PEAR\pear\symfony\config\sfViewConfigHandler.class.php > on line 229 > > > any idea

[symfony-users] Re: File upload validation error

2007-11-01 Thread Kiril Angov
Cacho wrote: > Hi > > I've a form with various fields and a file field. > > In my validation file I did: > > --- > fields: > category_id: > required: > msg:CATEGORY_REQUIRED > type: > required: > msg:TYPE_REQUIRED > yearofcreation: >

[symfony-users] Re: Use of APC in symfony

2007-10-30 Thread Kiril Angov
Marco, I do not think you can run Zend Optimizer and APC together so you have to disable zend optimizer and then I am sure APC will work correctly. Kupo Marco Schierhorn wrote: > Thanks for your fast response. > I've already found that forum post, but unfortunately it didn’t help me. > I tried

[symfony-users] Re: validation files for different situations

2007-10-28 Thread Kiril Angov
validateXXX can be also used to overwrite validation from the yml file. So in your yaml file you put all the 4 fields. Then in your valdiateXXX method you check if the user needed to enter all 4 or just one and if the user did not need to enter all fields then you can use sfRequest->removeErro

[symfony-users] Re: Propel performance patch

2007-10-23 Thread Kiril Angov
Carsten > > > On 10/20/07, *drmikecrowe* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > We need some method for folks working on Propel13 to > collaborate. I > ported sfPropelFileStoragePlugin, and have sfGuard t

[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: Propel performance patch

2007-10-19 Thread Kiril Angov
I had to port one other plugin to Propel 1.3 and I was thinking at that time that just fixing it for me will not suffice so I was wondering at that time how to make the changes not break support for Propel 1.2 and I came to the following conclusion. if (method_exists(new TagPeer(), 'doSele

[symfony-users] Re: Propel performance patch

2007-10-15 Thread Kiril Angov
Piers Warmers wrote: > Hi all, > > I've just gone through my posts after the weekend and noticed: > > _http://www.hma-info.de/blog/2007/10/13/better-performance-patch-for-symfony-10x-and-propel-12/_ > > So I'm just wondering who's installed it and if there is any feedback > on how much performanc

[symfony-users] Re: New Symfony Facebook Application

2007-10-15 Thread Kiril Angov
ead and commit it, can > you update the README as well to reflect your changes? > > Thanks! > > -d > > On 10/13/07, *Kiril Angov* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Dave, I am building a Facebook application on top of Symf

[symfony-users] Re: Global configuration question

2007-10-14 Thread Kiril Angov
Charley Tiggs wrote: > On Oct 14, 2007, at 8:22 PM, Kiril Angov wrote: > >> Charley Tiggs wrote: >> >>> Howdy folks, >>> >>> I have a series of variables that I want to be available across all >>> applications. My attempt to set this

[symfony-users] Re: Global configuration question

2007-10-14 Thread Kiril Angov
Charley Tiggs wrote: > Howdy folks, > > I have a series of variables that I want to be available across all > applications. My attempt to set this up in project/config/config.php > failed because the configuration array apparently hasn't been > initialized yet at that point. So, what's the

[symfony-users] Re: New Symfony Facebook Application

2007-10-13 Thread Kiril Angov
Dave, I am building a Facebook application on top of Symfony and I took your sfFacebookPlatform plugin as a base and while putting it to real use I made several important improvements. Because this plugin in not just a sfFacebook kind of helper I wanted it to do all the heavy facebook lifting

[symfony-users] Re: Rename front controller?

2007-10-12 Thread Kiril Angov
You have to change the .htaccess file. You will see the reference to index.php there and change it to your liking. Kupo Eno wrote: > Is it possible to rename the default front controller for an > application from index.php to another name (like abc.php) ? > If it is, what configuration changes

[symfony-users] Re: "Ignorelist" Check

2007-10-08 Thread Kiril Angov
I would suggest you use a Propel Behavior for that. Take a look at http://trac.symfony-project.com/wiki/sfPropelSpamTagBehaviorPlugin for an example. The idea is that when the user is logged in you can get the user id and apply add that to the sql queries. But now when I read better your quest

  1   2   3   >