Questions tagged [symfony-1.4]

Questions about Symfony version 1.4, a PHP framework by Sensio Labs.

Symfony is a PHP Web Development Framework developed and maintained by Sensio Labs.

The symfony 1.4 version is the last Long Term Support release for the symfony 1.x branch and it is maintained until November 2012.

You will find more information about documentation, detailed installation guide and changelog on the official website.

This tag is specific for the 1.4 version of Symfony. See the tag for Symfony 1.x in general. If your question targets Symfony 2.x, use instead.

Symfony 1.4 is released under the MIT license.

2428 questions
0
votes
2 answers

Symfony - Changing templates for embedded forms

I have made a form which embedded forms to add new records in a one-to-many relationship with ajax, my question is, where do I edit the template for the embedded form? because I would assume this would be in _form.php but it doesn't seem to use that…
dazpinto
  • 105
  • 1
  • 9
0
votes
1 answer

sfBBCodeParserPlugin, problems with partial

I use symfony 1.4.8 , and sfBBCodeParserPlugin It works , but I have problem with partial. My IndexSuccess include_partial('post/list', array('voice_posts' => $voice_posts)) ?> In _list.php echo…
denys281
  • 2,004
  • 2
  • 19
  • 38
0
votes
1 answer

Database connection is not working - Symfony 1.4

I am working in a legacy application which is developed with symfony 1.4. I am trying to setup the old symfony project in my computer. But when I am running the project I am getting the following issue. My database authentication has been provided…
Ruchira Chamara
  • 345
  • 2
  • 7
  • 20
0
votes
1 answer

Symfony 1.4 functional testing pre selected option in select tag

I have a certain response page which contains a form with a < select> tag with certain < options>, and one of them previously selected. Is there a way to functionally test that certain option has been selected by default in this response? I tried to…
Javier Novoa C.
  • 11,257
  • 13
  • 57
  • 75
0
votes
1 answer

symfony - admin 404

I'm trying to create a custom 404 page in my admin when something goes wrong and a 404 is thrown. In my settings.yml file in: apps/admin/config/settings.yml I have the following: all: .actions: # 404 module/action error_404_module: …
terrid25
  • 1,926
  • 8
  • 46
  • 87
0
votes
1 answer

How can you add Symfony form fields based on failed validation?

Basically, my model requires that an object is tied to a physical location. For this I'm pulling locations from an API via AJAX using keywords entered by a user in a text field, jQuery autocomplete is setup to set a hidden field to a unique ID when…
Steve
  • 5,771
  • 4
  • 34
  • 49
0
votes
1 answer

Symfony: Can a component skip rendering the partial?

In my view I always want to call a component, but the component sometimes doesn't have to render anything. Is it possible in this situation to tell symfony to skip rendering the partial? Rendering an empty partial feels a bit ugly...
Jeroen
  • 3,399
  • 1
  • 22
  • 25
0
votes
2 answers

symfony - saving blob data image sizes

I have a form, PhotoForm, which has an emebedded BlobDataForm. I can save the blbo data fine, my problem comes, with the blob_data table. I have 2 fields, image_width and image_height. I'd like to save these details as well, when the blob is…
terrid25
  • 1,926
  • 8
  • 46
  • 87
0
votes
1 answer

Symfony, Doctrine Guard Plugin, generator.yml file, customizing by using another module

I am using Symfony 1-4 and sfDoctrineGuardPlugin. My question is, on Doctrine Guard Plugin as you know each module came with generator.yml. And i need to customize generator.yml. For example, i need to display another table's (module's) column. //…
Erman Taylan
  • 383
  • 1
  • 3
  • 12
0
votes
5 answers

assigning a value to form widget

i have a form widget in _form.php echo $form['catcher_id']->renderLabel(); //the label echo $form['catcher_id']->renderError(); //the validator symfony created the base class:
charlie_cat
  • 1,830
  • 7
  • 44
  • 73
0
votes
1 answer

symfony 1.4 using post validator in New action throws error

I have the following action for a form. In the MyForm definition, I added post validator, so I can validate two fields at a time by certain condition. The problem comes when, after passing validation, symfony sends me an error, and also stores null…
Javier Novoa C.
  • 11,257
  • 13
  • 57
  • 75
0
votes
1 answer

Orange HRM Hidden Form Values based on User. Based on Symfony Framework

I was tasked with changing the form in the our in-house HR App which is based on OrangeHRM. FileName: AddEmployeeForm.php Form code: $this->widgets = array( /* Menyra sesi kodi arranzhon input format eshte e tille. …
Bentnew
  • 1
  • 2
0
votes
1 answer

symfony 1.4 validate two fields at the same time [was "modify response content in processForm"]

I'm trying to modify the content of the response from some actions in Symfony 1.4. When I process some forms, and after some conditions, in processForm method (the one called for form binding, and giving the final result of the form processing…
Javier Novoa C.
  • 11,257
  • 13
  • 57
  • 75
0
votes
1 answer

sfWidgetFormPropelChoice newbie problem help needed please

i have the following code: abstract class BaseLpmServiceForm extends BaseFormPropel { public function setup() { $this->setWidgets(array( 'id' => new sfWidgetFormInputHidden(), 'name' =>…
charlie_cat
  • 1,830
  • 7
  • 44
  • 73
0
votes
2 answers

How to change header title of new page in orangehrm

I have created a menu and a page using data from a database. But my problem is that I want to change the page header title. I am unable to find the page where to change it. See screenshot…
eharaj husain
  • 193
  • 3
  • 12
1 2 3
99
100