Hello! I'm very new to TeamSite and need some guidance on the best way to implement some things.
If you have reviewed my other questions, this section is the same:
<about>
Background: A vendor has designed HTML for a new site and we need to manage the pages in TeamSite. We have componentized the common aspects of the pages. The vendor developed the pages without consideration for requirements/restrictions of TS. Being a responsive design, we want to match the HTML provided by the vendor as closely as possible. This way, if the design doesn't work, we can push back to the vendor and request they fix it.
Products/Versions/Current Methodology: We are using TeamSite 7.4.1 with SitePublisher. No customizations have been made to the installation. The pages are currently based on custom fixed area layouts used in a template with various components which are then used to create pages using the same general format (c-clamp etc). NOTE: The pages are typical static marketing type pages and are therefore "invariant" with respect to each request, so we are deploying the HTML generated and NOT using the LSDS.
My background: I am an application architecture and have many years of experience. I know countless languages such as Java as well as technologies like XSL, XML, javascript etc. However, often I know only enough to be dangerous and not enough to say I'm an expert.
</about>
Consider reviewing the other questions posted in separate messages in case they would change your recommendation. They will concern controlling the excess divs generated by a fixed layout, controlling structure of the URL namespace when generating the HTML via the PLC and (somewhat unrelated) can a single server also serve as a development environment separate from the current installation so changes suggested for these questions be tested without affecting the current installation.
Question 1:
How can I add things like the HTML, meta tags and javascript bolded below to all pages? When the meta tags are simple name/content value, we use the page properties to add. Additionally, we have used the site resources to add the simple javascript includes....
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>my page</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="_Resources/css/main.css">
<script src="_Resources/js/modernizr.base.min.js"></script>
<script type="text/javascript" src="//use.typekit.net/syf0hxq.js"></script>
<script type="text/javascript">try { Typekit.load(); } catch (e) { }</script>
If the solution is either a custom page type or an "external" (which the docs lead me to believe are how this is done), could you provide short step-by-step directions (go the this file, add this section go to that file do such and such) and any example "snippets" or complete demos would be greatly appreciated...
Thanks in advance. Some here recently helped me with a problem in the generated HTML (the stuck in preview mode bug) and would really appreicate your suggestions on these problems.