Contribute Acting strange - template parameters with repeating regions

Basically what I'm trying to achieve is that there is a
repeating region on a page, and each region is supposed to
alternate colors. To achieve this, the regions with the colors are
put into a div which has a background color applied to it. To do
this, I have created two expressions, one to check to see if it's
an even numbered region, and if so, to open the div, and another to
close the div. That looks like this:
quote:
<!-- TemplateBeginRepeat name="Article" -->
@@((_index & 1) ? shade : noshade )@@
stuff
@@((_index & 1) ? shadeend : noshade )@@
<!-- TemplateEndRepeat -->
At the top, I have three template parameters to go along with
these:
quote:
<!-- TemplateParam name="shade" type="text"
value="<div>" -->
<!-- TemplateParam name="shadeend" type="text"
value="</div>" -->
<!-- TemplateParam name="noshade" type="text" value=""
-->
Which look like this on the actual pages:
quote:
<!-- InstanceParam name="shade" type="text"
value="&lt;div&gt;" -->
<!-- InstanceParam name="shadeend" type="text"
value="&lt;/div&gt;" -->
<!-- InstanceParam name="noshade" type="text" value=""
-->
The odd thing is that, when I add an editable region,
something weird occurs with the template parameters and they end up
looking like this:
quote:
<!-- InstanceParam name="shade" type="text"
value="&lt;div&gt;" --><!-- InstanceParam
name="shadeend" type="text" value="&lt;/div&gt;"
-->->
<!-- InstanceParam name="noshade" type="text" value=""
-->
And that, of course, results in having a nice "->" showing
up at the top of my page. The repeating region appears to work. It
changes background colors just like it should, but I have no idea
why it's throwing in the "->" at the end.

For grins, try changing this -
<div id="content1" style="display:none">
to this (IN THE TEMPLATE FILE) -
<div id="content@@(_repeat._index)@@''
style="display:none">
(that should be a " character after the last @ sign - I had
to use two '
characters to keep the code from getting munged in my
newsreader)
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Murray *ACE*" <[email protected]> wrote
in message
news:g2m3cq$85h$[email protected]..
>I need to see the template markup around the repeating
region, please.
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
> ==================
>
>
> "ITLogic" <[email protected]> wrote in
message
> news:g2m25n$6se$[email protected]..
>> Sure. I'm using DW CS3. Here is a copy of the
repeating regions I'm
>> trying to
>> create. Notice each DIV has a sequential ID. I could
go hand edit this,
>> but I'm
>> trying to automate it as much as possible. I am
selling Contribute as a
>> means
>> for clients to edit their own content. Most don't
know how to spell HTML
>> much
>> less know how to use it.
>>
>> <div id="content0" style="display:''">
>>
>> <!-- ADD TICKER's CONTENT #1
HERE--------------------->
>>
>> <p>Hello</p>
>>
>> <!-- END CONTENT #1----------------->
>>
>> </div>
>>
>> <div id="content1" style="display:none">
>>
>> <!-- ADD TICKER's CONTENT #2
HERE--------------------->
>>
>> <p>World</p>
>>
>> <!-- END CONTENT #2----------------->
>>
>> </div>
>>
>

