Needs work
Project:
Advanced Help Injection and Export
Version:
6.x-1.0-alpha6
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2009 at 19:10 UTC
Updated:
16 Sep 2010 at 12:18 UTC
Jump to comment: Most recent file
Comments
Comment #1
robertdouglass commentedYou're right that at the moment it's not set up properly for this. I'll make this a critical issue for next release.
Comment #2
Rosamunda commentedThanks!
Comment #3
ianchan commentedsubscribe
Comment #4
ianchan commentedI haven't figured out how to do this in template.php. However, here's how to add theming to pages generated by this module.
1. Copy /drupal-install-path/sites/all/modules/advanced_help/advanced-help-popup.tpl.php to your theme folder.
2. Modify "function helpinject_popup" (around line 122) to this:
3. Edit the copy of advanced-help-popup.tpl.php that is in your theme folder
Note: $styles within the copy of advanced-help-popup.tpl.php that is in your theme folder does not include theme style sheets.
Comment #5
shaneonabike commentedThis worked great and it would be awesome to add this to the source code rather than patching the module :)
Actually I poked around Advanced help and found code for popups that I meshed with the code created above...
Mainly this is good b/c it suppresses the devel and admin_menu in the help popup. I ended up removing the status messages from the tpl file as well so that if there were any messages they wouldn't be displayed (to make this more of a popup style.
Awesome!
Comment #6
Rosamunda commentedThanks for the code!
So this is ready to be commited??
That´s good news!!!
Rosamunda
Comment #7
mrfelton commentedHere is a patch - popups look a million times better with this.
Comment #8
mrfelton commentedProblem is though, that the breadcrumbs and book navigation links don't work - you jump back to the main site theme when you use them.