Copied to clipboard

Flag this post as spam?

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


  • Brad 94 posts 151 karma points
    Jul 25, 2013 @ 03:01
    Brad
    0

    Add a document type to an existing template?

    I have a master template on my site that does not have a document type. It is just basic structure of the site including the top nav and a side nav etc along with a bodyConent area where the pages put their stuff. 

    However I have a requirment now to add a managable bit of text on the side nav that is in the master template.  Something a content editor can edit. 

    What would be the best way add an editable property to a master template?  Would I add document type it? Or is there a better way? 

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jul 25, 2013 @ 10:33
    Jan Skovgaard
    100

    Hi Brad

    Is it a text that should stay the same on all pages on the website? I mean is it a general text?

    I would probably add a new property on the "home/frontpage" document type and then create a macro to render the text, which would be placed on the master template in the sidebar section of your markup.

    Hope this helps.

    /Jan

  • Brad 94 posts 151 karma points
    Jul 26, 2013 @ 01:50
    Brad
    0

    Thanks Jan. That did the trick nicely. 

Please Sign in or register to post replies

Write your reply to:

Draft