Similar Messages

  • Page Template Popup with Dynamic Region TaskFlow

    Hi.
    I have a Page Template that is used extensively in my application to provide a consistent explorer panel containing tree links to various pages in the application. I'm trying now to enable users to edit configuration via a tree link. I would like to implement this as a Popup in the page template which contains a dynamic region that contains a bounded Task FLow (so I can control the transaction for the edit activity). I'm running into all manner of issues...
    The Tree node is defined as follows:
    <f:facet name="cognition_model_view.viewRepListVO">
           <af:group id="pt_g4">
              <af:commandImageLink id="pt_ot15" text="#{node.Viewname}"
                                                action="callRouter"
                                                actionListener="#{backingBeanScope.templateBacking.viewsGoActionListener}"
                                                icon="/pics/folder-icon.png"
                                                shortDesc="View: #{node.Viewdesc} | Filter: #{node.Filtername}"
                                                partialSubmit="true"/>
              <af:commandImageLink id="pt_ot16"
                                                icon="/pics/edit1.png"
                                                shortDesc="Edit View Config"
                                                partialSubmit="true">
                     <af:setPropertyListener from="#{node.Appname}"
                                                       to="#{backingBeanScope.templateBacking.editViewAppName}"
                                                       type="action"/>
                     <af:setPropertyListener from="#{node.Viewname}"
                                                       to="#{backingBeanScope.templateBacking.editViewName}"
                                                       type="action"/>
                     <af:setPropertyListener to="#{backingBeanScope.templateBacking.editViewType}"
                                                       from="#{node.Sourceview}"
                                                       type="action"/>
                     <af:showPopupBehavior popupId="::pt_p_edView"
                                                       triggerType="click"/>
              </af:commandImageLink>
            </af:group>
    </f:facet>The property listeners are to hold values that will be passed as parameters to the region's task flow.
    The Popup is defined here:
    <af:popup id="pt_p_edView" contentDelivery="lazyUncached"
                  popupCanceledListener="#{backingBeanScope.editPopupTFHandler.cancelPopup}"
                  popupFetchListener="#{backingBeanScope.editPopupTFHandler.showPopup}"
                  binding="#{backingBeanScope.editPopupTFHandler.editPopup}">
            <af:panelWindow id="pt_pw1"
                            title="#{backingBeanScope.templateBacking.editViewName} - Edit View Configuration"
                            contentHeight="250" contentWidth="500" stretchChildren="first" modal="true">
                <af:region value="#{bindings.dynamicRegion1.regionModel}" id="pt_r1"/>
            </af:panelWindow>
        </af:popup>The taskflow binding for the template is as follows:
        <taskFlow id="dynamicRegion1" taskFlowId="${backingBeanScope.editPopupTFHandler.dynamicTaskFlowId}" xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="inputApplicationName" value="#{backingBeanScope.templateBacking.editViewAppName}"/>
            <parameter id="inputViewType" value="#{backingBeanScope.templateBacking.editViewType}"/>
            <parameter id="inputViewName" value="#{backingBeanScope.templateBacking.editViewName}"/>
          </parameters>
        </taskFlow>The managed bean to hold the dynamic taskflowId (editPopupTFHandler) is referenced in the adfc-config.xml file at "backingBean" scope, and looks like this:
    public class editPopupTFHandler {
        private String taskFlowId = "/WEB-INF/editViews/editViewsTF.xml#editViewsTF";
        private String emptyTaskFlowId = "";
        private String currentTaskFlowId = taskFlowId;
        private RichPopup editPopup;
        public editViewPopupTFHandler() {
        public String getDynamicTaskFlowId() {
            return currentTaskFlowId;
        public void cancelPopup(PopupCanceledEvent pce) {
            currentTaskFlowId = emptyTaskFlowId;
        public void showPopup (PopupFetchEvent popupFetchEvent) {
               currentTaskFlowId = taskFlowId;
        public void setEditPopup(RichPopup editPopup) {
            this.editPopup = editPopup;
        public RichPopup getEditPopup() {
            return editPopup;
    }If I don't define the bean at backingBean scope, I get a Target Unreachable error from any page using the template.
    When I attempt to use the link to the popup, the popup displays but the region content does not. Is this a scoping issue?
    Additionally, after pressing combinations of the 2 commandimagelink components, the first link stops submitting... this may be a side-effect of the region display though?
    Again, as I'm quite new to ADF I don't know how to overcome or avoid these issues, or whether there is a better method to achieve an edit capability in a popup window from a page template.
    Thanks for your help. I'm using JDeveloper 11.1.2.1.0 by the way.

    Hello again. I've managed to get the dynamic region displaying once I restarted JDeveloper and re-created the Region and backingBean. This has happened before - is JDeveloper known to get "confused" (like me!) in this way?
    There are still issues though. The backingBean contains a PopupCanceledListener as follows:
        public void cancelPopup(PopupCanceledEvent pce) {
            System.out.println("CANCEL POPUP - Current Task FLow now empty");
            currentTaskFlowId = emptyTaskFlowId;  // where emptyTaskFlowId = ""
            System.out.println("CANCEL currentTaskFlowId = " + currentTaskFlowId);
        }Simple enough, but the dynamicTaskFlowId is not holding its cleared value. Subsequent call to the getter shows a non-null value...?
    The Popup has the ContentDelivery="lazyUncached" and ChildCreation="deferred". The TaskFlow Binding has Refresh="default" and activation="deferred". With these property values the Popup is displays the correct value on its first use but then keeps that same value on any subsequent selection. I don't know whether this is because of the TaskFlow not correctly resetting or something else...
    Can anyone help me please. This is beyond frustrating. The behaviour of these various property settings is not at all predictable for me... Thanks.

  • Help with repeatable region

    HI I'm currently designing a site and am using master/detail
    pages linked to a database.
    The master detail page set function in dw8 automatically
    creates a repeatable region on the master page. I'm trying to add
    an image to that specific repeat region so that each result shows
    up with that image behind it (the image i'm using is a blank
    rectangle with a specific borderframe so that it appears that each
    result has this specific border)
    If i try adding as background image the image repeats itself
    but is out of line with the results! Any ideas how i can go about
    achieving what i'm trying to do, that is assuming I haven't totally
    bewildered you all in trying to explain it!!!!

    can i do that for each specific result? or will it not just
    border all results in that style
    the border i want is to match with button images etc... which
    have a glow effect edge to them

  • Problem updating rows of recordset with repeat region

    Hi,
    So here's what I'm trying to do - I have a repeat region displaying a series of rows from a recordset. Each row has an "id" value and a "Votes" value. The id value is just an identifier, and the Votes value is the total number of votes. The rows are then organized by the Votes column in descending order (so that the row with the "most Votes" is displayed at the top). The whole thing is set up in kind of a table, so each row has a "Vote" button. When a user clicks the button it is supposed to increase that row's Votes by 1 - in effect creatign a Digg-style system.
    I'm having two problems-
    1. How can I get id value for the current row when using repeat region? I would assume that I first have to figure out the row, but how would I got about this?
    2. This is probably a much simpler problem, but how do I add to a mysql integer instead of just replacing the number? Is there any add function? Or can I do it the "BASIC way" (x = x + y)?
    Now for my code. What is here right now is a pretty simple "frame" of a website using PHP for the server-side scripting and MySQL for the database. Also, most of the PHP is generated by Dreamweaver, since I'm pretty novice when it comes to PHP.
    Here is my "repeat region" section alone-
    <?php do { ?>
        <table width="780" border="0">
          <tr>
            <td width="195"><?php echo $row_all['Title']; ?></td>
            <td width="195"><?php echo $row_all['Genre']; ?></td>
            <td width="130"><?php echo $row_all['Year']; ?></td>
            <td width="130"><?php echo $row_all['Votes']; ?></td>
            <td width="65"><a href=<?php
              $id1 = $row_all['id'];
    $con = mysql_connect("localhost","root","");
    if (!$con)
      die('Could not connect: ' . mysql_error());
    mysql_select_db("dig", $con);
    mysql_query("UPDATE list SET Votes =300 WHERE id = '$id1'");
    mysql_close($con);
    ?> >+1</a></td>
            <td width="65">-1</td>
          </tr>
        </table>
        <?php } while ($row_all = mysql_fetch_assoc($all)); ?>
    And, for the sake of completition, here is the entire file-
    BANNER
    MENU
    CONTENT
      LIST                                                                     
    +1
    -1
    Just let me know if you need any more info, and thanks in advance!
    -B

    Hi David,
    I read your reply and thankyou, but I am not sure I fully
    understand. Could
    you be a little more specific please.
    "David Powers" <[email protected]> wrote in message
    news:e9vsg2$ljd$[email protected]..
    > JED wrote:
    >> Why is this and what can I do?
    >
    > Answered your duplicate post in the main Dreamweaver
    forum.
    >
    > --
    > David Powers
    > Author, "Foundation PHP for Dreamweaver 8" (friends of
    ED)
    > Author, "Foundation PHP 5 for Flash" (friends of ED)
    >
    http://foundationphp.com/

  • Help with repeating region server behavior

    Using instructions in David Powers' book, I've been able to connect to a PHP database and list records in a table using the repeating region server behavior.
    I now have a table like the following example:
    Header 1
    Header 2
    Album
    Image
    Birds
    Bald Eagle
    Birds
    Great Egret
    Birds
    Meadowlark
    Butterflies
    American Lady
    Butterflies
    Common Buckeye
    Butterflies
    Monarch
    Mammals
    Deer
    Mammals
    Flying Squirrel
    Mammals
    Raccoon
    etc.
    etc.
    Is there a way to make the table like the following?
    Header 1
    Header 2
    Album
    Image
    Birds
    Bald Eagle
    Great Egret
    Meadowlark
    Butterflies
    American Lady
    Common Buckeye
    Monarch
    Mammals
    Deer
    Flying Squirrel
    Raccoon
    etc.
    etc.
    Thank you for helping a novice with this.

    yubinax wrote:
    i downloaded a FREE RANDOM SERVER BEHAVIOR ON THIS SIET
    This is a user-to-user forum for the (discontinued) Dreamweaver extension 'ADDT' which doesn´t come with such a server behaviour. BTW, it´s hard to guess which extension you´re referring to exactly, and I suggest contacting the developer of that extension for help.
    Cheers,
    Günter

  • Send Email with repeat region data

    Greetings again,
    I'm building an application where users place orders for multiple items. And I don't know the best way to send them confirmation emails that include a table that shows the details of their orders. I know how to trigger the email send and that is working....I know how to put simple pieces of data into the email message and into its subject area....what I need is a way to retrieve the order item details and show them all not just the first one in the array....can anyone please point me in the right direction...I've scoured the manuals and tutorials and have not found any clues.
    Thanks for your help,
    Fred Shequine
    [email protected]

    Hi Fred,
    in this case I´d suggest using the "Send Page Section By E-mail" option, as the to-be-sent page (or a defined part like a certain table) can contain a Repeat Region.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Mod: m7 j020dx-Tou​chSreen is acting strange and activates with out me touching it

    HP LapTop Model: m7 j020dx
    Running Win 8.1
    This is the very first computer that I have owned that has "touch screen" capability so not quite sure what may be causing this; a hardware setting, needed software update or a virus.
    Over the past  week I have noticed something very odd happening with this laptop screen. At first did not give it much thought because i had thought that maybe i may have done something to cause this but realized now it does it on its very own.
    I could be doing absolutely nothing on the computer and all of a sudden the cursor moves to a new point on the screen. Like i said at first was not quite sure what the heck was going on. Did not give it much thought at first but have noticed this is happening more and more now. So I started paying far more attention to his and have seen that while looking at my screen I see that a "blotch" would appear (as if i had touched the screen with my finger causing the impression on the screen) out of no where and the cursor would then fly across the screen to the point of the blotch. I would move the cursor to a new point  on the screen and after a while (could be one second or one minute) the blotch reappears as if i actually applied pressure to the screen with my finger) the blotch would reappaer and the cursor flies to that part of the screen again. Sometimes it gets so bad where the moment i move the cursor it flies right back to that same spot over and over even to the point where if i attempt to restart the computer i can't even select the menu steps to restart because the cursor keeps flying across the screen as if it had a mid of its own.
    I first started to shut off the computer by shutting it down by using the "power button" which i know is not the right way to do it but at these times the only way i can shut it down or restart it because the cursor makes it impossible to even use the windows key to restart it.
    Yesterday i had to restart the system at least 4 different times to get it to stop.
    Is anyone else experiencing this problem. Is it a virus or does this tend to happen with a touchscreen computer.
    Any information will be appreciated.
    Thanks

    Hello @hplap2014,
    I have read your post on how the TouchScreen on your notebook computer is functioning in a strange manner, and I would be happy to be of assistance!
    To further diagnose the issue with the TouchScreen, I suggest following the steps in this document on Troubleshooting Touch Screen Issues in Windows 8. This should help return the functionality of your computer's TouchScreen abilities.
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Samsung Monitor acting strange when connected with digital cable.

    I have a Powermac G5 dual 2.7 GHz desktop. I am connecting a Samsung 2233BW monitor. When I connect the monitor from its digital connection using the digital cable I have a problem bringing the monitor back from sleep mode. I get horizontal jagged lines. When I turn the monitor off and back on it works fine again. When I connect the monitor from its analog connection and analog cable using a converter the monitor does not have this problem. Its not the monitor because I had Samsung replace the first one and I still have the problem. Someone told me it was a firmware problem, but Apple support says since no updates show up when I run software updates that everything should be ok. Is there something I can do or do I just have to live with the analog connection?

    Have you opened the Mac up lately to see if the graphics card is clear of dust and not overheating?
    Does this happen when you first boot up your Mac and then put the monitor to sleep?
    Is the monitor set up to default to the digital input?
    Most importantly, is it safe to presume that you have tried a new cable?
    Message was edited by: DaddyPaycheck

  • Nike Site Still Acting Strange and Trouble With Nano

    I did a 5k last night, around 9:30 PM (it’s very hot here) and synced up around 10:30 PM. It showed up in my runs, but not in a challenge I am in. I checked this morning and it was there, but showed that I did it at 1:02 AM! I ran this morning and synced, but I can’t tell if it is there. Does the challenge admin site offer you more details than we get?
    Nike also did some changes to the site, and it wiped one of my personal goals. To add more confusion, now my Ipod will reset it self while connected to my laptop. This causes all my workouts to be lost (on the Ipod) but it keeps the history. So far it has done it after I sent data to Nike, but I’m very nervous about losing one of my runs (it happened on my Monday morning run).

    Owen...you keep losing data pls I'm just behind you
    in the challenge...I estimate about 400 metres
    I did lose one run, on the first day (my morning run) as far as I can tell. But the rest has posted since. I have lost the workout data on the Nano (last work out and such) after I sync to Nike.
    As far as being just behind me, how is the view of my backside?

  • Repeat regions not working in Contribute

    I've got a problem with repeat regions inside templated
    pages. When in contribute, I can't seem to add a new repeat region
    by clicking on the plus (+) button, although it works fine in
    dreamweaver. It isn't a permissions issue as far as I can tell,
    since all roles have the ability to see and edit all documents, but
    I can't figure out what else could be going on here. Any
    ideas?

    I think it's just a problem with Contribute's handling of
    PHP. There was a small chunk of PHP code in a library item that had
    to be removed. I was trying to save the value of a server variable
    into a local variable, but had to end up putting the exact same
    call in an inclue file instead. I just put the include statement
    inside the library item so it showed up site-wide. The include
    statement didn't do anything screwing during 'edit mode' in
    Contribute, so that was the workaround.

  • Repeating Region Mystery

    Hello all,
    I've been working with templates for the past few weeks and I'm loving it!
    Everything has gone smoothly till now.  I'm having a very unsual problem with repeating regions and I can't seem to figure out what is causing it. Hopefully someone here can shed some light on this issue.
    Basically, I have two templates: one parent and one child template.  There are two repeating regions in total. 
    Problem: When I create a new page using the child template, the repeating regions disappear completely. Meaning, all the repeating region code surrounding an element is completely gone. In fact, my repeating regions have an editable region within it and they disappear with the repeating region! However, when I create a new page using the parent template itself, the repeating regions are there and everything is functioning as it should. 
    This is only happening with repeating regions.  All editable regions, separate from repeating regions, are there.
    I would really appreciate the help!
    Thanks!

    I had no idea that nested templates are a serious problem in Dreamweaver.
    It's not.  It's a serious problem for users who opt to use them.  Why? Because any benefit you derive from the coolness is more than offset by the disadvantages you experience down the road from their use. I am a devout user of templates and have never found a single scenario where the use of nested templates would help.
    Most of my knowledge of Dreamweaver comes from Lynda.com's videos. I'm surprised that the instructor behind those videos never mentioned any such problem about nested templates.
    Me too.  To me this says that they have never *actually* used them either. It's very disappointing.
    Is there any other way to replicate this functionality?
    Yes, in every case there is.  But first tell me how you were going to use them, please.  What specifically is it about them that you were going to leverage in your page design?
    When working with templates, I use the following scheme....
    First, I mentally separate the page layout into three sections:
    1.  Stuff that will not change for the life of the site (i.e., the basic
    structural elements)
    2.  Stuff that *could* change from time to time (e.g., navigation elements,
    burst advertisements, section-specific navigation, etc.)
    3.  Stuff that *will* change from one page to the next
    Then I create a template containing all class1 elements.  Next I create
    server-side include files containing all class 2 elements and place them on
    the template as needed.  Note - some of the class 2 elements may be
    "section-specific elements", and their placement on the template will be
    subject to the next item.  Finally, I insert editable regions to cover the
    class 3 items, INCLUDING the section-specific navigation.
    This allows me to just cookie-cut the rest of the site.  I estimate that
    even for fairly large sites, about 80% of my work goes into planning and
    creating this template file.

  • Modifying a template resulted in all child pages with repeating editable regions - Help !

    Good morning,
    I have recently been appointed to update a website designed in Dreamweaver by an employee who is no longer here. I have read books on the software and practiced an insane amount which permitted me to update child pages, links, documents etc... however:
    I was asked to add a new button to an "non-editable" region of a template. Trying to do so resulted in a massive mess (with massive anxiety).
    Even thou the new template had all the same text and editable regions, all my pages look completely different from the template itself. The editable regions appears 2-3 times in different locations ex: Header is showed on the bottom, top etc... and the Editable region titles (EditableRegion1 etc...) repeat themselves as well.
    I really need help and not sure what to do, I have tried everything and I am only making it worse and worse. All I want/need is for all my html pages created with this template, match the template.
    Please note that this site is local, not online.
    Since I noticed on other threads that the code is needed; here it is:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>QMS: AFM</title>
    <style type="text/css">
    <!--
    body  {
    font: 100% Verdana, Arial, Helvetica, sans-serif;
    background: #666666;
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #000000;
    background-color: #D7D7D7;
    background-repeat: repeat-x;
    border-top-color: #066;
    border-right-color: #066;
    border-bottom-color: #066;
    border-left-color: #066;
    /* Tips for Elastic layouts
    1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
    2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
    3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
    .twoColElsLtHdr #container {
    width: 46em;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
    background: #FFFFFF;
    margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
    border: 30px none #C4C4C4;
    text-align: left; /* this overrides the text-align: center on the body element. */
    padding-left: 10px;
    background-color: #FFF;
    border-top-color: #C4C4C4;
    border-right-color: #C4C4C4;
    border-bottom-color: #C4C4C4;
    border-bottom-style: outset;
    border-left-style: outset;
    border-top-width: thick;
    border-right-style: outset;
    border-top-style: outset;
    border-left-color: #C4C4C4;
    border-right-width: thick;
    border-bottom-width: thick;
    border-left-width: thick;
    .twoColElsLtHdr #header {
    padding: 0 10px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
    background-color: #FFF;
    .twoColElsLtHdr #header h1 {
    margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    /* Tips for sidebar1:
    1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
    2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width.
    3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColElsLtHdr #sidebar1 p" rule.
    .twoColElsLtHdr #sidebar1 {
    float: left;
    width: 12em; /* the background color will be displayed for the length of the content in the column, but no further */
    padding: 15px 0; /* top and bottom padding create visual space within this div */
    background-color: #066;
    background-repeat: repeat-x;
    border-top-width: thin;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-right-width: thin;
    border-bottom-width: thin;
    border-left-width: thin;
    color: #FFF;
    padding-left: 0px;
    clear: left;
    .twoColElsLtHdr #sidebar1 h3, .twoColElsLtHdr #sidebar1 p {
    margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
    margin-right: 10px;
    background-color: #066;
    text-decoration: inherit;
    /* Tips for mainContent:
    1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
    2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
    3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
    4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
    .twoColElsLtHdr #mainContent {
    margin: 0 1.5em 0 13em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
    color:#069;
    background-color:#FFF;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    .twoColElsLtHdr #mainContent a:link {
    text-decoration: none;
    color: #069;
    .twoColElsLtHdr #mainContent a:visited {
    text-decoration: none;
    color: #069;
    .twoColElsLtHdr #mainContent a:hover {
    text-decoration: underline;
    color: #069;
    background-color:#FFF
    .twoColElsLtHdr #mainContent a:active {
    text-decoration: none;
    color: #069;
    .twoColElsLtHdr #footer {
    padding: 0 10px;
    line-height: 0pt;
    color: #069;
    background-color: #FFF;
    font-size: 10px;
    .twoColElsLtHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    background-color: #FFF;
    /* Miscellaneous classes for reuse */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    h1 {
    color: #069;
    font-size: 16px;
    border-top-color: #069;
    border-top-width: thin;
    border-right-width: thin;
    padding-right: 0px;
    padding-left: 0px;
    body,td,th {
    font-family: verdana;
    text-decoration: none;
    color: #069;
    border-top-color: #069;
    border-right-color: #069;
    border-bottom-color: #069;
    border-left-color: #069;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-width: thin;
    border-right-width: thin;
    border-bottom-width: thin;
    border-left-width: thin;
    a:link {
    text-decoration: none;
    color: #FFF;
    a:visited {
    text-decoration: none;
    color: #FFF;
    a:hover {
    text-decoration: underline;
    color: #FFF;
    background-color: #;
    background-repeat: repeat-x;
    background-position: center;
    border-top-color: #069;
    border-right-color: #069;
    border-bottom-color: #069;
    border-left-color: #069;
    a:active {
    text-decoration: none;
    color: #FFF;
    border-color: #FFF;
    padding-left: 20px;
    -->
    </style><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColElsLtHdr #sidebar1 { padding-top: 30px; }
    .twoColElsLtHdr #mainContent { zoom: 1; padding-top: 15px; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <link href="file:///U|/AFM/Dreamweaver/Left sidebar.css" rel="stylesheet" type="text/css" />
    </head>
    <body link="#006699" class="twoColElsLtHdr">
    <div id="container">
    <div id="header">
        <h1><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/pwgsc-e.gif" width="364" height="33" align="left" alt="wordmark" /><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/wordmark_canada.gif" width="83" height="21" align="right" alt="wordmark2" /></h1>
        <p> </p>
        <p><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/AFM QMS banner.jpg" width="709" height="80" alt="banner" border="0"/><a href="mailto:[email protected]"><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/Contactus-e.JPG" width="110" height="21" alt="contactus-e" border="0" /></a><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/French-e.JPG" width="115" height="21" alt="french-e" border="0" /> <a href="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Continual Improvement/QMSTeamMembers-e.html"><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/Help-e.JPG" width="115" height="21" alt="help-e" border="0" /> <img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/Search-e.JPG" width="115" height="21" alt="search-e" border="0" /></a><a href="http://source.tpsgc-pwgsc.gc.ca"><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/thesource.jpg" width="120" height="21" alt="TheSource" border="0" /> <img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/Home-e.jpg" width="104" height="21" alt="home-e" border="0" /></a></p>
        <p> </p>
      </div>
    <div class="twoColElsLtHdr" id="sidebar1">
        <p><a href="../QMS HOME/QMSHome-e.html"><strong>QMS Home</strong></a></p>
        <hr />
        <p><a href="../ABOUTAFM/AboutAFM-e.html"><strong>About AFM</strong></a></p>
    <hr />
    <p><a href="../AdminProcedures/AdminProcedure-e.html"><strong>Administrative Procedures</strong></a></p>
    <hr />
    <p><a href="../BusinessUnits/BusinessUnits-e.html"><strong>Business Units</strong></a></p>
    <hr />
    <p><a href="../POINTSOFINTEREST/pointsofinterest-e.html"><strong>Points Of Interest</strong></a></p>
    <hr />
    <p><a href="../Achievements/Achievements-e.html"><strong>Achievements</strong></a></p>
    <hr />
    <p><strong><a href="../MeasuringPerformance/measuringperformance-e.html">Measuring Performance</a></strong></p>
    <hr />
    <p><a href="../References/references-e.html"><strong>References</strong></a></p>
    <hr />
    <p><a href="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/ContinualImprovement-e.html"><strong>Continual Improvement</strong> </a></p>
    </div>
    <div id="mainContent">
        <h2>Header</h2>
        <p>Paragraph</p>
        <h1>Sub Header </h1>
        <p> </p>
        <h1> </h1>
        <h2> </h2>
        <h1> </h1>
        <p> </p>
        <h2> </h2>
        <!-- end #mainContent -->
      </div>
      <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
           <br class="clearfloat" />
      </p>
      <div id="footer">
        <hr width="100%" size="8" noshade="noshade" color="#006666" id="color=&quot;069&quot;" colour="#069"/>
        <p><strong>Maintainted by: ASQM </strong></p>
        <p><strong>Date Modified: 2013-03-25</strong></p>
        <!-- end #footer -->
      </div>
      <script type="text/javascript">
    <!--
    //-->
    </script>
      </h3>
        <!-- end #container -->
    </h3>
    </div>
    <script type="text/javascript">
    <!--
    //-->
    </script>
    </body>
    </html>

    I am not suprised, the previous employee tried to recreate the English version of the site in another folder structure and did not change all links and was still using a template in the wrong location.
    I think I created the mess by trying to modify the existing template's non-editable region in order to add a new button. When trying to update all the pages, the fiasco started.
    Do you think the best option would be to create a new template in the correct folder structure and apply it? Would it fix the current pages or will I have to fix them all manualy on by one?
    I understand it is difficult to deal with a newbie of my magnitude and thanks again.

  • Nested templates - problems with inheriting editable/repeating regions

    I have made a template called 'basic', with 2 sections, 'maincontent' and 'sidecontent' then nested a template in it called 'home'. In 'home', I have made repeats of some regions (sidecontent) and edited them to make a section I want on all 'home' type pages. When I make  a new document from 'basic', it has all the same editable and repeating regions as 'basic'. But when I make a new document from 'home' there are no editable or repeating regions, either in 'sidecontent' which I edited or 'maincontent' which I didn't. I want to be able to edit 'maincontent' when I make a new document from 'home', to make repeating regions and edit them. Please can you advise me what to do?
    Thanks

    When I tried to attach the files it automatically zipped them again, so I have put the code above.
    Thanks,
    Rachel

  • Repeating regions not working in Contribute 6.5

    Repeating regions that work inside Dreamweaver aren't working in Contribute 6.5 where I get the error message "You can't add items to repeating regions because the draft's parent template is missing or not available to users in your role. Please contact the website administrator"
    My role is administrator and this happens on pages based on single templates and nested templates as well as local files and pages published on a site.
    The problem seems to run through several different versions of Contribute going back at least 5 years but I haven't found a solution yet.

    For me the problem is different. I don't even get to to see the add/delete buttons, so I can not add och delete a new region! I am tryong to chat with the adobe support right now, but I am not feeling very succesful. Is anyone from Adobe reading this? (It is working in CS5)

  • PDF Template (repeating regions) correct version of Adobe Acrobat

    Hi,
    I want to build a PDF template for a Payslip I am knocking up at the moment and have come to the conclusion this may be easier as a PDF template rather than an RTF template.
    The reason being I have multiple repeating regions in the payslip (earnings, deductions, salary history, payments) all of which could overflow onto another sheet of stationary when the job is run. If you think RTF is a better solution please post and let me know how I should achieve this. Or indeed if you think PDF is wrong also please let me know.
    So I want to build a PDF template to utilise its overflow handling but what version of Adobe acrobat do I then need? 9 is the current release and there is a "Standard", "Pro" and "Pro-Extended" version of the software each with escalating costs associated. I see in Tim's blog the PDF has to be in the 1.4 specification which all the versions since 5 seem to support.
    If you need anymore info in order to please let me know.
    Cheers
    Doug

    Agreed RTF is a lot simpler to create and maintain.
    I cannot seem to get my RTF template to behave with overflowing properties my basic design is Below (excuse the odd way of displaying it but I'm sure you get the idea). So any 1 of 4 repeating groups could go over their limits (I have currently hardcoded the loop limit in the group). I need the basic Emp info the Address info and the random info on each sheet.
    I've been around the forum and all over the net (Anil Passi's site, XML/BI Publisher Blog etc.) looking at the solutions people have used for invoices and PO's but I cannot seem to use them in my case.
    Any help you or anyone else could give on the subject would be gratefully received.
    ************************* Basic Emp info *************************
    ****Earnings Repeating Group***** ****Deductions Repeating Group*******
    ************************* Total Info *************************
    *****Payments Repeating Group**** *****Salary Repeating Group *****
    More random info ..
    More random info ..
    More random info ..
    More random info ..
    ********************Address and Postal Info***********************
    Cheers
    Doug

Maybe you are looking for

  • ORA-12545 .... host or object does not exi

    Hi there. Im tiered from that Trying install 8.1.7 on Red Hat 7.0. Not working. (I read all from what I cud from this group, but still dont know what to do ) I installed glibc 2.1.3. After that I was able to create a database. I can open it, connect

  • Sapscript window position

    Hello all. How can i determine the current X,Y window position so i can draw a BOX in the current line? Thank you Nuno Silva

  • LabView Error Unknown

    I am new to LabView and I am getting an error popup when I try to run a particular LabView project.  Could someone please list some possible places to look in my project to stop this from coming up?  Labview V.6.0.2 and Measurement & Automation V.3.0

  • Converting itunes download for use in imovie

    I downloaded a TV show from itunes and want to use a clip of it for a demo reel. Is it possible to convert it and move it into imovie for editing? (I posted this question in the itunes forum as well.) Thanks.

  • Share Formats and Variables Across A Book?

    I'm sure this has been discussed before but search didn't turn up anything.  Is there a way to share paragraph and character formats, variables, etc across a book?  It's really cumbersome to have to reimport them across all the documents whenever I c