Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fernanda Bernardes 27 posts 147 karma points
    May 11, 2016 @ 12:42
    Fernanda Bernardes
    0

    Doubts error about ContentModels

    Hi, Folks!!!

    Somebody knows why this error occurred?

    enter image description here

    I have resolve change the lines:

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.Teste>
    @using ContentModels = Umbraco.Web.PublishedContentModels;
    

    (this line show when the template is created by Document Type)

    to

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
    

    (this line show when the template is created by option "Create" direct in Template tree)

    I´m using the Umbraco 7.4.3

    Tks.

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Oct 11, 2016 @ 21:20
    Alex Skrypnyk
    0

    Hi Fernanda,

    Try to check settings of ModelBuilder, looks like you are using it in wrong way.

    Read more about model builder configuration - https://github.com/zpqrtbnk/Zbu.ModelsBuilder/wiki/Install-And-Configure

    Hope it will help.

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft