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 2
When using a custom fixed layout, several excess divs are generated. These divs aren't adding value and in some situations are causing problems with the responsive design.
How can these divs be controlled or suppressed?
Here is an example:
<div class="ls-col" id="ls-row-2-col-1-row-3-col-1-row-3-col-2">
<div class="ls-col-body" id="ls-gen99695842-ls-col-body">
<div class="ls-row" id="ls-row-2-col-1-row-3-col-1-row-3-col-2-row-1">
<div class="ls-fxr" id="ls-gen99695843-ls-fxr">
<div class="ls-area" id="ls-row-2-col-1-row-3-col-1-row-3-col-2-row-1-area-1">
<div class="ls-area-body" id="ls-gen99695844-ls-area-body">
<div class="ls-cmp-wrap ls-1st" id="w1408500501461">
<!--ls:begin[component-1408500501461]--><div class="iw_component" id="1408500501461">
The FAL definition looks like this:
<?xml version="1.0" encoding="utf-8"?>
<Canvas inline-css="false" css-class="leftCol noHero" width="100%">
<Name>Template E Fixed Layout</Name>
<Row Id="row-1" css-class="skipMenu">
<Area Id="row-1-area-1" width="100%">
<Name>Mobile Skip Menu</Name>
</Area>
</Row>
<Row Id="row-2" html-id="outerWrap" css-class="container">
<Column html-id="innerWrap" css-class="innerWrapper">
<Row width="100%">
<Area Id="row-2-area-1" width="100%">
<Name>Header</Name>
</Area>
</Row>
<Row>
<Area Id="row-3-area-1" width="100%">
<Name>Navigation</Name>
</Area>
</Row>
<Row css-class="mainContainer group">
<Column Id="nest-col-1">
<Row html-id="breadcrumbsCtr" css-class="group">
<Area Id="row-4-area-1">
<Name>Breadcrumbs & CTAs</Name>
</Area>
</Row>
<Row>
<Area Id="row-5-area-1">
<Name>Mobile Navigation</Name>
</Area>
</Row>
<Row>
<Area Id="row-6-area-1">
<Name>Left Navigation</Name>
</Area>
<Column Id="nest-col-3">
<Row Id="nest-col-3-row-1">
<Area Id="nest-col-1-row-1-area-1">
<Name>Body</Name>
</Area>
</Row>
</Column>
</Row>
</Column>
</Row>
<Row Id="row-7">
<Area Id="row-7-area-1" width="100%">
<Name>Footer</Name>
</Area>
</Row>
</Column>
</Row>
<Row Id="row-8" width="100%">
<Area Id="row-8-area-1" width="100%">
<Name>Initialization</Name>
</Area>
</Row>
</Canvas>
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 the HTML (the stuck in preview mode bug) and would really appreicate your suggestions on these problems.