Pages

Tuesday, January 12, 2021

To make html embed auto resize like media inquiries on New Google sites

 Put inside the embedded object on the New google sites

---------------------------------------------------------------------------------------------------------
<!DOCTYPE html>

<html>

<body id="body">


<p>This example uses the addEventListener() method to attach a "resize" event on the window object.</p>


<p>Try to resize the browser window.</p>


<p>Window size <span id="demo">0</span> </p>


<script>

window.addEventListener("resize", myFunction);

myFunction();

var x = 0;

function myFunction() {

var body = document.getElementById("body");

  document.getElementById("demo").innerHTML = body.offsetWidth;

}

</script>


</body>

</html>




Wednesday, May 24, 2017

To make aikon easy parallax accept iframes


Go to:modules/mod_aikon_easy_parallax/

Then there is only one xml file.

Edit:

==============
   <field  name="parallaxContent"
                        type="editor"
                        label="MOD_AIKON_EASY_PARALLAX_FIELD_CONTENT_LABEL"
                        description="MOD_AIKON_EASY_PARALLAX_FIELD_CONTENT_DESC"
                        height="300"
                        filter="SAFEHTML" />
======================
To this:
================
   <field  name="parallaxContent"
                        type="editor"
                        label="MOD_AIKON_EASY_PARALLAX_FIELD_CONTENT_LABEL"
                        description="MOD_AIKON_EASY_PARALLAX_FIELD_CONTENT_DESC"
                        height="300"
                        filter="RAW" />
==========================================

Tuesday, July 2, 2013

Footer menu HTML code


