No title displays. When I view the browser source I have the following: <div id="content"> <h1></h1>
<div id="sf_admin_container"> <div id="sf_admin_header"> </div> <div id="sf_admin_bar"> <div class="sf_admin_filter"> I'm still trying to understand how your plugin works, being new to symfony, but none of my changes have been able to influence the <h1></h1> output, which only reenforces the conclusion that the problem is really elsewhere. Maybe there's some interaction between plugins? $this->enablePlugins(array( 'sfDoctrinePlugin', 'sfDoctrineGuardPlugin', 'ahAdminGeneratorThemesPlugin', 'sfJqueryReloadedPlugin', 'sfPhpExcelPlugin', )); Doesn't seem like this would be the problem, but I'll change the order of the plugins, eliminate them, etc to see if I can isolate the problem. Thanks again for sharing your insights. Sorry for the long delays between emails. I think we are about 12 timezones apart. - Michael On Fri, Sep 3, 2010 at 11:49 PM, Daniel Lohse <annismcken...@googlemail.com>wrote: > Yeah, that's right, seems to be good. What title is actually displayed, if > any? > > > Daniel > > Sent from my iPad > > On Sep 4, 2010, at 8:21 AM, Michael Hodges <mhodg...@gmail.com> wrote: > > <http://pastebin.com/tRhm2jaW>http://pastebin.com/tRhm2jaW > > I'm new to looking at these, but the title is correctly inserted it seems > to me. I'll experiment with the other objects to see if I can figure out > what's different about this one. > > thanks again for your help and for recommending ways to troubleshoot this. > > - Michael > > On Thu, Sep 2, 2010 at 9:32 PM, Daniel Lohse <<annismcken...@googlemail.com> > 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 <http://pastebin.com>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> >> 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> >>> 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/> <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> >>> symfony-users@googlegroups.com >>> To unsubscribe from this group, send email to >>> >>> <symfony-users+unsubscr...@googlegroups.com><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> >>> 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 <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%2bunsubscr...@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 <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 <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%2bunsubscr...@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 <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