msgbartop
Gossimer’s Premier Web Hosting and Domain Registration Knowledgebase.
msgbarbottom

16 Mar 10 How do I Add/Edit a SuperSite/PartnerSite Theme or How do I edit the CSS, Images, Javascript of my SuperSite/PartnerSite?

Gossimer allows you the ability to completely change the look and feel of your SuperSite and PartnerSite through the use of Themes.

What is a Theme?

A Theme is a set of design elements and color schemes that you apply to pages to give them a consistent and attractive appearance. Using a Theme is a quick and easy way to add interest to pages and give them a professional look.

A Theme allows you to alter the appearance of your SuperSite/PartnerSite by modifying its:

  • Cascading Style Sheets. By tweaking individual CSS files in your Theme you can modify the fonts, colors, spacing, etc., being displayed on your SuperSite/PartnerSite.
     
  • Images. You can replace the default set of images within your SuperSite/PartnerSite Theme. This is especially useful when you have translated your SuperSite/PartnerSite content and would want to display images with embedded text in that language.
     
  • Javascript. The style of the Javascript Menu within your SuperSite/PartnerSite Theme can be equally easily modified, to suit your customized SuperSite/PartnerSite.

By applying a Theme you can immediately apply a predetermined set of design elements to your SuperSite/PartnerSite content. When you choose one theme to be the default theme for your website, the theme is applied to all existing pages and to new pages that you add later. 

How to Add/Modify a Theme or How do I edit the CSS, Images, Javascript of my SuperSite/PartnerSite?

IMPORTANT  

      

  1. To modify the CSS, Images and Javascript of your SuperSite/PartnerSite, you need to first add a NEW Theme.
     
  2. While adding a Theme, you need to select the Default Theme from where you want the default CSS, Images and Javascript to be initially loaded. As you modify these elements, your changes become a part of your new Theme.
  3.  

Adding a Theme

You can create your own Themes using the default Theme as mentioned below -

      

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin area, click on the Add/Modify Content and Themes link. Then, click on Browse adjacent to the Themes folder.
    IMPORTANT 

    The Default SuperSite/PartnerSite Theme cannot be edited. If you wish to change the look and feel of your SuperSite/PartnerSite, you need to create your own Theme and modify the same.

  3. In order to create your own Theme, click on the Create Custom Theme link on the top right-hand corner of this page.
     
  4. Provide a unique name for your Theme and click Create My Theme. The Theme thus created will be listed under Your SuperSite/PartnerSite Theme(s) section.
     
  5. Click on the Browse link next to the Theme to view the contents of the Theme.
     
  6. Here you will find folders for CSS (Cascading Style Sheet) files, Images and JavaScript files.
  7.  

 

Modifying your Theme (editing your SuperSite/PartnerSite CSS, Images, Javascript)

 

You can modify the CSS files (Cascading Style Sheets) for different sections of SuperSite and PartnerSite, by following the process outlined below:

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin Area, click on the Add/Modify Content and Themes link. Then, click on Browse adjacent to the Themes folder.
     
  3. Click on Browse besides the Theme which you need to modify.
     
  4. Now click on Browse next to the CSS folder.
     
  5. This interface lists all the sections. Click on Browse, adjacent to the section for which you wish to modify the style sheets.
     
  6. The following page lists all the CSS files used in the section you have chosen. Click on Edit, adjacent to the CSS file you wish to modify.
     
  7. You will be presented with two textboxes; one on the left-hand side of the page with the title as Original Content and the other on the right-hand side with the title as My Modified Content. You can make the required modifications in the My Modified Content text box.
     
  8. Click on the Save Changes button beneath after completing the modification.
     
IMPORTANT 

If you are not satisfied with the modifications and wish to revert to the earlier setting, simply click on Reset to Default from the Edit page, to restore the default settings for that file.

Virtually every image in SuperSite and PartnerSite is customizable – should you not find any to your liking, you can replace it with another at any time.
 

