Questions tagged [symfony1]

Symfony was initially introduced as the premier iteration of a comprehensive stack MVC framework catered towards PHP 5.

The Backbone.js model attribute is mysteriously coming back as undefined, even though everything seems to be set correctly when

After experimenting with backbone for a few days, I seem to be struggling with understanding the sequence in which backbone ultimately assigns an attribute within a model. Below is the code snippet that I am working with: Contained in a model.js file - S ...

A guide on utilizing Symfony 1.4 to extract i18n translations using catalogues

Is it possible to retrieve all the translations (both translated and untranslated) from a specific catalog using Symfony 1.4? I am currently utilizing the default message source (XLIFF). It is crucial for me to extract these strings from another applicatio ...

Using PHP Propel ORM to perform a left join on a many-to-many relationship in MySQL

There are two tables I'm working with: one called "meeting" and the other called "attendance". The "attendance" table is a many-to-many relational database structured as follows: Attendance: user_id | meeting_id | invited --------+----------- ...

Incorporate the "Enhanced WMD Editor" into textareas that are dynamically loaded through AJAX forms

Our team is currently integrating Stackoverflow's WMD / Markdown editor into a Symfony project. We have managed to successfully implement it on textareas that do not involve any AJAX. However, we are facing challenges when we need to load the textarea ...

Submitting Symfony form to the same URL

Seeking advice on how to create a form with text fields and a preview button that submits the form to the same controller, extracts the values, and populates another form for the template display. As a newbie, I'm looking for clear guidance on the bes ...

protecting symfony batch actions

Here is the configuration from my security.yml: all: is_secure: true new: credentials: [add_ticker_source] edit: credentials: [edit_ticker_source] delete: credentials: [delete_ticker_source] batchDelete: //Is it supposed to be batch_delete? c ...

Creating an event listener that can detect changes to a specific field before or during a save action

I am facing a challenge in updating specific fields during a save operation, but only when one particular field is being modified. I'm unsure of how to achieve this. Additional information: If a user is editing the 'is_activated' field in m ...