I'm a first-time Symfony user, so bear with me!
I installed the ahAdminGenerataorThemesPlugin to take advantage of
sorting by virtual columns, but I can't figure out how to get the
customizeable titles to work in my backend app.
To be honest, I've perfectly happy with the default titles, but am
willing to edit all the generator.yml files to set them manually. I
just can't get anything to display right now ... only an empty <h1></
h1> tag.
Can someone tell me what I'm doing wrong? I have the following:
# /apps/backend/templates/_module_header.php
<h1><?php get_slot('module_header') ?></h1>
# /apps/backend/templates/layout.php
...
<body>
...
<div id="content">
<?php include_partial('global/module_header'); ?>
<?php echo $sf_content ?>
</div>
...
</body>
...
# /apps/backend/modules/store/config/generator.yml
generator:
class: sfDoctrineGenerator
param:
model_class: Store
theme: ahAdmin
non_verbose_templates: true
with_show: false
singular: ~
plural: ~
route_prefix: store
with_doctrine_route: true
actions_base_class: sfActions
config:
actions: ~
fields: ~
list:
title: Store Listings
table_method: retrieveBackendStoreList
display: [ =name, street_address, city, region_name]
fields:
region_name: { is_sortable: true }
filter:
display: [ name, city, region_id]
form:
display:
Store: [name]
Address: [street_address, city, region_id, postal_code]
Contact: [phone, fax, url]
edit:
title: Edit Store
new:
title: Add Store
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en