Server Modules with an overview.tpl File

Some server modules use a custom file called overview.tpl (located in /modules/servers/[module_name]/templates/overview.tpl), which overrides the content that is displayed on the clientareaproductdetails.tpl page. If you would like to display a product image on this page, use the code below.

Please note: The styling of the overview.tpl file will differ from module to module. The below code is a guideline of what to add to this file.


VERSIONS 1.4 AND ABOVE

The code below is in addition to the required code in the clientareaproductdetail.tpl file and will not work without that code being added. 


Directly above the below line of code:


<div class="cpanel-package-details">

Add the following code:

<div id="productimage-include"></div>

Note: You can style this as necessary to match your current template. 



VERSIONS 1.3.7 AND BELOW


<img src="modules/addons/productimage/product_images/{$pid}.png" align="center" style="height: 75px;" onerror="productImageError(this);"><br />

Note: You can style this as necessary to match your current template. 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Theme Six Client Area Template – Clientareaproductdetails.tpl

VERSIONS 1.4 AND ABOVETo replace the default image that appears on the client area product...

Theme Six Client Area Template – Clientareaproducts.tpl

VERSIONS 1.4 AND ABOVE To add product images to the list of active products/services...

Customization of jCarousel (Image Carousel and Scrolling)

In Product Image Module versions 1.4 and above, components of the jQuery plugin jCarousel have...

*Required* - Add Code to header.tpl

VERSION 1.4 AND ABOVEAdd the following code to the <head></head> section of the...

*Required* - Add Code to footer.tpl

VERSION 1.4 AND ABOVEAdd the following code directly above the line {$footeroutput} in the...