craft-build-query icon indicating copy to clipboard operation
craft-build-query copied to clipboard

Problem with extending EntryModel

Open aelvan opened this issue 8 years ago • 1 comments

I tried using your trick with extending the EntryModel to add another field (count) to the existing ones. Problem is, if I do it the same way that you do, custom fields are not available in the templates under their usual handle, myCustomField, but as field_myCustomField. Title and count is available as you show in your example, but not custom fields. I tested this with your plugin too, and get the same result.

Any idea if this is possible to fix?

aelvan avatar Feb 15 '16 10:02 aelvan