Closed (fixed)
Project:
Custom Page
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2009 at 18:21 UTC
Updated:
24 Jul 2009 at 05:17 UTC
Had to remove any hyphenated key in order to get custom page to find the tpl file in the current theme.
news-update and news_update did not work, shortening it to news proved to be the key.
Placeholder issue, more details to follow.
Comments
Comment #1
irakli commentedComment #2
irakli commentedLong overdue comment on this:
1. Dash does not work in the key (i.e. template file's name). I suspect it is something related to theme engine (since code is just passing the name along), so not really too hot on worrying about this one, to be honest.
2. Underscore definitely works and we use it all the time.
Summary: please, use underscores and do not use dashes in the keys (i.e. theme file names).
Thanks for noting this issue, though.
Comment #3
irakli commented