[symfony-users] Re: Importing Prototype JS at the bottom

2008-06-04 Thread Sumedh
no one? :| On Jun 3, 1:56 pm, Sumedh [EMAIL PROTECTED] wrote: It is generally recommended that JS files should be loaded at the bottom of the page for fast loading of other resources... Symfony automatically loads Prototype.js for AJAX calls...and it's a huge file... How can I put that

[symfony-users] Re: routing : ability to change the module name?

2008-06-04 Thread Mauro Casula
I don't know if exist something like that.. I think you may use a sfFilter class and change routing depending on sf_culture. Mauro Casula Symfony-Framework.com On Wed, Jun 4, 2008 at 7:57 AM, simo [EMAIL PROTECTED] wrote: Hi list, I'd like to know if an advanced rule of routing allows us

[symfony-users] Re: routing : ability to change the module name?

2008-06-04 Thread Nicolas Perriault
2008/6/4 simo [EMAIL PROTECTED]: depending on the sf_culture, I'd like to have myapp.com/user/myname myapp.com/utilisateur/myname With symfony 1.0 it will be very very hard (if not impossible), but with 1.1 you can create your own routing class and include i18n mapping within in. ++ --

[symfony-users] Re: routing : ability to change the module name?

2008-06-04 Thread Gilles Doge
Hi, On 4 juin, 07:57, simo [EMAIL PROTECTED] wrote: depending on the sf_culture, I'd like to have myapp.com/user/myname myapp.com/utilisateur/myname I haven't seen this on the doc, or maybe I 've just missed it. Many thanks. simo In 1.0 you can try this tricky routing rules: en_user:

[symfony-users] Hai Need Help about installing thx

2008-06-04 Thread Mr B
Hai Iam Benedick Iam a new user to symfoni . Iam truing to install symfoni to my pc that already being installed with XAMPP . Is it ok to put the sf_sandbox under htcdoc folder ? sorry iam very new to this thing . Thank you. Regard Benedick

[symfony-users] Re: Hai Need Help about installing thx

2008-06-04 Thread Mauro Casula
Hi, You have to change your documentRoot to /sf_sandbox/web. I suggest you to read this after asking in this list: :P http://www.symfony-project.org/book/1_0/03-Running-Symfony Best Regards. Mauro Casula Symfony-Framework.com On Wed, Jun 4, 2008 at 10:42 AM, Mr B [EMAIL PROTECTED] wrote:

[symfony-users] Re: routing : ability to change the module name?

2008-06-04 Thread simo
Thanks to all @nicolas well, good to know. Actually, I'm starting a new project and i have some doubt on which version of symfony to use (i'm sf beginner). I've read it is better to do it using v1.1 but since there is not much documentation and most of SF plugins are not compatible yet, it's

[symfony-users] Output buffering overflow

2008-06-04 Thread Nicolas CHARLOT
Hi, An action generate a sitemap.xml. Since there are more than 7 000 urls, a white page is returned... I think it's a problem of output buffering overflow. If a warning or a notice is sent, the buffering is broken and we can see that the XML is fully completed. Is there a way to increase

[symfony-users] Re: indexing sfSimpleForum by sfLucene plugin

2008-06-04 Thread Cédric Sadai
I think you should give a look to Motilee: www.motilee.com / http://trac.motilee.com BR Cedric On Jun 4, 3:34 am, Mohammad Ali Safari [EMAIL PROTECTED] wrote: Hi I was wondering if anybody has experiences with using sfLuceneplugin for searching on forums built by sfSimpleForumPlugin. I

[symfony-users] Re: Importing Prototype JS at the bottom

2008-06-04 Thread Francois Zaninotto
You just need to call get_javascipts() at the bottom of your layout. This has already been discussed in the developers mailing-list: http://groups.google.com/group/symfony-devs/browse_frm/thread/20126167cba405d0/e0920794cb437c91?lnk=gstq=javascript+bottom#e0920794cb437c91 . Cheers, François

[symfony-users] Re: indexing sfSimpleForum by sfLucene plugin

2008-06-04 Thread Mohammad Ali Safari
Hi Cedric sfSimpleForum is pretty similar (at least in the inerface and capabilities) to Motilee. I actually want to know what the problem is as I may face it for other plugins too. I narrowed down the problem and it seems the behaviors are not working for my model. I suppose that this line

[symfony-users] Re: Symfony 1.1 embedForm

