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

irakli’s picture

Status: Active » Needs review
irakli’s picture

Status: Needs review » Fixed

Long 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.

irakli’s picture

Status: Fixed » Closed (fixed)