<div style="display:block;text-align:left;width:100%"><font color="#ffffff" size="3"><br>
</font></div>
<table border="0" cellspacing="0" style="text-align:left;background-color:rgb(48,48,48);padding-top:15px;width:100%">
<tbody>
<tr>
<td style="width:206px">
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div style="text-align:left"><span style="color:rgb(255,255,255);font-size:13px"><b>ABOUT IRRI</b></span></div>
<font color="#ffffff">
<div style="text-align:left"><span style="font-size:13px">Our mission</span></div>
<div style="text-align:left"><span style="font-size:13px">Our people</span></div>
<div style="text-align:left"><span style="font-size:13px">Our funding</span></div>
<div style="text-align:left"><span style="font-size:13px">Our facilities</span></div>
<div style="text-align:left"><span style="font-size:13px">Annual reports</span></div>
<div style="text-align:left"><span style="font-size:13px">History</span></div>
</font></blockquote>
</td>
<td style="width:206px">
<div style="text-align:left"><span style="color:rgb(255,255,255);font-size:13px"><b>OUR WORK</b></span></div>
<font color="#ffffff">
<div style="text-align:left"><span style="font-size:13px">Research&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Training&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Seeds&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Countries</span></div>
<div style="text-align:left"><br>
</div>
</font></td>
<td style="width:206px">
<div style="text-align:left"><span style="color:rgb(255,255,255);font-size:13px"><b>OUR IMPACT</b>&nbsp;</span></div>
<font color="#ffffff">
<div style="text-align:left"><span style="font-size:13px">Food security&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Sustainable production&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Healthier rice&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Rice advice</span></div>
<div style="text-align:left"><span style="font-size:13px">Genetic resources</span></div>
<div style="text-align:left"><br>
</div>
</font></td>
<td style="width:206px">
<div style="text-align:left"><span style="color:rgb(255,255,255);font-size:13px"><b>NEWSROOM</b></span></div>
<font color="#ffffff">
<div style="text-align:left"><span style="font-size:13px">Media releases</span></div>
<div style="text-align:left"><span style="font-size:13px">News Blogs</span></div>
<div style="text-align:left"><span style="font-size:13px">Rice Today&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Magazine&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Newsletters</span></div>
<div style="text-align:left"><span style="font-size:13px">Events</span></div>
</font></td>
<td style="width:206px">
<div style="text-align:left"><span style="color:rgb(255,255,255);font-size:13px"><b>GET INVOLVED</b>&nbsp;</span></div>
<font color="#ffffff">
<div style="text-align:left"><span style="font-size:13px">Jobs&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Training&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Scholarships</span></div>
<div style="text-align:left"><span style="font-size:13px">Donate&nbsp;</span></div>
<div style="text-align:left"><br>
</div>
</font></td>
<td style="width:206px">
<div style="text-align:left"><span style="color:rgb(255,255,255);font-size:13px"><b>CONTACT US</b>&nbsp;</span></div>
<font color="#ffffff">
<div style="text-align:left"><span style="font-size:13px">Media inquiries</span></div>
<div style="text-align:left"><span style="font-size:13px">Science inquiries&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">General inquiries&nbsp;</span></div>
<br>
</font></td>
</tr>
</tbody>
</table>
<table cellspacing="5" style="background-color:#303030;width:100%">
<tbody>
<tr>
<td style="width:412px">
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div style="text-align:left"><span style="color:rgb(255,255,255);font-size:13px"><b>DIVISIONS</b></span></div>
<span style="font-size:13px;color:rgb(255,255,255)">
<div style="text-align:left">C4 Center</div>
</span><span style="font-size:13px;color:rgb(255,255,255)">
<div style="text-align:left">Crop and Environmental Sciences Division</div>
</span><span style="font-size:13px;color:rgb(255,255,255)">
<div style="text-align:left">Plant Breeding Genetics and Biotechnology</div>
</span><span style="font-size:13px;color:rgb(255,255,255)">
<div style="text-align:left">• Biometrics and Breeding Informatics</div>
</span><font color="#ffffff">
<div style="text-align:left"><span style="font-size:13px">Social Science Division</span></div>
</font></blockquote>
</td>
<td style="width:400px">
<div style="text-align:left"><span style="color:rgb(255,255,255);font-size:13px"><b>NETWORKS&nbsp;</b></span></div>
<font color="#ffffff">
<div style="text-align:left"><span style="font-size:13px">C4 Rice Project&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Cereal Systems Initiatilve for South Asia&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Consortium for Unfavorable Rice Environments&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Hybrid Rice Development Consortium&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">International Network for Quality Rice&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Irrigated Rice Research Consortium&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Multi-environmental Rice Testing&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Stress-Tolerant Rice for Africa and South Asia</span></div>
</font></td>
<td style="width:218px">
<div style="text-align:left"><span style="color:rgb(255,255,255);font-size:13px"><b>TOOLS AND DATABASE</b>&nbsp;</span></div>
<font color="#ffffff">
<div style="text-align:left"><span style="font-size:13px">Rice Knowledge Bank&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">World Rice Statistics&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Farm Household Survey Database&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Nutrient Manager&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">ORYZA2000&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Weedsmart</span></div>
</font></td>
<td style="width:206px">
<div style="text-align:left"><span style="color:rgb(255,255,255);font-size:13px"><b>RESOURCES</b></span></div>
<font color="#ffffff">
<div style="text-align:left"><span style="font-size:13px">Books on Google&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Publications</span></div>
<div style="text-align:left"><span style="font-size:13px">Videos&nbsp;</span></div>
<div style="text-align:left"><span style="font-size:13px">Images &nbsp; &nbsp;</span></div>
</font></td>

</tr>
</tbody>
</table>
<table style="width:100%;background-color:#282828">
<tbody>
<tr>
<td style="width:206px">
<div style="display:inline;float:left;margin:5px 10px 0px 0px"><a href="https://sites.google.com/a/irri.org/cps-web/system/errors/NodeNotFound?suri=wuid:gx:4232e829bbb16fdb" imageanchor="1"></a>
<div style="display:block;text-align:left"><a href="https://sites.google.com/a/irri.org/cps-web/system/errors/NodeNotFound?suri=wuid:gx:4232e829bbb16fdb" imageanchor="1"></a><a href="https://sites.google.com/a/irri.org/cps-web/CGIAR_199x92.png?attredirects=0" imageanchor="1"><img border="0" src="https://sites.google.com/a/irri.org/cps-web/CGIAR_199x92.png"></a></div>
</div>
</td>
<td style="width:828px">
<div style="display:inline;float:left;margin:5px 10px 0px 0px">
<br>
<br>
<font size="2.5"><font color="#999999">
IRRI is a member of the</font><font color="#ffffff"> <a href="http://cgiar.org" target="_blank"><font color="#ffffff">CGIAR</font> </a></font><font color="#999999">Consortium</font></font></div>
</td>
<td style="width:206px">
<div style="display:block;text-align:left">
<div style="display:block;text-align:left"><br>
</div>
<div style="display:block;text-align:left"><a href="https://sites.google.com/a/irri.org/cps-web/cc_149x40.png?attredirects=0" imageanchor="1"><img border="0" src="https://sites.google.com/a/irri.org/cps-web/cc_149x40.png"></a></div>
<br>
</div>