2008-06-04 Thread Dmitry Nesteruk
The correct binding is: $this-form-bind(array( 'journal[batch_id]' = $request-getParameter('journal[batch_id]'), 'journal[journaltype_id]' = $request-getParameter('journal[journaltype_id]'), 'journal[journalsubtype_id]' = $request- getParameter('journal[journalsubtype_id]'),

[symfony-users] Re: Symfony 1.1 embedForm

2008-06-04 Thread IsRobot
Thanks Dmitry but version 2) as you specified still fails the validation I'm afraid. Any suggestions for testing the validation to see where it is going wrong? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony

[symfony-users] sfConfig : Configuration not persistent ??

2008-06-04 Thread Shinkan
Hi there ! I'm finishing a Symfony application, and I'm currently writing a configuration module to principally change my app.yml settings. I've built a form (with about 1 field for each parameter of my app.yml), and submitting this form does sfConfig::set($parameter, $value) for each modified

[symfony-users] Re: Reverting Back to a Previous Version of Symfony

2008-06-04 Thread Jacob Coby
On Jun 4, 2008, at 12:54 AM, Ryan wrote: What about the /usr/bin/symfony script and initializing projects. How does it know which you want to use. You run the binary from the svn repo, not from /usr/bin. It's in the data/bin directory. I always run 'symfony init-project ' inside a

[symfony-users] Re: indexing sfSimpleForum by sfLucene plugin

2008-06-04 Thread Cédric Sadai
Hi, You really should download the app, and go through the code. It's built on both of the plugins you are referring to. hth, Cedric On Jun 4, 4:15 pm, Mohammad Ali Safari [EMAIL PROTECTED] wrote: Hi Cedric sfSimpleForum is pretty similar (at least in the inerface and capabilities) to

[symfony-users] Re: indexing sfSimpleForum by sfLucene plugin

2008-06-04 Thread Mohammad Ali Safari
That's a very good idea; thanks. --Mohammad On Wed, Jun 4, 2008 at 9:14 AM, Cédric Sadai [EMAIL PROTECTED] wrote: Hi, You really should download the app, and go through the code. It's built on both of the plugins you are referring to. hth, Cedric On Jun 4, 4:15 pm, Mohammad Ali Safari

[symfony-users] Re: indexing sfSimpleForum by sfLucene plugin

2008-06-04 Thread Mohammad Ali Safari
In motilee, the line // Lucene initialization sfLucenePropelBehavior::getInitializer()-setupModel('sfSimpleForumPost'); is put in apps/frontend/config/config.php Is that the right place? --Mohammad On Wed, Jun 4, 2008 at 9:15 AM, Mohammad Ali Safari [EMAIL PROTECTED] wrote: That's a very

[symfony-users] Re: Output buffering overflow

2008-06-04 Thread Eno
On Jun 4, 6:29 am, Nicolas CHARLOT [EMAIL PROTECTED] wrote: I think it's a problem of output buffering overflow. If a warning or a   notice is sent, the buffering is broken and we can see that the XML is   fully completed. Is there an error message in your logs (symfony and/or Apache) that

[symfony-users] Re: Website uptime

2008-06-04 Thread Ian P. Christian
Daevid Vincent wrote: Seriously, just install Nagios http://www.nagios.org on a few servers that point at each other and don’t waste your time with these “free services” – you get what you pay for. (well, Nagios is free too, but in a FOSS way, not a crappy-service way) I concur - I use

[symfony-users] Re: routing : ability to change the module name?

2008-06-04 Thread Cédric Sadai
Well, this is only a guess and I might be wrong, but a brand new plugin seems to allow to do that: http://trac.symfony-project.com/wiki/ysfR3Plugin With it you can insert internationalizable words in any yml config file, so maybe you can have rules like that: @rule:

[symfony-users] Indentation while defining a multiple line string in YAML

2008-06-04 Thread isleshocky77
Listing 5-3 of http://www.symfony-project.org/book/1_0/05-Configuring-Symfony has Indentation doesn't appear in the resulting string ; but I need indentation in that resulting string. Is there a way to do this? My example of why is from the sfDoctrineSimpleCMSPlugin fixture file.

[symfony-users] Re: Indentation while defining a multiple line string in YAML

2008-06-04 Thread Fabien Potencier
try home_en_slot3: value: test1: component: sfSimpleCMS/latestPages -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 isleshocky77 wrote: Listing 5-3 of

[symfony-users] Setting the primary key (id) as the value in options_for_select

2008-06-04 Thread Haider Al-Mosawi
Hello all, I'm using an array of objects to populate a drop-down menu. By default, it's setting the option values to 0, 1, 2, 3, etc. However, I would like to use the object id as the value for the option, rather than the number sequence. How can this be done? My select tag looks like this:

[symfony-users] Re: Indentation while defining a multiple line string in YAML

2008-06-04 Thread isleshocky77
According to the manual page that character causes all lines below to be turned into a one line string. I tried it anyways and received a yaml error as surrounding it with quotations caused. I need to keep the two line breaks but also have indentation of the second line. -- Stephen Ostrow

[symfony-users] Re: sfConfig : Configuration not persistent ??

2008-06-04 Thread Richtermeister
Hey there, this is correct. changes to the config via sfConfig are not persistent, and they should not be. After all, that's what all the config yml files are good for. Just set all your persistent settings in there. Runtime changes to the sfConfig object should only be done to adjust for

[symfony-users] Re: blog and or email platform needed to incorporate into our social site

2008-06-04 Thread Neonard0
sfSimpleBlogPlugin is a good starting point but you should know that the plugin has been made to function just for one (1) aplication, I mean the plugin is not multiuser (just one blog per application), I mentioned this because for social sites is often to provide a blog for every user, so maybe

[symfony-users] Schema - Adding index without overriding defaults

2008-06-04 Thread jmazzi
Is there a way to add an index to a column without overriding all the 'magic' symfony does on a foreign key? Example: account_id: { index:true } // when you add this, it is no longer a foreign key. --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Bump: Functional tests of file uploads?

2008-06-04 Thread isleshocky77
Does anyone know how to do a functional test on a field which has a input_file_tag in it? Was asked here a long time ago without response: http://groups.google.com/group/symfony-users/browse_frm/thread/8689db669eaed1c6/b60566061185287c --~--~-~--~~~---~--~~ You

[symfony-users] symfony plugin-install OLD VERSIONS!!

2008-06-04 Thread xanders
When using symfony plugin-install http://plugins.symfony-project.com/sfReCaptchaPlugin i only get version 1.0.1 when on the wiki page http://trac.symfony-project.com/wiki/sfReCaptchaPlugin it is shown as the latest is 1.0.4 ?? same problem with symfony plugin-install

[symfony-users] Re: routing : ability to change the module name?

2008-06-04 Thread xanders
this may be what you are looking for http://prototyp.ical.ly/index.php/2007/08/29/routing-international-urls-in-symfony/ have to use the included helper though. not all link_to()'s will do it automatically i dont think. in symfony 1.1 the routing factory is configurable so you will be able to

[symfony-users] Re: indexing sfSimpleForum by sfLucene plugin

2008-06-04 Thread Mohammad Ali Safari
I still don't get a solution to this problem. I trace it and it shows that *sfLucenePropelBehavior::getInitializer()-setupModel('sfSimpleForumPost');* is called. But the model class *sfSimpleForumPost* does not have any method called saveIndex; that means these methods are not registered for it.

[symfony-users] Re: indexing sfSimpleForum by sfLucene plugin

2008-06-04 Thread Carl Vondrick
Hi, I have never used sfSimpleForum, however... 1) did you try putting it config.php as earlier suggested? 2) check to make sure that Propel behaviors are enabled in sfSimpleForum (ie, don't use the bundled models). Carl On Wed, Jun 04, 2008 at 06:54:55PM -0600, Mohammad Ali Safari wrote: I

[symfony-users] Re: sfConfig : Configuration not persistent ??

2008-06-04 Thread Carl Vondrick
On Wed, Jun 04, 2008 at 07:48:55AM -0700, Shinkan wrote: I would like to make these parameters values PERSISTENT for all the app, until I clear the cache so the parameters can take their original app.yml values. Are you sure these values should not go in some sort of database? You must write

[symfony-users] sfSwiftPlugin

2008-06-04 Thread Jonathan Wage
Anyone know who the owner of the sfSwiftPlugin is? All the e-mail addresses I found when searching around a bit returned back as not valid e-mail addresses. Is Gordon Franke still the owner? Thanks, Jon -- Jonathan Wage http://www.jwage.com http://www.centresource.com

[symfony-users] Re: indexing sfSimpleForum by sfLucene plugin

2008-06-04 Thread Mohammad Ali Safari
Hi Carl 1) YES 2)Yes they are enabled. In fact it works fine with my other models. I ended up manually calling mixings in save and delete methods of the sfSimpleForumPost class. I still don't know why they are not called automatically, though. --Mohammad On Wed, Jun 4, 2008 at 7:37 PM, Carl

[symfony-users] Symfony Users

2008-06-04 Thread Jas
www.freeservice6.blogspot.com --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to