Translate Page To German Tranlate Page To Spanish Translate Page To French Translate Page To Italian Translate Page To Japanese Translate Page To Korean Translate Page To Portuguese Translate Page To Chinese Translate Page To Russian Translate Page To Dutch

09 Jan 2009 
Support Center » Knowledgebase » How to add a box for the tag cloud in osCommerce
 How to add a box for the tag cloud in osCommerce
Solution

If you want to add a box to your left column and display Tag Cloud in it, we can offer you to do this in 2 easy steps:

1. Create a file named 'tagcloud.php' that contains the following code:

<!-- tagcloud //-->
         <tr>
            <td>
<?php
  require_once(DIR_WS_MODULES . 'tagcloud/m1_tagcloud.php');
  $info_box_contents = array();
  $info_box_contents[] = array('text' => 'TagCloud');

  new infoBoxHeading($info_box_contents, false, false);

  $info_box_contents = array();
  $info_box_contents[] = array('text' => insertTagCloud(1, "DESC"));
  new infoBox($info_box_contents);
?>
            </td>
          </tr>
<!-- tagcloud_eof //-->

and upload the created file into \includes\boxes\ directory

2. Open file includes\column_left.php and before last "?>" symbol insert this line:

require(DIR_WS_BOXES . 'tagcloud.php');

save and close the file



Article Details
Article ID: 497
Created On: 04 Sep 2008 07:13 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | Troubleshooter | News | Downloads | Support Forum | Public Bug Tracker | Documentation | Beta Testers
Language:

Help Desk Software By Kayako SupportSuite v3.30.01