</td>
</tr>
</tbody>
</table>


Using the IRRI template for Google sites

Creating a site from scratch

  1. Log in to your IRRI.ORG account
  2. Go to sites.google.com 
  3. Click on the Create button on the left pane.
  4. When asked to select  a template, click on "Browse the gallery for more" and select "IRRI Template V2"

  5. Skip "Select a theme"
  6. Click on "More options" and make sure to input values into "Site categories" and "Site Description"
    1. Site categories (recommended) - internal, external, project, service, unit
    2. Site description - 100 words or less narative

Applying the template to an existing Google site

  1. Log in to your IRRI.ORG account
  2. Go to sites.google.com 
  3. On the top right corner, click More > Manage site

  4. Under Themes, click Browse more themes on the top right corner
  5. Select IRRI Template v2
  6. Confirm the selection
  7. Template will be applied to existing site.
  8. There will be instances where some portions of the site will have to be manually edited. 
CPS web requires that all site should include members of CPS as site owners in order to facilitate troubleshooting and configuration.

Wednesday, April 17, 2013

Updating RT landing page procedure


Log-in to Web 2 Joomla backend

Click on "Modules"

MODULE DISPLAYING RICE TODAY BANNER ON RT LANDING PAGE

Preparing the banner images

Banner images specs are as follows

  • Format: PNG
  • Dimensions: 720x330
  • Resolution: 72dpi
  • Name: article title, use "-" instead of spaces

Creating the slideshow


  1. Click on the "Components" tab
  2. Click on "Frontpage Slideshow" component
  3. Set the category to "Rice Today" 
  4. Set the publishing state to "Published" 
  5. Select all and unpublish
  6. Add new 
  7. Set the slideshow category to "Rice Today"
  8. Select the source of slide content (click on K2 item)
  9. Upload the prepped image file to replace the default file automatically selected by the component.
  10. Save


MODULES DISPLAYING RICE TODAY CURRENT ISSUE ARTICLES ON RT LANDING PAGE

Main Stories

  1. Set position filter to "TModule 1"
  2. Look for "Main stories" module
  3. Delete all items under "Select specific items"
  4. Use the "Add items" box to select new items
  5. Save

Feature stories appearing on the left column

  1. Set position filter to "TModule 2"
  2. Look for "Current Issue left side" module
  3. Delete all items under "Select specific items"
  4. Use the "Add items" box to select new items
  5. Save

Feature stories appearing on the right column

  1. Set position filter to "TModule 3"
  2. Look for "Current Issue right" module
  3. Delete all items under "Select specific items"
  4. Use the "Add items" box to select new items
  5. Save

FRONT PAGE MODULE DISPLAYING RICE TODAY COVER


  1. Set position filter to "right"
  2. Make sure you have the cover image ready for upload to server, the image file must have the following specs
    • Format: PNG
    • Dimensions: 430x556
    • Resolution: 72dpi
    • Name: rice-today_<volume#>_<issue#>_cover.png
  3. Look for "Rice Today Magazine" module
  4. Under "Custom Output", right-click once on the image
  5. Select "Insert/Edit Image"
  6. Click on "ricetoday" folder under "Folders"
  7. Create a folder under images/ricetoday/ using the add folder icon 
  8. Name the folder <volume#>-<issue#> (e.g. 12-1)
  9. Double-click on the folder you created
  10. Upload the cover image using the upload file icon
  11. Set Dimensions to 116 x 150, proportional
  12. Alignment is set to "Middle"
  13. Update
  14. Make sure the link is not modified
  15. Save the module

MODULE DISPLAYING RICE TODAY CURRENT ISSUE ON RT LANDING PAGE

  1. Set position filter to "left"
  2. Make sure you have the current issue cover image ready for upload to server, the image file must have the following specs
    • Format: PNG
    • Dimensions: 600x559
    • Resolution: 72dpi
    • Name: RT-Current.png
  3. Look for "Current Issue" module
  4. Under "Custom Output", right-click once on the image
  5. Select "Insert/Edit Image"
  6. We need to replace the file.
  7. Upload the cover image using the upload file icon
  8. Set Dimensions to 200 x 186, proportional
  9. Alignment is set to "Middle"
  10. Update
  11. Right-click on the blue DOWNLOAD button.
  12. Modify the Scribd link URL
  13. Update
  14. Save the module

