I am sorry the guide did not work for you. I tried the same article and recorded a short video with the main steps. Everything worked as expected.
Please let me know if it still doesn't work for you or your have encountered problem with other of the guides.
Thank you for your reply. I viewed your screencast, and I did exactly what you did. The custom template simply does not display in the dropdown. Is this possibly because I am running the trial?
No, it can't be the trial.
Have you tried with some other widget? If not, can you try with let's say, the Navigation widget?
Also, please double check your page is based on the package you are modifying. I.e. if your page uses Foundation.default template, you should work in ResourcePackages\Foundation\MVC\Views\[widgetname]
The place you put the layout on the file system defines whether it is part of the package and which one.
See this one for a general explanation about packages and let me know if you have more questions:
Thank you so much for your help. You have been more helpful than anything I have read from Telerik. Using the info you provided, I was able to deduce that I could create a News folder under the MVC/View folder and place my template in there. That worked. It is good to know that I can just move the views I created to any of the included package folder structures and inherit their templates.
Now that I have the template working, I'm trying to display a custom field that is an image. Can you please point me to a tutorial that shows how to accomplish that in a custom MVC widget template?
Here's a guide how to add a related news item:
In your case, you need to add related media of type Image and access its properties in the template. To see the full list of properties of the Image item, please refer to Sitefinity API reference.
If you rather prefer a working sample, create a Dynamic content type with an image field. Sitefinity will auto-generate a widget with templates for it. Then go to Design -> Widget templates and have a look how your related data image field has been rendered in the the detail template for that widget.
I hope this helps,
I have an issue like that as well.
I Created a fully new Module with the Module Builder.
On custom field is an Imagefield and it renders it fine in the DetailsView BUT i also want to have the Picture in the ListView!
How can i handle this?