IMPORTANT 

     

  1. In order to modify an image file in SuperSite or PartnerSite, you need to note its name. To get the name of the image, simply right-click on the image in your browser, and select Properties. Here, you would find the address for the image. For example, http://<prefix>.SuperSite/PartnerSite.myorderbox.com/getImage.php?src=image-name.gif, orhttp://<prefix>.partnersite.myorderbox.com/getImage.php?src=image-name.gif

    where image-name.gif is the name that you require.
     

  2. Also, there are some image files which are a part of the CSS itself; you would not be able to retrieve the filenames in the above manner. To retrieve the names of such image files, you need to check the style sheets for the section containing the image in question, and retrieve the image file name from there. Click here to find instructions on how to edit your SuperSite/PartnerSite/PartnerSite CSS files >>
     
  3. : You can follow the process mentioned below to replace the default header logo with the logo of your company. To do so, you need to replace the image named yourbrand.gif.
  4.  

 


Follow the process outlined below to modify any Image files in your SuperSite/PartnerSite:

     

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin Area, click on the Add/Modify Content and Themes link. Then, click on Browse adjacent to the Themes folder.
     
  3. Click on Browse besides the Theme which you need to modify.
     
  4. Click on Browse link next to the Images folder.
     
  5. This interface lists all the images used by the SuperSite/PartnerSite.
     
  6. In the list, look for the name of the image you wish to modify. Click on Edit, adjacent to it.
     
  7. Click on Browse, and select the image you wish to upload in place of the default.
     
  8. Click on Upload Image. This will replace the default Image with the one you have provided, such that every page where the old image file was being displayed, would now display your uploaded image file.
  9.  

 

In addition to the default images, you can add/edit your own images as mentioned below:

      

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin Area, click on the Add/Modify Content and Themes link. Then, click on Browse adjacent to the Themes folder.
     
  3. Click on Browse besides the Theme which you need to modify.
     
  4. Click on Browse link next to the Images folder.
     
  5. Click on Browse next to the MyUploadedImages folder.
  6.  

 

Adding your own Images

     

  1. Click on the Add your own Images button on the top right-hand corner of this page.
     
  2. Click on Browse, and choose the image that you want to upload.
     
  3. Once the image is selected, click on Upload button.
  4.  

Editing Images added by you

     

  1. Click on the Edit link next to the image you wish to modify.
     
  2. Click on Browse, and choose the image that you want to upload.
     
  3. Once the image is selected, click on Upload Image button.
  4.  

After uploading an image using the above tool, you would need to link it from some HTML page on your SuperSite/PartnerSite.

IMPORTANT 

     

  1. If you have translated your SuperSite/PartnerSite content to multiple languages, then you may want to have images with text embedded on them in that particular language itself. To accomplish this you would need to associate different languages to separate Themes and within each Theme have Images related to only that language.
     
  2. If you are not satisfied with the modifications and wish to revert to the earlier setting, simply click on Reset to Default from the Edit page, to restore the default settings for that file.
  3.  

The manner in which the menu is displayed, can be modified just as easily:

     

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin Area, click on the Add/Modify Content and Themes link. Then, click on Browse adjacent to the Themes folder.
     
  3. Click on Browse besides the Theme which you need to modify.
     
  4. Click on Browse next to the JS folder.
     
  5. Click on Edit, adjacent to the menu_style.js file.
     
  6. You will be presented with two textboxes; one on the left-hand side of the page with the title as Original Content and the other on the right-hand side with the title as My Modified Content. You can make the required modifications in the My Modified Content text box.
     
  7. Click on the Save Changes button beneath after completing the modification.
  8.  

     

IMPORTANT 


How do I apply a Theme to my SuperSite/PartnerSite? 