Friday, November 9, 2012

Getting the Google site template

Finally, an easier way to get and apply the IRRI Google site template!

Here's how:
A. Creating a Google site using the IRRI template:
1. Log in to your IRRI.ORG account
2. Go to sites.google.com
3. Click Create site on the left pane
4. Click Browse the gallery for more
5. Select IRRI Template v1
6. Name your site
7. Edit and populate your site.

The IRRI Template v1 looks like this:

The banner and footer are quite problematic (I don't know why yet), so you'll need to upload the file and paste the code below for the footer:
-start code-


<div style="display:block;text-align:left;width:100%"><br>
</div>
<table border="0" cellspacing="0" style="text-align:left;background-color:rgb(66,119,48);padding-top:15px" width="100%">
<tbody>
<tr>
<td style="width:300px;height:185px">&nbsp;
<div style="display:block;text-align:left">&nbsp; <a href="https://329ca82c-a-d6d9d6da-s-sites.googlegroups.com/a/irri.org/weblab-materials/google-site-materials/irri-logotype_237x48.png?attachauth=ANoY7cqPV5XcJ_GO9zx2jEb88VjlV2aAWCm4Wr04sOCOZ-HNdj1VxGJWmmnOpH869QlztN_63bt7iw6t4xHamfw4ouhnP6Wmxzf7LVYRarOIpf6IgRVTaKw200B57YwoCXJiOrD8ayJt2La76YuNsE3-RNdxETa2wo90Dfu4xzg8dyex_7YT4nfyVwULWLMA0-truQd0x3ubZgAzPSOa2fX6YrW4AAQCcS__aeYfpY9RB6tMpJpO6qMV6pe0y05M7nKmHlDCky98&amp;attredirects=0" imageanchor="1"><img border="0" src="https://329ca82c-a-d6d9d6da-s-sites.googlegroups.com/a/irri.org/weblab-materials/google-site-materials/irri-logotype_237x48.png?attachauth=ANoY7cqPV5XcJ_GO9zx2jEb88VjlV2aAWCm4Wr04sOCOZ-HNdj1VxGJWmmnOpH869QlztN_63bt7iw6t4xHamfw4ouhnP6Wmxzf7LVYRarOIpf6IgRVTaKw200B57YwoCXJiOrD8ayJt2La76YuNsE3-RNdxETa2wo90Dfu4xzg8dyex_7YT4nfyVwULWLMA0-truQd0x3ubZgAzPSOa2fX6YrW4AAQCcS__aeYfpY9RB6tMpJpO6qMV6pe0y05M7nKmHlDCky98&amp;attredirects=0"></a></div>
<br>
&nbsp;&nbsp;<font size="2"><br>
<font color="#ffffff">&nbsp; IRRI is a member of the<br>
<div style="font-weight:bold">
<div style="display:block;text-align:left">&nbsp;&nbsp;<a href="https://329ca82c-a-d6d9d6da-s-sites.googlegroups.com/a/irri.org/weblab-materials/google-site-materials/cgiar-logotype_90x98.png?attachauth=ANoY7co1yPYvzziJbqeJSfbVeIPb_kftZCw8C61gs1VCUDpqrtCUjzmsGaFWWvIBPOzKPWMihZ2bwHdpTKmk5wCQHORmv_H7RrHg-DPE7ej-xQwOc4Tsch11yCTEnhaOTdPh0mqjD9RAsSwP1MZCyedZOMmivoBYibWZ_v46NCnXjN3GP6clZNdr2JUY41-S_98SoupxBNEl91CVdOx2zrpgTTUzIzVUpjS1LM9fnTDo3DuelcDbCRxy_LY3ViSgqyVkAl4vlMLG&amp;attredirects=0" imageanchor="1"><img border="0" src="https://329ca82c-a-d6d9d6da-s-sites.googlegroups.com/a/irri.org/weblab-materials/google-site-materials/cgiar-logotype_90x98.png?attachauth=ANoY7co1yPYvzziJbqeJSfbVeIPb_kftZCw8C61gs1VCUDpqrtCUjzmsGaFWWvIBPOzKPWMihZ2bwHdpTKmk5wCQHORmv_H7RrHg-DPE7ej-xQwOc4Tsch11yCTEnhaOTdPh0mqjD9RAsSwP1MZCyedZOMmivoBYibWZ_v46NCnXjN3GP6clZNdr2JUY41-S_98SoupxBNEl91CVdOx2zrpgTTUzIzVUpjS1LM9fnTDo3DuelcDbCRxy_LY3ViSgqyVkAl4vlMLG&amp;attredirects=0"></a></div>
&nbsp;<b>&nbsp;</b></div>
<div style="font-weight:bold"></div>
</font></font></td>
<td style="width:300px;height:185px"><font color="#ffffff"><font size="4em">Mailing address</font></font><br style="color:rgb(255,255,255)">
<font size="2"><font style="color:rgb(255,255,255)">DAPO Box 7777</font><br style="color:rgb(255,255,255)">
<font style="color:rgb(255,255,255)">Metro Manila 1301</font><br style="color:rgb(255,255,255)">
<font style="color:rgb(255,255,255)">Philippines</font>&nbsp;</font><br>
<br>
<br>
<br>
<br>
<br>
<br>
</td>
<td style="width:300px;height:185px"><font color="#ffffff"><font size="4em">Courier address<br>
</font></font><font color="#ffffff"><font size="2">10th Floor Suite 1009, Security Bank Center&nbsp;<br>
6776 Ayala Avenue Makati City<br>
Metro Manila 1226 Philippines<br>
Tel: +63 2 856 6133 or +63 2 856 6129<br>
Fax: +63 2 891 1236</font><br>
</font></td>
<td style="width:300px;height:185px"><font color="#ffffff"><span style="font-size:large">Contact details</span><br>
<font size="2">

<div style="text-align:left">
<div style="display:inline;float:left;margin:5px 10px 0px 0px"><a href="https://329ca82c-a-d6d9d6da-s-sites.googlegroups.com/a/irri.org/weblab-materials/google-site-materials/phone.png?attachauth=ANoY7cq2EBglm0xYsnKCreAFhgwq5ABaaqLvgmz_21Xo-FRpDoE-UTBUeVGgU9FF56ZFxljof3sC46Lg0k8rI2Pm4XkPqAQyTN4v4APXeJV_JsvxnIm3SrBFARTekLOnfd-jYFeLg2XdY2dVxQDVAnS_oPwxe8QE6rKD06dX5eNIucX0r_b059I7HswHjRvXSESvbq_EO7FCK0v5LkDa3mQHG8Y_8pfZG0YaCHaFVsjiRoWZwZSrbv4%3D&amp;attredirects=0" imageanchor="1"><img border="0" src="https://329ca82c-a-d6d9d6da-s-sites.googlegroups.com/a/irri.org/weblab-materials/google-site-materials/phone.png?attachauth=ANoY7cq2EBglm0xYsnKCreAFhgwq5ABaaqLvgmz_21Xo-FRpDoE-UTBUeVGgU9FF56ZFxljof3sC46Lg0k8rI2Pm4XkPqAQyTN4v4APXeJV_JsvxnIm3SrBFARTekLOnfd-jYFeLg2XdY2dVxQDVAnS_oPwxe8QE6rKD06dX5eNIucX0r_b059I7HswHjRvXSESvbq_EO7FCK0v5LkDa3mQHG8Y_8pfZG0YaCHaFVsjiRoWZwZSrbv4%3D&amp;attredirects=0"></a></div>
+63 (2) 580 5600</div>
<div style="text-align:left">+63 (49) 845 056</div>
<div style="text-align:left"><br>
</div>
</font>
<div style="display:inline;float:left;margin:5px 10px 0px 0px"><a href="https://329ca82c-a-d6d9d6da-s-sites.googlegroups.com/a/irri.org/weblab-materials/google-site-materials/location.png?attachauth=ANoY7cpkO-vXG2VO_MH9z2K8qHfBz2d50JCAaBUY-vhGrPIoiRCVNfzRrna7aF7fgbr3OvHYPHeK8x_LAVq_i6tL0syyvxYooOuX4Z33dZ9RkILv0HWrnykn6iMRnrIs1UqWAHDRjG60MDJO5YHTbJflW8YTA1Nomt4Wycz5bUdkx53fwY2EBZ5vlTh20m5G9i3JepFuUzO1D6KPcFEb0ImrI6h4PMqrmRRVgvpGm-sZcglCuEYzgjE%3D&amp;attredirects=0" imageanchor="1"><img border="0" src="https://329ca82c-a-d6d9d6da-s-sites.googlegroups.com/a/irri.org/weblab-materials/google-site-materials/location.png?attachauth=ANoY7cpkO-vXG2VO_MH9z2K8qHfBz2d50JCAaBUY-vhGrPIoiRCVNfzRrna7aF7fgbr3OvHYPHeK8x_LAVq_i6tL0syyvxYooOuX4Z33dZ9RkILv0HWrnykn6iMRnrIs1UqWAHDRjG60MDJO5YHTbJflW8YTA1Nomt4Wycz5bUdkx53fwY2EBZ5vlTh20m5G9i3JepFuUzO1D6KPcFEb0ImrI6h4PMqrmRRVgvpGm-sZcglCuEYzgjE%3D&amp;attredirects=0"></a></div>
<div style="text-align:left"><span style="font-size:small">International Rice Research Institute&nbsp;</span></div>
<font size="2">
<div style="text-align:left"><font color="#ffffff">Los Baños, LAGUNA 4030</font>
</div>
<font color="#ffffff">
<div style="text-align:left">Philippines</div>
<div style="text-align:left"><br>
</div>
</font></font></font>
<div style="text-align:left"><br>
</div>
<div style="text-align:left"><font color="#ffffff"><font size="2"><font color="#ffffff"><b style="color:rgb(148,203,48)"><b><font color="#94CB30">
<div style="display:inline!important;margin:0px 5px 0px 0px;float:left;height:55px;overflow:hidden"><b style="color:rgb(255,255,255)"><font color="#94CB30">
<div style="display:inline;float:left;margin:5px 10px 0px 0px"><a href="https://329ca82c-a-d6d9d6da-s-sites.googlegroups.com/a/irri.org/weblab-materials/google-site-materials/message.png?attachauth=ANoY7cqOzTj71np2Zud3GeLjastDHAoFkyBrrwsE1DuL7p4xAA5BPGFxAfzAPpXwJTfrOSsw7Uk3mpw7HsvvsiG3PlyOSZ0YMxJ8ZlacOAQrY3INEAiB9PmsoQRofQwRQKB-5Kcbqa3dJ2MlcOBVExzAcW9jkxdx5neNtw4c4ra97anyN-ssHo1vwrcfaqVGotidQanyQo_HdTdmdJ9-_-ZFCrT9z1Ys6X13C4cVLP8XSkf7VtP4nCQ%3D&amp;attredirects=0" imageanchor="1"><img border="0" src="https://329ca82c-a-d6d9d6da-s-sites.googlegroups.com/a/irri.org/weblab-materials/google-site-materials/message.png?attachauth=ANoY7cqOzTj71np2Zud3GeLjastDHAoFkyBrrwsE1DuL7p4xAA5BPGFxAfzAPpXwJTfrOSsw7Uk3mpw7HsvvsiG3PlyOSZ0YMxJ8ZlacOAQrY3INEAiB9PmsoQRofQwRQKB-5Kcbqa3dJ2MlcOBVExzAcW9jkxdx5neNtw4c4ra97anyN-ssHo1vwrcfaqVGotidQanyQo_HdTdmdJ9-_-ZFCrT9z1Ys6X13C4cVLP8XSkf7VtP4nCQ%3D&amp;attredirects=0"></a></div>
info@irri.org</font></b></div>
</font></b></b></font></font></font></div>
</td>
</tr>
</tbody>
</table>


-end-

You can get the banner here.

To upload the image:
  • Go to More>Manage site
  • Click Colors and Fonts
  • Look for Site header background image
  • Click Add file

B. Applying IRRI template to an existing Google site:
1. Log in to your IRRI.ORG account
2. Go to sites.google.com and open your existing Google site
3. On the top right corner, click More > Manage site
4. Under Themes, click Browse more themes on the top right corner
5. Select IRRI Template v1

You no longer need to manually edit the Colors and Fonts of your existing Google site.

NOTE: Google sites do not automatically apply future changes made to the template (IRRI Template v1). Hence, you have to re-apply the template so you'll get an updated version.

Monday, October 29, 2012

Blogger design elements | Skinning


Updated: 10.29.12

PAGE

Font
Open Sans, 13px
Background color
#ffffff
Text Color
#5c5c5c
LINKS

Link color
#739600
Visited color
#739600
Hover color
#63704b
BLOG TITLE

Title font
Georgia, 57px
Title color
#f8f4e8 - #ffffff
Header background
#427730
BLOG DESCRIPTION

Font
Georgia, 10px
Text color
#ffffff
TABS TEXT

Font
Open Sans
Text color
#cccccc
Selected color
#e5e5e5
TABS BACKGROUND

Background color
#2e5321
Selected color
#eeeeee
Border color
Transparent
DATE HEADER

Font
Open Sans, 12px
Text color
#666666
Border color
#aab123
POST TITLE

Font
Trebuchet, 24 px
Text color
#333439
POST BACKGROUND

Background color
#fefdfa - #ffffff
Border color
transparent
Bevel color
Transparent
GADGET TITLE

Font
Trebuchet, Bold, 18px
Text color
#94cb30
GADGET TEXT

Font
Open Sans, 12 px
Text color
#ffffff
Alternate color
#ffffff
GADGET LINKS

Link color
#739600
Visited color
#739600
Hover color
#94cb30
GADGET BACKGROUND

Background color
#333439
Border color
Transparent
Bevel color
Transparent
SIDEBAR BACKGROUND

Background color
Transparent
IMAGES

Background color
#ffffff
Border color
#ffffff
FEED

Text color
#333439
FEED LINKS

Link color
#333439
Visited color
#333439
Hover color
#7ba10e
PAGER

Background color
#427730
FOOTER

Background color
Transparent
Text color
#2e5321
MOBILE BUTTON

Mobile button color
#ffffff

Tuesday, October 23, 2012

Assembly models


What are Assembly Models?

Creating assembly models is an integral part of content modeling; they will assist us in putting together a list of “objects” needed to assemble a content unit (i.e., a web page) on the IRRI.ORG web site. In our case, web pages are dynamically generated and will be composed of multiple objects which can either be inline or contextual .

Importance of Assembly Models

These models give both content creators and designers/developers a clear guide on both requirement (functionality) and implementation. Here are some things to consider when thinking about the assembly model:

  • How structured does the content unit need to be? Do we need to capture specific, uniquely identifiable data that can be used to sort or filter the content (for example, date, theme, or author)?
  • How flexible does the content unit need to be? Can we predict what the elements of a page will be, how many and in what order? Or do we need to support an open structure with the ability to add varying numbers of various content elements to any part of the page?
  • How reusable does the content need to be? Can we make the reusable parts separate so that they can be shared across different pages of the site?
  • How tolerant are your content creators of laborious processes? If we ask them to take a lot of unstructured content and break it into dozens of distinct data fields, are they going to have the time to do it, because this can be very time-consuming.
  • These will be useful in determining which contextual contents and in determining which portions of the site pass data to each other.

Don’t worry too much about getting precise answers to these questions at this initial stage. This information will help guide decisions in the subsequent steps. So even if we can’t get consensus on the answers, just having the questions will help shape our thinking and discussions for the rest of the task.

Wednesday, October 17, 2012

Typography

There are three typefaces used on the web: Open Sans, Trebuchet, and Arial. All are available on Google web fonts.

  • Open Sans is the primary (default) typeface used for content text, content title text, widget or gadget texts and title texts. 
  • Trebuchet is the secondary typeface for content title text, and headings. Trebuchet is recommended for texts of larger size (16pt - 32pt).
  • Arial is used when text needs to be small (8pt-12pt) and should not take up too much space, but have to look neat and be readable enough (e.g. photo captions). 
When Open Sans and Trebuchet are not available, Arial can be used.

Open Sans
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
1234567890~!@#$%^&*()_+}{"?
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
1234567890~!@#$%^&*()_+}{"?
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
1234567890~!@#$%^&*()_+}{"?



Trebuchet
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
1234567890~!@#$%^&*()_+}{"?
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
1234567890~!@#$%^&*()_+}{"?
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
1234567890~!@#$%^&*()_+}{"?


Arial
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
1234567890~!@#$%^&*()_+}{"?
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
1234567890~!@#$%^&*()_+}{"?
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
1234567890~!@#$%^&*()_+}{"?

Tuesday, October 16, 2012

Error reporting procedure

Reporting errors will be an important contribution by beta testers, when reporting errors please include the following pieces of information in your report.
  1. Browser used
  2. OS/platform
  3. URL being browsed
  4. Screenshots preferred
Providing the development team with as much information you can will greatly help us to more accurately address the issue.