Login

Recover Your Password

Welcome

Bring Your Vision To Life

We provide software and services that enable our customers and partners to turn advanced technology into real solutions.

What We Do

Contensive works as a team member with client partners, providing the highest level of technical competence and support in the design, production, management & lifecycle support of online applications.

api illustration
API Integration

You name it, we can integrate it

mobile development illustration
Mobile App Development

Custom mobile apps that can do everything

cloud app dev illustration
Cloud Application Development

Customized applications with the features you need

cloud host illustration
Best-In-Class Cloud Hosting

AWS platform, the leader in cloud computing

life cycle illustration
Life Cycle Management

Continuous monitoring, user support, and training

business process illustration
Business Process Automation

Streamline your operations and increase efficiencies

Let’s work on a solution to your problem today!

Process

Agile Software Development Process

Benefits

Why You Should Choose Contensive

The greatest product we offer is our experienced team and our dedication to real-world, time-tested principles: a realistic budget, a disciplined process, and enough flexibility and creativity to accommodate any requirement.

contensive favicon
Proven Development Process

Our agile scrum process allows total transparency

contensive favicon
Time Tested Principles

We follow best practices to get the best results

contensive favicon
Realistic Budget

Payment options that will help you succeed

contensive favicon
Expertise

30+ year history of customer success and profitability

contensive favicon
Talented Team Members

Each developer has disparate skill sets & decades of experience

Experience

Contensive’s Experience

Contensive provides software and services that enable our customers and partners to turn advanced technology into real solutions.

100k+

e-commerce transactions a month

1st

Website allowed in the chamber of US Supreme Court

8 years

Average relationship with client

600+

Websites and applications created

30+

years of experience

300k+

People visiting our applications

Contact Us

Questions?
Call Us (703)-251-0624

Tech Support
support@contensive.com

Return to Product Support > Learning Center > Managing Design > Working with Templates

Working with Templates

The template is the portion of the HTML page that a content manager does not typically change. It often includes the graphics that surround the content, the headers, the footers and the navigation. Generally, there is a section of the template where the content is placed, and the content manager has access to edit that area.

An example might be a red page and a blue page. Within your site, some pages have a blue background, and others have a red background. You have two templates on your site, one called Blue, which has a place for dynamic navigation menus, and a place for content right below the navigation. you have another templates, called Red, with the same elements arranged similarly. You edit the home page content, called "Landing Page", and set it to use the Blue template. When anyone lands on your site, they see the home page with a blue background, dynamic menu, and the content you entered with the online editor. If you edit the content, and select the Red template instead, the next time someone lands on your home page, they see it with a red background.

There are two site architectures of Contensive, Soft Templates, and Hard Templates. Each supports templates differently.

Soft Templates

In Soft Templates, the HTML for the template is stored in database records and can be easily edited online. The Soft Template architecture is easier to manage. The URL of the page does not point to a unique HTML document, but instead, it points to a page that uses Contensive to construct the HTML internally. All the pages on the site come from the same URL, except for a few simple query-string arguments.

When a content manager edits a page, the only change is internal. The next time a visitor views the page, it appears with the new template.

Note that Soft templates associated to pages will only have an effect for sites that use the GetHTMLBody, GetHTMLDoc, and ISAPI CMS interfaces.

When creating soft templates, you can optionally include a link to the physical page that supports the soft template architecture. If this link is ommitted, the dynamic menuing will create a link to the page where it is displayed. This assumes the site is created as a single physical page.

Include links in soft templates if the site also includes hard templates, or non-template sections. Including the links will allow the use of dynamic menuing on both the soft template sections, and the hard templates sections. Without links in the soft template records, the menuing could not produce a link that would return the visitor to the physical page required for the soft templates.

Editing Soft Templates

Your site may have hundreds, or even thousands of pages, but it probably has only a few templates. if your site is contructed with Hard Templates, editing templates is a programmer activity and must be done using specialized authoring and publishing software such as GoLive, Frontpage, or MS Interdev. If your site is constructed from soft templates, any with Administration rights to the Contensive site can edit them online.

To edit your templates, turn on Authoring links. if your site uses Soft Templates, will see around the entire page, an Edit window with an Edit Icon for the "Page Template". Simply click the edit icon.

When editing Templates, there are three fundimental elements you will probably use. Any active content or aggregate function is available as well, but these are the primary ones most people use. You find them on the editor, in the "Tag" dropdown selector

Hard Templates

With Hard Templates, the HTML for the template is constructed on a hard coded HTML document much like traditional non-CMS web sites. A scripting language in the Hard Templates is used to pro grammatically connect to the Contensive server for content. The URL to the page is actually a URL to the Hard Template. All pages that use the same template have the same URL, except for a few simple query string arguments.

When a content manager edits a page, and selects a template for that page, the software dynamically changes links to the page. The next time a visitor views the page, the system detects if it is being viewed from the correct

Creating and Modifying Template records

 Hard and soft templates are stored in the same list, the Page Templates content. If a record contains a link in the Link field, it is a hard template, and the Soft Template Body will be ignored. If the template record has no Hard Template Link, but the Soft Template Body is not empty, it will be used as a soft template.


This page was last reviewed 3/6/2011 11:54:52 AM