You can display your SuperSite/PartnerSite in either the Default Theme provided by Gossimer or use any one of the Themes you have recently added. Follow the below mentioned process to accomplish this:

     

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin Area, click on the Configure Languages and Themes link.
     
  3. Here you may either set your Theme for the Default English Language or any other language added by you, by selecting the Theme from the Associated Themes drop-down.
     
  4. Click on the Save button to associate the selected Theme to a particular language.
  5.  

 

IMPORTANT 

The Theme you have selected will be applied to your SuperSite/PartnerSite ONLY after you have enabled that particular language.


Click here to know how to configure Multiple Language support to your SuperSite/PartnerSite >>

Tags: , , , , , , , , , , , , , , , , , , ,

12 Mar 10 How can I remove the Resellers tab from my SuperSite?

In case you run a retail-only business, you can configure your SuperSite to cater only to end Customers by removing all Reseller-related content from your SuperSite. In order to do so, all you need to do is hide the Resellers section from the JavaScript menu just below the header in your SuperSite.

Hiding the Resellers menu is very simple, all you need to do is to comment the main line of code that defines the Resellers menu. Click here to read how >>.

The code defining the Resellers menu commented in the fashion illustrated below, would conceal the menu on your SuperSite.


 /* aI(“align=center;text=Resellers;url=reseller.php?action=partnersite;target=_blank;image=getImage.php?src=menu-end-cover.gif;_quot;); */
 

resellertab How can I remove the Resellers tab from my SuperSite?

IMPORTANT

The Resellers menu is placed at the the end of the menu bar, and ends in curved edges. Commenting the code for the Resellers section would hide the menu, but also leave sharp edges at the right extremity of the main menu.

In order to preserve the look of the main menu, you would have to append the code that lends the curvature, to the menu immediately preceding the Resellers menu. (This would be the Business Solutions menu by default, or any other menu if you have switched the order in which the menu items are displayed.) The patch of code you need to append to the menu is:

image=getImage.php?src=menu-end-cover.gif;<_font>

To lend curved edges to the Business solutions menu, simply modify the code that defines the menu, like so


 aI(“align=center;showmenu=Business Solutions;text=Business Solutions;image=getImage.php?src=menu-end-cover.gif;_quot;);
 

This will ensure that the menu is displayed appropriately.

noresellertab How can I remove the Resellers tab from my SuperSite?

 

Tags: , , , , , , , , , , , , , , , , ,

10 Mar 10 How do I make changes to the JavaScript menu in the SuperSite and PartnerSite?

Gossimer allows you to customize the JavaScript menus in your SuperSite or PartnerSite, such that you may modify/remove particular sub-menus, or even remove a particular menu altogether.

