How To Do This & That :)

VSB Website Manual

Update, 1-Sep-2015

This page is for designated VSB web editors only.

The VSB websites that were temporarily housed at the eUP google sites have been moved outside eUP so that the site can be pointed to the official address, which cannot be done with the eUP sites. The eUP sites make use of the account while the present site uses a non-eUP account: The latter however still uses the's google drive to store spreadsheets, PDFs and graphics files. This site's original address,, now points to our official address:

This page is an update of :

CBA Google Drive Contents

This CBA google drive is the storage drive used by the eUP account.
This drive contains most of the shared files - PDFs, Gsheets, docx, TXT and html - used in the VSB websites.
Login to the CBA account, then click here to view files and subdirectories.
You may create subdirectories and add files here but you have to update the listing below.


  1. Old, Deprecated or Unused Files
  2. WEB_html_backup - all HTML codes of VSB, VSB-faculty, MBA and PhD-Business websites
  3. Undergraduate - all docs and PDFs used in undergraduate pages
  4. Research - All research related PDFs/documents
  5. MBA announcements - PDFs/documents in MBA announcement page

Root Directory Files

  1. Share.txt - html code to add FB, g+ and twitter shares
  2. how2embedPDFinGoogleSites.txt - html code to embed PDF in web page (see explanation and example below)
  3. example_html_table.htm - example of simple html table built from scratch (see website list below)
  4. example_html_table2.htm - another example table template that is easier to use - just replace the numbers
  5. VSB Phone Directory (GSheet , webpage version) - VSB phone extension numbers
  6. Lecturers (Gsheet) - appears in faculty directory page

Editing the VSB Web Site

All previous VSB webs (MBA, PhD, Undergraduate and VSB), except the PhD resources web, have been consolidated into one main website:
Note: You can edit pages of the site using the original google site's URL above but not the alias which is
Before intensive/heavy editing, it is a good idea to backup the html code of the page in a text file. To do this, (1) click on the pencil icon, (2) click on the <html> link, (3) press the control-a keys to select all (make sure the cursor is in the section of the page you want to backup), (4) press control-c, (5) open a text file,  (6) press control-v, and (7) save the text file.

Editing a Page

To edit the main web, login to the account (or your gmail account if permission has been given).
You are allowed to edit a web page if you can view on the upper right corner of that
the graphic icons pictured at the right. This means you have successfully logged on to the VSB website.

To start editing a page, click on the pencil icon. On screen, you will see a cursor (usually at the top left of the editing window) that allows you to type information as you would in a word processor. To learn how to edit Google sites pages, click here.
(Note: (26jun2019) there are now 2 kinds of sites: new google site and classic google site; this is a classic site. Pages in Google Help distinguish between the 2.)

To create a new page, click the new page icon.
To change page settings, manage site and edit site layout, click on the wheel icon. For more Google sites help, click here.
To change share settings, click on the share icon. (More details on sharing at the Faculty Pages section below)
Note: Only a few segments of the VSB webs differ from their default format settings. To return to the default settings (e.g., to remove italics), highlight the section you want restored and press control-spacebar (or control-\). If this does not work, you have to edit the HTML codes to remove unwanted html tags.

HTML Editing

You can edit the HTML codes by clicking the <HTML> icon while you are in edit mode.

Some useful codes are:
<br> add a single line break (soft return)
<hr> add a line (useful in accurately delineating sections/sub-sections of a page)
<ol></ol> ordered list
<ul></ul> unordered list
<li></li> defines a list item; used in ordered and unordered listing
<div></div> defines a division or a section in an HTML document.
<td></td> defines a standard cell in an HTML table.
<tr></tr> defines a row in an HTML table.
<tbody></tbody>                used to group the body content in an HTML table.
<table></table> defines an HTML table.
 &nbsp; non-breaking space.
A useful reference link for html tags is:

Selected Keyboard Shortcuts

e go to page edit mode (same as clicking the pencil icon)
c create a new page (same as clicking new page icon; page templates available: web page, announcement, file cabinet, list, start page)
u go to page settings (has options to show title page, links to sub-pages, allow attachments, allow comments and change page URL)
m, g, m manage site (many options - see below) 
m, shift-L                           edit site layout (set site width; enable/disable: site header, horizontal navigation, sidebar, custom footer; NOTE: only the owner can change the sites layout)
g, p preview page
shift-c copy page
shift-m move page
shift-3 delete page 
Manage site options:
change site name, delete site, copy site, publish site as template; list pages and rearrange them (drag/drop); view attachments and their locations; change sharing and permissions; change/set themes; create templates; view recent site activity; list/view deleted pages. 
NOTE: all the above have mouse click equivalents.

Faculty Pages

Create a New Faculty Page

    Add a New Page

  1. Click on the 'create a new page' icon (or press 'c').
  2. Name your page:  First name(s)<space>Family name.
  3. Choose "faculty page" template.
  4. Click on the 'create' button.
  5. Begin entering information, then click on save.
  6. Change Share Settings

  7. Go to the Faculty's page.
  8. Click on share button at the upper right corner of the screen (see picture above).
  9. Click the 'Change' box beside the: 'Use the same permissions and members as Faculty'. A dialog box appears.
  10. Change setting to: 'Use custom permission' and 'Custom permissions: Do not add new users to this page'.
  11. Click on 'Save'.

