myCurrency Admin

The myCurrency function builds a daily table of world currencies researched from major currency translation providers.  A selection of currency translations can be chosen by an admin user for inclusion on the Home Page.  The list can be customised by visitors to the Home Page if allowed in the admin settings.

There is a default set of 20 currencies  (Australian Dollar (AUD), British Pound (GBP), Canadian Dollar (CAD), Chinese Yuan (CNY), Czech Koruna (CZK), Danish Krone (DKK), Euro (EUR), Hong Kong Dollar (HKD), Japanese Yen (JPY), New Zealand Dollar (NZD), Norwegian Krone (NOK), Russian Rouble (RUB), Singapore Dollar (SGD), Slovak Doruna (SKK), Swedish Krona (SEK), Swiss Franc (CHF), Turkish Lira (TRL), Taiwan Dollar (TWD), U.S. Dollar (USD), Hungarian Forint (HUF)), but this list can be tailored to specific company requirements if advised before installation.  The currency table built by myCurrency maintains a history which can also be used as a reference source for completing or checking expense claims.

Setting the default myCurrency display
 

  1. As a logged-in admin user, click the Home Page Admin link from the Home Page, and choose the myCurrency Admin option.  (Note: if the name of myCurrency has been changed in the function admin settings, the Admin menu will display the modified name.)

  2. Output this function to users' browsers can be turned on and off.

  3. The "Can user edit" option can be set to give or deny an ordinary user from changing the default exchange rates to their individual preferences for their view of the Home Page.  

  4. The "Edit number" option allows the maximum number of exchange rates that can be defined by an ordinary user.  This should be set a value which does not allow the user to exceed the space available (as determined by style sheet settings).

  5. The "Name" of the function (default being myCurrency) can be changed.  The name entered here will be used on the Admin menu and on the standard user's Preferences to refer to the myCurrency function.

  6. A column of icons down the right-hand side of the page allow you to add, delete, edit or re-order exchange rates.  (Bear in mind that the effect of your changes may vary according to your stylesheet settings.)

  7. Exchange rates can be previewed before committing any changes you have made.  

  8. To confirm any changes you have made, click Update.  (Clicking the Home Page or Home Page Admin links will also confirm your changes.)  To cancel any changes you have made since the last update, click the Cancel Changes link.

Technical Details

These technical details are intended for web designers when setting up a stylesheet.

The sample HTML output below shows how myCurrencies are output.  If customised output is required for your home page implementation, please contact the developers.

HTML Output
 

<!--Fx part-->

<div id="fx_content">

 

    <table width="100%">

        <tr>

            <td class="h2"><div class="h2" id="web_fx">myCurrency</div></td>

            <td class="italic">&nbsp;</td>

        </tr>

    </table>

 

    <div id="extras">

        <div align=center>

            <table border=0 cellspacing=1 cellpadding=0 width=90% class=TblBRt>

 

                <tr>

                    <td class=TblHdrRt>GBP</td>

                    <td class=TblHdrRt1>USD&nbsp;&nbsp;</td>

                    <td class=TblRt>1.7955</td>

                </tr>

 

                <tr>

                    <td class=TblHdrRt>GBP</td>

                    <td class=TblHdrRt1>EUR&nbsp;&nbsp;</td>

                    <td class=TblRt>1.5101</td>

                </tr>

 

            </table>

        </div>

    </div>

</div>

<!--Fx part end-->

Sample Stylesheet Implementation

The stylesheet is individual to each implementation.  The code below is just an illustration of how it may be implemented.

table {

    font-family: arial, helvetica, sans-serif;

    font-size: 12px;

    color: #000000;

    }

 

tr {

    margin: 0px;

    padding: 0px;

    }

 

td {

    margin: 0px;

    padding: 0px;

    }

 

#fx_content {

    position: absolute;

    top: 493px;

    right: 285px;

    width: 180px;

    height: 103px;

    border: 1px #999 solid;

    background-color: #ffc;

    overflow: auto;

    z-index: 1;

    }

 

#fx_head {

    padd

    ing-left: 5px;

    padding-top: 3px;

    }

 

#extras {

    margin-top: 5px;

    margin-left: 10px;

    }

 

.TblRt {

    background-color:#ffffff;

    font-size:9pt;

    color: #000000;

    }

 

.TblHdrRt {

    background-color:#eef7ff;

    font-size:9pt;

    color: #000000;

    }

 

.TblHdrRt1 {

    background-color:#EEEEEE;

    font-size:9pt;

    color: #000000;

    }

Related Topics