In order to make the changes required, follow the process outlined below.

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin area, click on Add/Modify Content and Themes link to open this section.
     
  3. Click on Browse link next to the JavaScript Menu folder.
     
  4. Click on Browse link next to the language for which you wish to make the modification.
     
  5. Click on the Edit link adjacent to the menu_data.js file.
     

    IMPORTANT

    The menu_data.js file contains the various Menu text as well as their links. On the other hand, the menu_style.js file contains all the style elements of your JavaScript Menu. So if you need to simply make modifications to how the menu is displayed, then you need to only edit menu_style.js file. Click here to read how >>

     

  6. You will presented with two textboxes; one on the left-hand side of the page with the title as Original Content and the other on the right-hand side with the title as My Modified Content. You can make the required modifications in the My Modified Content text box.

    Example: The following code, extracted from Supersite, defines the main menu.


     with(milonic=new menuname(“Main Menu”)){
     position=”relative”;
     alwaysvisible=1;
     orientation=”horizontal”;
     style=menuStyle;
     menuwidth=760;
     aI(“image=getImage.php?src=menu-start-cover.gif;imagepadding=0;imageposition=left;_quot;);
     aI(“align=center;showmenu=Domain Names;text=&nbsp;&nbsp;Domains&nbsp;&nbsp; ;”);
     aI(“align=center;showmenu=Linux Hosting;text=Linux Hosting;”);
     aI(“align=center;showmenu=Windows Hosting;text=Windows Hosting;”);
     aI(“align=center;showmenu=Business Email;text=&nbsp;&nbsp;&nbsp;Email&nbsp;&nbsp;&nbsp; ;”);
     aI(“align=center;showmenu=Site Builder;text=Website Builder;”);
     aI(“align=center;showmenu=Business Solutions;text=Business Solutions;”);
     aI(“align=center;showmenu=Resellers;text=Resellers;image=getImage.php?src=menu-end-cover.gif;_quot;);
     

    You can modify the main menu here. You may even remove a particular menu by commenting the line in this code. For instance, the code defining the Business solutions menu commented in the fashion illustrated below, would conceal the menu on your Supersite.


     /* aI(“align=center;showmenu=Business Solutions;text=Business Solutions;”); */
     

     

  7. On completing the modification, click on Save Changes. The changes you have made will be reflected on your SuperSite or PartnerSite immediately.
  8.  

IMPORTANT

  1. If you are not satisfied with the modifications and wish to revert to the earlier setting, simply click on Reset to Default from the Edit page, to restore the default settings for that file.
     

  2. Once you modify a JavaScript file using the above tool, the status of such a file will change from Default to Modified. Once you have modified a file, we would not be able to automatically update the content of the same when new content is added by us; you would have to synchronize the content yourself. Click here to synchronize the JavaScript Menu modified by you with any new content added by Gossimer >>
     

  3.  

 

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

02 Mar 10 Why are my ASP pages displaying an Error Message – Disallowed Parent Path or Disallowed Path Characters?

The Microsoft IIS 6.0 web server considers relative paths as a potential security hazard and therefore disables the same by default. To ensure that the server where your website is hosted can not be exploited in this fashion, Gossimer keeps relative paths disabled.

Examples

Relative Path: <img src=”../images/image.gif”>
Absolute Path: <img src=”www.yourdomain.com/images/image.gif”>

If you have designed a website in ASP which uses relative linking, then your website visitors may encounter an error message such as:

Active Server Pages, ASP 0131
Disallowed Parent Path
The Include file ‘../<filename.ext>’ cannot contain ‘..’ to indicate the parent directory.
/<path>/<filename.asp>, line <number>

OR

Server.MapPath()error ‘ASP 0175 : 80004005′ Disallowed Path Characters

You would receive such errors because you are referring to a file in a directory, which is a level above your Current Working Directory using Relative Paths or better know as Parent Paths.

To resolve this error, you have 2 options:

Option 1: Use an Absolute Path with the domain name

For every file you want to link within your ASP file, you need to mention the complete path including the domain name. For example, http://www.yourdomain.com/images/1.gif.
 

Option 2: Use an Absolute Virtual Path

You would need to modify your ASP scripts to use absolute virtual paths from the root of your website, instead of relative paths. For example, if you use an include file named “mycode.inc” at the root of your site, the virtual path would be “/mycode.inc.” If you use the same include file in a virtual directory named “/includes” on your server, the virtual path would be “/includes/mycode.inc” where “/” indicates the ROOT of your Website or the Web Directory.

The below example illustrates how to implement Virtual Paths in your scripts instead of Relative Paths -

<!–#include virtual=”/<virtual path>/<filename_you_wish_to_include>”–>

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

17 Feb 10 How do I Add/Edit a SuperSite/PartnerSite Theme or How do I edit the CSS, Images, Javascript of my SuperSite/PartnerSite?

Gossimer allows you the ability to completely change the look and feel of your SuperSite and PartnerSite through the use of Themes.
 

What is a Theme?


A Theme is a set of design elements and color schemes that you apply to pages to give them a consistent and attractive appearance. Using a Theme is a quick and easy way to add interest to pages and give them a professional look.

A Theme allows you to alter the appearance of your SuperSite/PartnerSite by modifying its:

  • Cascading Style Sheets. By tweaking individual CSS files in your Theme you can modify the fonts, colors, spacing, etc., being displayed on your SuperSite/PartnerSite.
     
  • Images. You can replace the default set of images within your SuperSite/PartnerSite Theme. This is especially useful when you have translated your SuperSite/PartnerSite content and would want to display images with embedded text in that language.
     
  • Javascript. The style of the Javascript Menu within your SuperSite/PartnerSite Theme can be equally easily modified, to suit your customized SuperSite/PartnerSite.

By applying a Theme you can immediately apply a predetermined set of design elements to your SuperSite/PartnerSite content. When you choose one theme to be the default theme for your website, the theme is applied to all existing pages and to new pages that you add later.
 

How to Add/Modify a Theme or How do I edit the CSS, Images, Javascript of my SuperSite/PartnerSite?

 

IMPORTANT 

     

  1. To modify the CSS, Images and Javascript of your SuperSite/PartnerSite, you need to first add a NEW Theme.
     
  2. While adding a Theme, you need to select the Default Theme from where you want the default CSS, Images and Javascript to be initially loaded. As you modify these elements, your changes become a part of your new Theme.

 

Adding a Theme

You can create your own Themes using the default Theme as mentioned below -

     

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin area, click on the Add/Modify Content and Themes link. Then, click on Browse adjacent to the Themes folder.
      

    IMPORTANT 

    The Default SuperSite/PartnerSite Theme cannot be edited. If you wish to change the look and feel of your SuperSite/PartnerSite, you need to create your own Theme and modify the same.

     

     

  3. In order to create your own Theme, click on the Create Custom Theme link on the top right-hand corner of this page.
     
  4. Provide a unique name for your Theme and click Create My Theme. The Theme thus created will be listed under Your SuperSite/PartnerSite Theme(s) section.
     
  5. Click on the Browse link next to the Theme to view the contents of the Theme.
     
  6. Here you will find folders for CSS (Cascading Style Sheet) files, Images and JavaScript files.
     
  7.  

 

Modifying your Theme (editing your SuperSite/PartnerSite CSS, Images, Javascript)

 

You can modify the CSS files (Cascading Style Sheets) for different sections of SuperSite and PartnerSite, by following the process outlined below:

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin Area, click on the Add/Modify Content and Themes link. Then, click on Browse adjacent to the Themes folder.
     
  3. Click on Browse besides the Theme which you need to modify.
     
  4. Now click on Browse next to the CSS folder.
     
  5. This interface lists all the sections. Click on Browse, adjacent to the section for which you wish to modify the style sheets.
     
  6. The following page lists all the CSS files used in the section you have chosen. Click on Edit, adjacent to the CSS file you wish to modify.
     
  7. You will be presented with two textboxes; one on the left-hand side of the page with the title as Original Content and the other on the right-hand side with the title as My Modified Content. You can make the required modifications in the My Modified Content text box.
     
  8. Click on the Save Changes button beneath after completing the modification.
     
IMPORTANT 

If you are not satisfied with the modifications and wish to revert to the earlier setting, simply click on Reset to Default from the Edit page, to restore the default settings for that file.

 

 

Virtually every image in SuperSite and PartnerSite is customizable – should you not find any to your liking, you can replace it with another at any time.
 

IMPORTANT 

     

  1. In order to modify an image file in SuperSite or PartnerSite, you need to note its name. To get the name of the image, simply right-click on the image in your browser, and select Properties. Here, you would find the address for the image. For example, http://<prefix>.SuperSite/PartnerSite.myorderbox.com/getImage.php?src=image-name.gif, or

    http://<prefix>.partnersite.myorderbox.com/getImage.php?src=image-name.gif

    where image-name.gif is the name that you require.
     

  2. Also, there are some image files which are a part of the CSS itself; you would not be able to retrieve the filenames in the above manner. To retrieve the names of such image files, you need to check the style sheets for the section containing the image in question, and retrieve the image file name from there. Click here to find instructions on how to edit your SuperSite/PartnerSite/PartnerSite CSS files >>
     
  3. : You can follow the process mentioned below to replace the default header logo with the logo of your company. To do so, you need to replace the image named yourbrand.gif.

 


Follow the process outlined below to modify any Image files in your SuperSite/PartnerSite:

     

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin Area, click on the Add/Modify Content and Themes link. Then, click on Browse adjacent to the Themes folder.
     
  3. Click on Browse besides the Theme which you need to modify.
     
  4. Click on Browse link next to the Images folder.
     
  5. This interface lists all the images used by the SuperSite/PartnerSite.
     
  6. In the list, look for the name of the image you wish to modify. Click on Edit, adjacent to it.
     
  7. Click on Browse, and select the image you wish to upload in place of the default.
     
  8. Click on Upload Image. This will replace the default Image with the one you have provided, such that every page where the old image file was being displayed, would now display your uploaded image file.
  9.  

 

 

In addition to the default images, you can add/edit your own images as mentioned below:

     

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin Area, click on the Add/Modify Content and Themes link. Then, click on Browse adjacent to the Themes folder.
     
  3. Click on Browse besides the Theme which you need to modify.
     
  4. Click on Browse link next to the Images folder.
     
  5. Click on Browse next to the MyUploadedImages folder.
  6.  

 

Adding your own Images

     

  1. Click on the Add your own Images button on the top right-hand corner of this page.
     
  2. Click on Browse, and choose the image that you want to upload.
     
  3. Once the image is selected, click on Upload button.

Editing Images added by you

     

  1. Click on the Edit link next to the image you wish to modify.
     
  2. Click on Browse, and choose the image that you want to upload.
     
  3. Once the image is selected, click on Upload Image button.

After uploading an image using the above tool, you would need to link it from some HTML page on your SuperSite/PartnerSite.

IMPORTANT 

     

  1. If you have translated your SuperSite/PartnerSite content to multiple languages, then you may want to have images with text embedded on them in that particular language itself. To accomplish this you would need to associate different languages to separate Themes and within each Theme have Images related to only that language.
     
  2. If you are not satisfied with the modifications and wish to revert to the earlier setting, simply click on Reset to Default from the Edit page, to restore the default settings for that file.
  3.  


The manner in which the menu is displayed, can be modified just as easily:

     

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin Area, click on the Add/Modify Content and Themes link. Then, click on Browse adjacent to the Themes folder.
     
  3. Click on Browse besides the Theme which you need to modify.
     
  4. Click on Browse next to the JS folder.
     
  5. Click on Edit, adjacent to the menu_style.js file.
     
  6. You will be presented with two textboxes; one on the left-hand side of the page with the title as Original Content and the other on the right-hand side with the title as My Modified Content. You can make the required modifications in the My Modified Content text box.
     
  7. Click on the Save Changes button beneath after completing the modification.
  8.  

IMPORTANT  


How do I apply a Theme to my SuperSite/PartnerSite?
 

You can display your SuperSite/PartnerSite in either the Default Theme provided by Gossimer or use any one of the Themes you have recently added. Follow the below mentioned process to accomplish this:

     

  1. Login to your SuperSite or PartnerSite Admin Area. Click here to learn how >>
     
  2. In the Admin Area, click on the Configure Languages and Themes link.
     
  3. Here you may either set your Theme for the Default English Language or any other language added by you, by selecting the Theme from the Associated Themes drop-down.
     
  4. Click on the Save button to associate the selected Theme to a particular language.
     
  5.  

 

IMPORTANT 

The Theme you have selected will be applied to your SuperSite/PartnerSite ONLY after you have enabled that particular language.

 


Click here to know how to configure Multiple Language support to your SuperSite/PartnerSite >>

Tags: , , , , , , , , , , , , , , , , , ,