I'm using Symfony 1.4/Doctrine's admin generator.
There's a list of questions and I'd like to be able perform a custom object_action on each of them.
What I'm looking for is to mimic the _delete object action but doing some calculation before that.
So I created a new action :
public function executeListDeleteAndRecalculate(sfWebre...
I'm using Symfony 1.4 and Doctrine.
Let's say I have 2 classes : a Brand and a Product.
When I create a new product in the Admin Generator based admin, I'd like to choose a brand from a dropdown list.
The Admin Generator is doing that for me, automatically creating a sfWidgetFormDoctrineChoice.
The problem is that the brands are order...
I'm using Symfony 1.4 and Doctrine.
My application's backend was built using Symfony's admin generator.
It works great when I want to display basic stuff.
But tehre's not a lot of documentation on how to enhance it and add new pages.
Let's take an example:
I want to list published items on one page and to-be-published items on another...
Hi,
I've generated the backend of my application, and am now just 'jazzing' the forms up (adding correct labels, validation rules etc).
One thing I'd like to do is add a map (Google) which updates the marker as an address is entered into the form, then allows the user to drag it to correct the lat/lng should it be a little off.
My que...
When configuring my admin generator I created a table_method for my list view in order to join the correct tables and so on.
However, in my edit post / create post sections I have a rather extensive dropdown that is not joined at the moment. Is there an equivalent to table_method that I can use for these situations to specify the method...
Hi Volks,
I have a weird problem with my i18n doctrine schema and i.a. the admin generator.
(Please look at the edit part below first)
The schema looks like:
CargoSize:
connection: doctrine
actAs:
Timestampable: ~
I18n:
fields: [name, linkname, seoname, description]
tableName: com_cargo_size...
I'm doing a blog engine in Symfony. Here's part of my schema :
Content:
connection: doctrine
tableName: ec_content
columns:
id:
type: integer(4)
fixed: false
unsigned: true
primary: true
autoincrement: true
(...)
relations:
Author:
local: author_id
foreign: id
type: one
...
In the administration generated by symfony, how do I override the method executeIndex() ?
I want to list only the items that have a specific state, and all I found in cache/backend/dev/modules/auto.../ was :
$this->pager = $this->getPager();
How do I change the query used by the pager ?
...