Copied to clipboard

Flag this post as spam?

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


  • Falle 2 posts 22 karma points
    May 23, 2012 @ 10:18
    Falle
    0

    2 Rookie questions: Template usage and basic ASP (Response.write) compilation error

    I'm very new at Umbraco and CMS website building in general, so forgive my questions, as my problems are probably due to my inexperience.

     

    First problem: 

    In my Settings->Templates (Runway installed) I have created new templates for use on a range of pages. They are mostly similar to my "Runway Textpage" except for small modifications.

    However:

    When editing properties for my page, I am not allowed to choose from my newly created templates. "Runway Textpage" remains my only option. What am I doing wrong?

     

    Second problem:

     

    I would like my templates to include ASP code, but when inserting a string, I get the following error:

     

    Again, what am I doing wrong?

     

    Any help would be greatly appreciated, as I feel positive about using Umbraco, but these problems are blocking my further learning. Thanks in advance! 

  • Paul Blair 466 posts 731 karma points
    May 23, 2012 @ 11:54
    Paul Blair
    0

    Prob 1: In the Settings section choose the Runway Textpage document type. There is a section on the Info tab for allowed templates.

    Prob 2: the best way to go about putting some dynamic content in there (which I assume is what you want to test) is to use a macro or if it is something simple try some inline Razor. Try watching this video: http://umbraco.com/help-and-support/video-tutorials/umbraco-fundamentals/razor/inline-razor-script - although there is a message about requiring a subscription for videos I believe the Razor videos are free for anyone to watch

  • Falle 2 posts 22 karma points
    May 23, 2012 @ 13:36
    Falle
    0

    Thanks a lot! Fixed problem 1 right away, looking into razor script now. 

Please Sign in or register to post replies

Write your reply to:

Draft