cannot create file view on category have blank in name

Apr 14, 2012 at 4:35 AM

Hi, i have a category "hot match", link name is "hot match".

I have created hot-match.view, but it does not overrides index.view. (If link name is hotmatch and file view is hotmatch.view, it is ok)

May some one help me?


Coordinator
Apr 14, 2012 at 4:57 AM

The documentation is a bit misleading. The view file name should always match what appears in the url. For posts this is the name, not the title. For categories this is the link name, not the name. The category name is more like a title, and is not used for a view file name override.