When creating a module with an embedded default view I wanted some custom theming; this required a custom template file. Looking at the Advanced help page "Using default views in your module" I saw the code I needed to get the job done by implementing hook_theme() in my module, but it didn't work.

After playing with the cide for a couple of hours I came up with something that works.

This patch modifies the Advanced Help file to add what I think is necessary for others to be able to get this accomplished.

CommentFileSizeAuthor
views-adv_help_bug.patch2.06 KBjrglasgow
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Reviewed & tested by the community

Patch works fine, and makes sense.

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed to all branches!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.