I am having a content type with fields select list, js, css, and body. In the select box it list a number of templates to apply on the current node. I have these custom templates in the templates folder of the active theme, in the format
And on select list I have blank and custom1 as options. In the hook_preprocess_node, using theme_hook_suggestions I have did the same,
$variables['theme_hook_suggestions'] = 'my_module_' . $field_template_list;
But it is not taking the template, In addition I need to use hook_preprocess_html to include the custom css and js added to fields of content type to the header portion. I didn't find any proper documentation on it.
Please show me a better documentation so that I could implement.