Company Information Split between the Header and Footer

Issue:

Customer wants to have just the company logo image on the header, and just the textual information in the footer.

Resolution:

To display only the company logo on the header, and only the textual information on the footer, you will need to remove information from the Page.asp file, by creating what is known as a format override in your project. For more information, you can refer to the following page:

http://www.webworks.com/Documentation/Reverb/index.html#page/04.Reference%2520Information/How_It_Works.1.26.htm

When you have this file copied over into your project directory, you would find the lines of text (you would also see similar markup for the footer) :

  <table wwpage:condition="company-info-top" align="left" wwpage:attribute-align="company-info-top-alignment" summary="">
      <tr wwpage:condition="company-logo-src-exists">
        <td class="WebWorks_Company_Logo_Top">
          <a wwpage:condition="company-link-exists" href="http://www.webworks.com" target="_blank" wwpage:attribute-href="company-link"><wwexsldoc:NoBreak /><img src="images/logo.gif" border="0" wwpage:attribute-src="company-logo-src" /></a>

          <img wwpage:condition="company-link-not-exists" src="images/logo.gif" wwpage:attribute-src="company-logo-src" />
        </td>
      </tr>

      <tr wwpage:condition="company-name-exists">
        <td class="WebWorks_Company_Name_Top">
          <a wwpage:condition="company-link-exists" href="http://www.webworks.com" target="_blank" wwpage:attribute-href="company-link" wwpage:content="company-name">Company Name</a>
          <a wwpage:condition="company-link-not-exists" wwpage:replace="company-name">Company Name</a>
        </td>
      </tr>

      <tr wwpage:condition="company-phone-exists">
        <td class="WebWorks_Company_Phone_Top" wwpage:content="company-phone">
          Phone: 512-555-1234
        </td>
      </tr>

      <tr wwpage:condition="company-fax-exists">
        <td class="WebWorks_Company_Fax_Top" wwpage:content="company-fax">
          Fax: 512-555-5678
        </td>
      </tr>

      <tr wwpage:condition="company-email-exists">
        <td class="WebWorks_Company_Email_Top">
          <a href="mailto:sales@webworks.com" wwpage:attribute-href="company-email-href" wwpage:content="company-email">sales@webworks.com</a>
        </td>
      </tr>
    </table>

Basically, you would delete the last three table rows (the <tr></tr> tags that contain information) that have the text information for the header table, and for the footer

<table>
...
</table> 

you would delete that first table row (listed at the top with the image information)


CategorySolutionsOutputWebWorksHelp CategorySolutionsOverrides

LaurenLever/@Solutions/Output/WebWorks Help 5.0/Company info split between header and footer (last edited 2012-01-03 17:10:44 by LaurenLever)