+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Website Templates vs Page Templates

Website Templates vs Page Templates

2 posts, 1 answered
  1. Joshua
    Joshua avatar
    8 posts
    Registered:
    11 Apr 2013
    14 Dec 2015
    Link to this post

    I'm working my way through the Sitefinity documentation, and I'm trying to get a firm grasp on the use case and distinctions between a website template and a page template.

    It seems to me that website templates are driven by ASP.NET master pages, while page templates are driven by metadata stored in the Sitefinity database, and that a page template might be used "inside" a website template. Have I got that right? Any clarification or correction would be much appreciated.

    Thanks!

      -Josh

    Answered
  2. Arnob Makhlaqur
    Arnob Makhlaqur avatar
    41 posts
    Registered:
    21 Nov 2016
    30 Dec 2015
    Link to this post
    Hello Joshua,

    Website template:
    - Container for the front-end themes, templates, widget templates and JS files (.master, .css, images, .ascx, .js etc.)
    - Define place holders for the content.
    - To get overall idea of the website template's file structure please read the following documentation: http://docs.sitefinity.com/website-templates-file-structure.

    Page Template:
    - Define the layout/template and Web framework/page mode.
    - layout/place holders can be derived from the .master file of the website template or can be based on other templates or can be created by using Sitefinity Layout editor.
    - Built in layout elements can be placed on the place holder to define the properties of the place holder (e.g.  Sizes, Spaces, CssClass) 
    - Contents (Navigation, Content block, Image etc.) can be placed on the page template with/without defining the layout elements.
    - To get overview on the page template please read the following documentation: http://docs.sitefinity.com/overview-page-templates.

    Regards,
    Arnob Makhlaqur
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 1 answered