Closed (fixed)
Project:
Skinr
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2013 at 21:45 UTC
Updated:
10 May 2013 at 23:00 UTC
Jump to comment: Most recent file
When a skin is defined in *.skinr.inc (which is auto-loaded for select hooks), and include a custom 'form callback' function, the includefile won't be loaded when displaying the skin settings form (e.g. /admin/structure/skinr/edit/block/system__user-menu/configure ) resulting in the form element not being created.
We'll need to add custom loading of *.skinr.inc file when a skin with the a 'form callback' is defined in the *.skinr.inc file.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | patch_commit_7f112bd27bdf.patch | 3.92 KB | moonray |
| #1 | patch_commit_0b3a8b6ab045.patch | 2.93 KB | moonray |
Comments
Comment #1
moonray commentedAnd here's a patch.
Comment #2
moonray commentedNeeded to tweak some test to account for new 'include file' for all $module.skinr.inc, even when they're normally auto-loaded.
Comment #3
moonray commentedCommitted. This fixed testing issues.