Give Permission to Edit

    Change from editing to viewing (all pages)/Send invitation to view

  1. At the left column of the permissions page, click on: 'Site - UP Virata School of Business'.
  2. Make sure that the 'Link to share' box contains:
  3. In the 'invite people' box, type in the email address of the faculty (Gmail account only).
  4. Beside the box, change 'can edit' to 'can view'.
  5. Write the message: 'Try to edit your page. You should see a pencil icon at the upper right corner of the screen.'
  6. Click on send.
  7. Change from viewing to editing (specific faculty page)

  8. At the left column of the permissions page, find and click on the faculty's name.
  9. 'Link to share' box changes to
  10. Change 'can view' to 'can edit' in the drop-down box beside the name of the faculty member.
  11. Click on 'save changes'. 

Embedding a PDF in a Page (used in announcements)

  1. Put the PDF in CBA's Google drive.
  2. Change the share settings of the PDF from 'Private' to 'Anyone with the link'. (right click the file, click on 'share', click on 'advanced', click 'change')
  3. Get the link address of the PDF from the drive. (right click the file in Google drive and click on 'get link')
  4. Save the link in a temporary text file and copy the file ID shown in the link address.
  5. In the same text file, put the file ID in the srcid of the following <iframe> html code:
    <iframe src="[put your file id here]&pid=explorer&efh=false&a=v&chrome=false&embedded=true" width="640px" height="480px"></iframe>  
  6. EXAMPLE of steps 3 to 5 above: NSTP announcement (NSTP enrollment0001.pdf)
    From the 'get link' step, we obtain the file's link address which contains the file ID (in red):
    With this, we arrive at the final <iframe> html code:
    <iframe src="" width="640px" height="480px"></iframe> 
  7. Go to the page where the PDF is to be embedded.
  8. Click on the edit icon;
  9. Click on the <HTML> icon. 
  10. Copy and paste the edited <iframe> html code in the desired location in the page.
  11. Click on update, then click on save.  View the result here.

Adding Articles in the News Page

  1. Go to the news page:
  2. Click on 'new post'.
  3. Add title.
  4. From the drop down menu, click on 'Layout' and choose 'two column'.
  5. Type in or paste text of article in the first column.
  6. Put photo if needed: click 'Insert' and choose 'Image'.
  7. Choose small image and inline. 

Inserting Gadgets

  1. Click on the edit icon.
  2. Put the cursor in the desired position of the gadget.
  3. Click on the insert menu. Click on any one of the following:
'Table of Contents' to insert Table of Contents, then click 'save'.
'Recent Posts' to insert an Announcements page, choose page, then click 'save'.
'Drive' > 'Spreadsheet' to insert a google spreadsheet, choose file, then click save.
For some objects like the Google spreadsheet, you need to change share settings from 'Private' to 'Anyone with link'.
The Table of Contents gadget makes use of the built in headings as shown in this how-to page.
Other gadgets are available, e.g., maps, youtube, chart, calendar, drive>form, drive>video, etc.

Putting FB, g+, Twitter and LinkedIn Sharing Icons

  1. Retrieve the URL of the page for sharing.
  2. Open a temporary text file and insert the URL in the following code:
  3. <div> 
    <a href="[put URL here]" target="_blank"> 
    <img width="200" height="200" style="width: 25px; height: 25px;" alt="Facebook" src=""></a>
    <a href="[put URL here]" target="_blank"> 
    <img width="200" height="200" style="width: 25px; height: 25px;" alt="Google" src=""></a>
    <a href=";url=[put URL here]" target="_blank"> 
    <img width="200" height="200" style="width: 25px; height: 25px;" alt="LinkedIn" src=""></a>
    <a href="[put URL here]&amp;name=Virata%20School%20of%20Business&amp;hashtags=VirataSchoolofBusiness" target="_blank"> 
    <img width="200" height="200" style="width: 25px; height: 25px;" alt="Twitter" src=""></a>
  4. Go to the page to be shared.
  5. Click on the edit icon ;
  6. Click on the <HTML> icon.
  7. Insert the above edited code in the desired position of the icons in the page.
  8. You may delete the lines of icons you do not want to put.
  9. Click on update, then click on save. View example here.

Miscellaneous Information

There are pages that are not linked and hence are effectively (semi-)private pages. They are accessible only if the owner gives the URL to a selection of people (like this page) or if you give it away.
List of unlinked pages: - this page is used like a scratch paper, to test and experiment on the contents of a page before finalizing. - this page
An alternative to copying pages (shift-c) is to copy the full HTML code of a page and paste it in a blank page. This is useful when editing a page but you are not sure about the result you will get. The following is an example:
  1. Go to the page you want to revise/copy.
  2. Click on the edit icon.
  3. Click on the <HTML> icon.
  4. Press control-a to select all html code.
  5. Press control-c to copy all html code.
  6. Don't save page (press 'esc' twice).
  8. Go to the temp page.
  9. Click on the edit icon.
  10. Click on the <HTML> icon.
  11. If it is not a blank page, press control-a to select all html code. Press 'delete' to erase all old html code.
  12. Press control-v to paste all html code in memory.
  13. Make the desired revisions.
  14. Click on update.
  15. Click on save.