[symfony-users] Re: Content Negotiation Functionality

2011-03-31 Thread Tobias
Hey, that's also what I need. I made it work in sf1.4 but it was only hacked together. As far as I see such functionally is also not prebuilt in sf2. Thats a pity because its a regular use case. I imagine a custom route which supports to specify all available formats and then returns the most

Re: [symfony-users] Re: Content Negotiation Functionality

2011-03-31 Thread Gareth McCumskey
With symfony 1.x you can easily get access to ALL request headers in your controller actions. Using this, you can also alter the response headers as well as the content you respond with by reading what the request header is. If you wish to do this across an entire application you can also pre or

[symfony-users] Taxonomy / Content Categorization using Symfony

2011-01-12 Thread info contact
Hi, I am building a content driven forum website, where I am interested in auto-categorizing content into a taxonomy based on the text of the data. Is there any plugin or any easy way to do with Symfony. I am looking to have my own taxonomy. eg: Books = Computers, Books = Fiction etc.. based on

[symfony-users] Re: Content-type negotiation

2011-01-12 Thread Dennis
As far as real content negotiation as per the HTTP standard, choosing which one out of an offered, prioritized set of ACCEPT: mime types, I haven't seen anything done in Symfony on any forum, tutorial, etc. There MAY be a native way to to that in Symfony 1, using the config files, but I

Re: [symfony-users] Re: Content-type negotiation

2011-01-12 Thread Stéphane
http://www.symfony-project.org/api/1_0/sfWebRequest#method_getacceptablecontenttypes http://www.symfony-project.org/api/1_0/sfWebRequest#method_getacceptablecontenttypes ? Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée

Re: [symfony-users] Re: Content-type negotiation

2011-01-12 Thread Stéphane
I don't know if there is a way to say html first, then xml, then json, kind of 0.8, 0.5, etc. Regards, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Jan 12, 2011 at 4:54 PM, Stéphane

[symfony-users] Re: Content-type negotiation

2011-01-12 Thread Dennis
Of course, this has to be in both the template caching and the output caching as sperate items. On Jan 12, 7:51 am, Dennis gear...@sbcglobal.net wrote: As far as real content negotiation as per the HTTP standard,  choosing which one out of an offered, prioritized set of ACCEPT: mime types, I

Re: [symfony-users] Taxonomy / Content Categorization using Symfony

2011-01-12 Thread Alex Pilon
Check out the tagging plugin for doctrine.. http://www.symfony-project.org/plugins/sfDoctrineActAsTaggablePlugin I believe it is built by the punk'ave guys. On Tue, Jan 11, 2011 at 23:24, info contact iwant2don...@gmail.com wrote: Hi, I am building a content driven forum website, where I am

Re: [symfony-users] Taxonomy / Content Categorization using Symfony

2011-01-12 Thread Gareth McCumskey
Just to add ... bear in mind that symfony is not a drupal. Drupal is a CMS system whereas symfony is an MVC framework. Two entirely different things. On Wed, Jan 12, 2011 at 6:24 AM, info contact iwant2don...@gmail.comwrote: Hi, I am building a content driven forum website, where I am

[symfony-users] CSS Content-Type

2010-11-30 Thread Brandon Nason
I'm serving up dynamically generated CSS through symfony2 and the Content-Type that chrome/firefox is receiving is t. I've set the _filter for my route to css and there is a corresponding entry in the symfony HttpFoundation\File class. In my mainAction method of my CSSController I have the

Re: [symfony-users] No content

2010-02-02 Thread Javier Garcia
Hi, On 01/21/2010 06:01 PM, Eno wrote: Look at your web server error logs. Do you mean there are hosting providers that have error logs for FPT uploading? Javi -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Multiple content div loading with ajax/json

2010-01-27 Thread thrtst
Hi, I was wondering if could get help with the following, I have implemented external content loading using Ajax (see javascript code below). And now I would like to add multiple container loading functionality using a Json object code I have (see json object code below). Could you please help

Re: [symfony-users] No content

2010-01-22 Thread Gareth McCumskey
Use the dev environment controller as this will show you any error messages generated. For example, if your applications name is frontend you would load http://www.linuxpl.com/frontend_dev.php Also, make sure that permissions of the files on the server are correct and also do a symfony cc on the

Re: [symfony-users] No content

2010-01-22 Thread Gareth McCumskey
And I just went to the link you provided and all looks good On Fri, Jan 22, 2010 at 2:25 PM, Gareth McCumskey gmccums...@gmail.com wrote: Use the dev environment controller as this will show you any error messages generated. For example, if your applications name is frontend you would load

[symfony-users] No content

2010-01-21 Thread Pax95
I've installed a project in my local server - WampServer and it works successfully. I added test content and uploaded it into server (www.linuxpl.com) and it doesn't show anything. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this

Re: [symfony-users] No content

2010-01-21 Thread Eno
On Thu, 21 Jan 2010, Pax95 wrote: I've installed a project in my local server - WampServer and it works successfully. I added test content and uploaded it into server (www.linuxpl.com) and it doesn't show anything. Look at your web server error logs. -- -- You received this message

Re: [symfony-users] No content

2010-01-21 Thread Georg Gell
This happens sometimes when you have a fatal php error in the template (or a method called from the template) Am 21.01.2010 17:24, schrieb Pax95: I've installed a project in my local server - WampServer and it works successfully. I added test content and uploaded it into server

Re: [symfony-users] No content

2010-01-21 Thread Norbert M Haigermoser
Did you re-configure id for the new server environment (config/ database.yml etc... ) and a ./symfony doctrine:build --all --all-classes --no-confirmation Am 21.01.2010 um 20:30 schrieb Georg Gell: This happens sometimes when you have a fatal php error in the template (or a method called

[symfony-users] Re: Content Encoding Error when an exception is thrown and gzip is enabled

2009-08-03 Thread Gervasio
just a follow up... at lib/vendor/symfony/lib/exception/sfException.class you can read - line 63 error_log($exception-getMessage()); // clean current output buffer while (ob_get_level()) { if (!ob_end_clean()) { break; } }