Needs work
Project:
Empty Page
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Reporter:
Anonymous (not verified)
Created:
5 Apr 2014 at 16:54 UTC
Updated:
4 Nov 2019 at 23:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedI created this patch that allows you to associate a custom template file to your callback.
I have added a checkbox in the "Add Callback" form, where you can choose if want to associate the following callback to a custom template file.
I also added a settings form, where you can set a custom path for your own template files, so if the template file is not in the default folder, here you can set a custom path.
Probably we can do better and better, but on my server seems to work fine.
Comment #2
Anonymous (not verified) commentedComment #3
calebtr commentedThe patch applies to 7.x-1.x, but it calls a database query on fields that don't exist.
We'll need to add a hook_update_N() to update the schema.
I also would prefer to see a template defined as a string - that way several callbacks can use the same template.