Copied to clipboard

Flag this post as spam?

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


  • Tony Stewart 2 posts 22 karma points
    May 06, 2015 @ 01:37
    Tony Stewart
    0

    Preview shows template change but not when published?

    Very new to Umbraco. I'm sure this is a very easy thing but my situation is that I have modified an existing template to add just one more line of text onto a page. I first created the new property on the document under 'document type'. I then went to Templates and inserted the respective new field. Saved with no errors.I go to the content editor page and can see the new field is there, I type in some test text and click 'Preview' and can see the test text but when I click "Save and Publish" I don't see it on the live site. I am not sure what I'm missing but if anyone can fill in the blank that would be very helpful.I'm using umbraco version 7.1.6. ASP.NET 4Thanks in advance!

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    May 06, 2015 @ 09:36
    Dennis Aaen
    0

    Hi Tony and welcome to our.

    It sounds like you just have saved the changes, but not hit the save and publish button. If you just hit save, then your changes would not be visible on the frontend until you hit the save and publish button. Since you are using Umbraco 7, did your node have a small green plus on the page?, if so, then you only have save the content but not published yet.

    Try to see this video about the subjec, the there are also some written documentation. http://umbraco.tv/videos/umbraco-v7/content-editor/basics/changing-content/publishing-content and http://umbraco.tv/videos/umbraco-v7/content-editor/basics/changing-content/publishing-content/documentation

    /Hope this helps,

    /Dennis

  • Tony Stewart 2 posts 22 karma points
    May 06, 2015 @ 19:55
    Tony Stewart
    0

    Hi Dennis,

    Thanks for responding. Actually that wasn't the issue. It was saving and publishing properly. The issue was that the developer who put this togther assigned everything at the //events level (Umbraco.TypedContentAtXPath("//Events") to a variable:

    var eventNodes = Umbraco.TypedContentAtXPath("//Events");

    So my code had to be changed to this: @eventNode.GetPropertyValue("moreInfo") instead of @Umbraco.Field("moreInfo")

    I have several questions from this? This site is using an MVC pattern, is that something chosen at the time of design or is that by default a way that Umbraco works. I'm familiar with MVC but not overly versed in it.

    Thanks again for your response.

    Tony

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    May 06, 2015 @ 20:05
    Dennis Aaen
    0

    Hi Tony,

    From Umbraco 7, Umbraco is using MVC as default, but it doesn't mean that you canĀ“t change it to run in WebForm mode, if you have a developer that is more famillar with WebForms.

    You just need to do a litle change to the /config/umbraco.Settings.config. Try to see this video from Umbraco TV that explains it http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/installation/setting-up-the-rendering-engine/ There is also some written documentation http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/installation/setting-up-the-rendering-engine/documentation

    Hope this helps,

    /Dennis

     

Please Sign in or register to post replies

Write your reply to:

Draft