Custom template naming conventions

Permalink
I'm curious if anyone knows or can explain if there are any type of naming conventions involved for custom templates. I had the following 3 custom templates built and "working"

enlil_likesthis_userlist_avatar
enlil_likesthis_userlist_avatar_small
enlil_likesthis_userlist_avatar_medium

when trying to add a template through the dialogue I was able to apply the first one but neither of the second two would apply. The block would just continue to save with no template.

Upon deciding to remove "enlil_" from the beginning of each template name, I'm now able to apply the last two.

Something with the length of the template name ??

Any insights appreciated!

enlil
 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
The database limits the names to 32 chars and truncates.

There is little point naming the original block, because the template will only appear for that block's template selection.

When a template is supplied from a package other than the package providing the block, I tend to use the supplying package name (or something like it)