All talks > Talks tagged with document

 
General Symfony 2 discussion • Composer Vendor/Bundle Installation Not Working As Expected

Hello everyone,I'm new to using Symfony2 2.1.X, thus I am having some issues. The Symfony2 document[...]

General Symfony 2 discussion • Class property required only if used in form but not if not

I'll be embedding an upload file from my Document class into multiple web forms. Sometimes I'll use[...]

General Symfony 2 discussion • One Entity for Multiple Children

I have one Document entity (and corresponding DocumentType form class) that I would like to be able[...]

General Symfony 2 discussion • Multiple Entities. One Form.

Symfony noob here. I have a Document entity/table that I would like to persist to when the user is [...]

Symfony 1.4 set content type as MS Word document

I have the following action: public function executeGpletter(sfWebRequest $request) { $this->getResponse()->setHttpHeader('Content-Type', 'Content-type: application/vnd.ms-word; charset=utf-8'); $this->getResponse()->setHttpHeader('Content-[...]

How to append elements to an Object when serializing with JMSSerializerBundle?

Here is what I want to do: I've an object, let's say Article with two property id and title I want to serialize it using JMSSerializerBundle, either in XML or JSON (but it should applies to any supported format) While serializing, I want to append some informations so the seriali[...]

Retrieve parent document with a doctrine2 or mongodb query

I am using Symfony 2.1 and Doctrine - MongoDBBundle. I have three documents. The first is a company, which I call "Institution". The second are contacts inside the institution, and the third are the talks the user had with the contact. Contact and Exchange are embedded into Inst[...]

How to deal with relative paths in Symfony 2?

It seems like you get different relative paths depending on how you are executing the script: console or web. I find this extremely annoying, haven't you had any issues with this? Every time I need to copy/move/delete files, I have to be thinking if I'm on cli or web, if I saved [...]

Different result from document manager in Symfony2

I'm trying to write some functional tests in Symfony2 with MongoDB, but I can't figure out the problem that I am having. In test I edit an object via form, and than fetch it with the document manager, but I keep getting unchanged data. If I look into DB, the data is properly change[...]

Symfony 2 asset management serious bug or my bad?

I moved all css/js/images from app/Resources/public to the more appropriate place, that is the main bundle. I'm having a lot of problems. Bundle folder struncture: - AcmeHelloBundle - Resources - public - css - style.css - img - body-bg.png [...]

 
 
 
 
Want to support this service?