Hello again, I've included more of my layout.php in case that is where I've managed to introduce an error.
<div id="content"> <?php if ($sf_params->get('module') == 'student') include_partial('Student/module_header') ?> <?php echo $sf_content ?> </div> On Thu, Sep 2, 2010 at 9:32 PM, Daniel Lohse <annismcken...@googlemail.com>wrote: > So, I had a look at it ought to work. ;-) > > Now, could you have a look at the generated code for me? Please look in > cache/backend/dev/modules/autoStudent/templates/indexSuccess.php and copy > this to pastebin.com? It could be that your module is named something else > I hope you'll spot it in there. > > Cheers, Daniel > > On 03.09.2010, at 09:07, Michael Hodges wrote: > > Thanks Daniel for the suggestions. I worked my way down the list. > The results are the same regardless of the yml section. > If I understand frontend vs backend, since I'm using only the backend, > view.yml is not applicable. Pls let me know if this is wrong. > By debugging I determined that "student" rather than the anticipated > "Student" would test correctly. > I've included my generator.yml at the end of this email. > > Many thanks for taking a look. Note that it worked fine before changing > the theme. > Alternatively, if there is an easy way to disable the Title feature, that > would work fine for now. > > - Michael > > generator: > class: sfDoctrineGenerator > param: > model_class: Student > theme: ahAdmin # or: > ahAdminGeneratorThemesPluginAdmin > # theme: admin > non_verbose_templates: true > with_show: false > singular: ~ > plural: ~ > route_prefix: student > with_doctrine_route: true > actions_base_class: sfActions > > config: > actions: ~ > fields: > doe_no: > label: State Id No > class_standing: > label: Class > is_retained: > label: Retained > help: Indicates that this student has been held back. > last_date_enrolled: > help: Most recent date that this student has been > enrolled. > date_format: MM/dd/yyyy > last_date_released: > help: Most recent date that this student has left or > matriculated out. Refunding a student will update this date. > date_format: MM/dd/yyyy > last_date_returned: > help: Most recent date that this student has returned > after a leave of absence. > date_format: MM/dd/yyyy > list: > title: Administer Students and Accept Fee Payments > display: [doe_no, full_name, class_standing, gender, > is_retained] > fields: > full_name: { is_sortable: true, sort_method: > orderByFullName } > sort: [full_name] > object_actions: > _edit: ~ > _delete: ~ > feepayment: > label: Accept Fee Payment > action: FeePayment > batch_actions: > StudentTransactionHistory: > label: View Student Transaction History > SetRetainedStudents: > label: Set Retained Student(s) > UnsetRetainedStudents: > label: Unset Retained Student(s) > # RefundReleasedStudents: > # label: Refund Released Student(s) > max_per_page: 10 > filter: > display: [doe_no, last_name, gender, class_standing, > gender, is_retained] > form: > display: [doe_no, last_name, first_name_midinit, > class_standing, gender, last_date_enrolled, last_date_released, > last_date_returned, is_retained] > edit: ~ > new: > fields: > doe_no: > label: Id No > > On Thu, Sep 2, 2010 at 8:56 PM, Daniel Lohse <annismcken...@googlemail.com > > wrote: > >> Mhm, as I'm the plugin developer I ought to know why it's not working for >> you. :) >> >> A few things come to mind: >> 1. Did you clear the cache after installing my plugin? >> 2. Does it work for any one of the generator.yml's sections (new, edit >> etc.)? >> 3. Does it work if you set the title in the view.yml of the corresponding >> module (Student/config/view.yml under — I'm guessing here — studentSuccess)? >> >> I noticed that you used "student" and "Student" and I'm not sure if that >> could be an issue (capitalization)? >> >> If none of these work, I'd like you to post your whole generator.yml, >> maybe I can spot it somewhere in there. I'm using this plugin in several >> production sites and this feature does work (especially when combined with >> the tsTitlePlugin plugin). >> >> Cheers and thanks for using my plugin! :) >> >> >> Daniel >> >> Sent from my iPad >> >> On Sep 3, 2010, at 8:31 AM, Michael Hodges <mhodg...@gmail.com> wrote: >> >> Hello all, >> >> I installed the plugin ahAdminGenerataorThemesPlugin for the multicolumn >> sort feature, which works beautifully. As a side-effect, the Customizable >> Titles feature is a problem for me. Searching the web, it doesn't seem to >> be a problem for others, so I must be overlooking something very simple. >> Hopefully someone can point out what I'm overlooking. >> >> For these instructions from the Readme: >> >> ### Customizable titles ### >> … add a partial "_module_header.php" with the following content: >> [php] >> <h1 class="whatever"><?php get_slot('module_header') ?></h1> >> And include that partial in your layout like so: >> [php] >> <?php include_partial('module_or_global/module_header') ?> >> >> >> I have implemented the following code: >> >> [layout.php] >> if ($sf_params->get('module') == 'student') >> include_partial('Student/module_header') >> >> [_module_header.php] >> <h1><?php get_slot('module_header') ?></h1> >> >> [generator.yml] >> title: Administer Students and Accept Fee Payments >> >> The title does not render. When I view the browser source I have the >> following: >> <div id="content"> >> <h1></h1> >> >> For some reason 'list.title' is not resolving correctly. >> Any recommendations? >> >> Thanks >> - Michael >> >> >> -- >> If you want to report a vulnerability issue on symfony, please send it to >> security at <http://symfony-project.com/>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 <symfony-users@googlegroups.com> >> symfony-users@googlegroups.com >> To unsubscribe from this group, send email to >> <symfony-users+unsubscr...@googlegroups.com> >> symfony-users+unsubscr...@googlegroups.com >> For more options, visit this group at >> <http://groups.google.com/group/symfony-users?hl=en> >> http://groups.google.com/group/symfony-users?hl=en >> >> >> -- >> 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 symfony-users@googlegroups.com >> To unsubscribe from this group, send email to >> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/symfony-users?hl=en >> > > > -- > 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 symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > > > -- > 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 symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en