Jump to content
Pronux

Tab Menu Section (TMS) and Pronux TMS For Admin Support Thread

Recommended Posts

This is the official support thread for the new Tab Menu Section (TMS) and Pronux TMS For Admin contribution.

 

IMPORTANT: Before posting here, please try the following steps to solve your problem:

 

1. Add following code to see possible errors:

 

BEFORE

include DIR_WS_INCLUDES.'TMS/Conf.php';

ADD

error_reporting(E_ALL);
ini_set("display_errors", 1);

2. Check if the stylesheet.css is correct: Have you added the TMS CSS entries to the right stylesheet.css? There is one for the shop and one for the admin.

3. Upload the the modified and working PHP-files from zip package to your shop and try if it works: Important: backup/rename the original files first

4. Empty your browser cache

5. Post your question or problem here in the forum, if possible add a screenshot of the issue

 

Demo Page: You can test the add-on live at:

- http://oscommerce.pronux.ch/product_info.php?products_id=28

- http://tms.pronux.ch


Specialist in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System

About Pronux | Pronux Contributions and Add-Ons

Share this post


Link to post
Share on other sites

We received a eMail from a user who has a modified osCommerce installation and some problems to install TMS. Our answer:

 

No descriptions problem: At categories.php there are two lines which are loading the content (description) into each tab. Comment out the second line with // and try if it works:

 

$TMS->tab[$tabNo]['content'] = tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft'.......

//$TMS->tab[$tabNo]['content'] = str_ireplace('<textarea ', '<textarea style="width: 100%; height: 100%" ', $TMS->tab[$tabNo]['content']);

 

If it doesn’t work, try this to test if you can load content to the tabs:

 

$TMS->tab[$tabNo]['content'] = ‘this is a short test’;

$TMS->tab[$tabNo]['content'] = str_ireplace('<textarea ', '<textarea style="width: 100%; height: 100%" ', $TMS->tab[$tabNo]['content']);

 

Design: To change the width of the tab-menu and the tab height, go to /catalog/admin/includes/TMS/Conf.php and change the following entries:

$CONF['totalWidth'] = 650;

$CONF['tabPaddingTop'] = 0;


Specialist in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System

About Pronux | Pronux Contributions and Add-Ons

Share this post


Link to post
Share on other sites

We received a eMail from a user who has a modified osCommerce installation and some problems to install TMS. Our answer:

 

No descriptions problem: At categories.php there are two lines which are loading the content (description) into each tab. Comment out the second line with // and try if it works:

 

$TMS->tab[$tabNo]['content'] = tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft'.......

//$TMS->tab[$tabNo]['content'] = str_ireplace('<textarea ', '<textarea style="width: 100%; height: 100%" ', $TMS->tab[$tabNo]['content']);

 

If it doesn’t work, try this to test if you can load content to the tabs:

 

$TMS->tab[$tabNo]['content'] = ‘this is a short test’;

$TMS->tab[$tabNo]['content'] = str_ireplace('<textarea ', '<textarea style="width: 100%; height: 100%" ', $TMS->tab[$tabNo]['content']);

 

Design: To change the width of the tab-menu and the tab height, go to /catalog/admin/includes/TMS/Conf.php and change the following entries:

$CONF['totalWidth'] = 650;

$CONF['tabPaddingTop'] = 0;

 

Hi Mike,

 

By accident I wrote a "reply" yesterday but is was done with the "report"-button, and is now lost; so again:

 

I managed to find an unprintable/invisible character in the line where the content is shown (tep_draw_textarea_field etc etc. : it is located just after tep_get_products_description($pInfo->products_id, $languages[$i . It occurs in your provided categories.php and in the install.txt.

When I replace this whole line of code with the one I had, the content shows up and is editable and can be saved. So this problem is solved.

 

But two more problems arise: these are error messages at the bottom of the screen:

1. Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /var/www/sleepcool/admin/includes/functions/html_output.php on line 58 (just above the two buttons on the bottom)

2. Notice: Unknown: Skipping numeric key 0 in Unknown on line 0 (right at the bottom of the screen)

 

1. is strange because ENABLE_SSL is defined in configure.php and 2. is totally vague to me.

 

Also I have a question: how can i make the tab-content-height the same height as the content? I tried everything but to no avail.

 

Thanks in advance.

Martina

Share this post


Link to post
Share on other sites

Hi Mike,

 

By accident I wrote a "reply" yesterday but is was done with the "report"-button, and is now lost; so again:

 

I managed to find an unprintable/invisible character in the line where the content is shown (tep_draw_textarea_field etc etc. : it is located just after tep_get_products_description($pInfo->products_id, $languages[$i . It occurs in your provided categories.php and in the install.txt.

When I replace this whole line of code with the one I had, the content shows up and is editable and can be saved. So this problem is solved.

 

But two more problems arise: these are error messages at the bottom of the screen:

1. Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /var/www/sleepcool/admin/includes/functions/html_output.php on line 58 (just above the two buttons on the bottom)

2. Notice: Unknown: Skipping numeric key 0 in Unknown on line 0 (right at the bottom of the screen)

 

1. is strange because ENABLE_SSL is defined in configure.php and 2. is totally vague to me.

 

Also I have a question: how can i make the tab-content-height the same height as the content? I tried everything but to no avail.

 

Thanks in advance.

Martina

 

Addition: the errors above have nothing to do with TMS because when I used the old categories.php with display erorrs on 1, they showed up as well!

Share this post


Link to post
Share on other sites

categories.php and the code in install.txt are based on osCommerce 2.3.1, perhaps this was the reason for your first problem.

 

The Notice-Errors: You have to change the PHP error handler in your installation: Go to catalog/admin/includes/TMS/Conf.php and outcomment the last to lines:

//Error Handling (for debugging)

//error_reporting(E_ALL);

//ini_set("display_errors", 1);

 

Design-Changes: Go to catalog/admin/includes/TMS/Conf.php and change the default (min-height) to a smaller value:

$CONF['defaultContentSectionHeight'] = 10;


Specialist in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System

About Pronux | Pronux Contributions and Add-Ons

Share this post


Link to post
Share on other sites

This is great! Installed TMS on a new 2.3.1 demo site we have and works easily. The only question I have now is populating the other tabs that currently have "hello world" statements in them. I would think we need to add a new field in the database for each product to populate the text in the tabs for product specific information. For example, we need product application data that is product specific. How do we add product information to appear in this area that is product specific?

 

Thanks,

Cary

Share this post


Link to post
Share on other sites

This is great! Installed TMS on a new 2.3.1 demo site we have and works easily. The only question I have now is populating the other tabs that currently have "hello world" statements in them. I would think we need to add a new field in the database for each product to populate the text in the tabs for product specific information. For example, we need product application data that is product specific. How do we add product information to appear in this area that is product specific?

It's quite simple:

1. Add the new field to your database, to the table products_description, for example name the new field "new_field".

2. Add the new field to the sql-query on product_info.php, near line 37, for example change

$product_info_query = tep_db_query("select p.products_id, pd.products_name,.........

TO:

$product_info_query = tep_db_query("select p.products_id, pd.new_field, pd.products_name,......

3. Add the new field f.e. to the second tab:

$TMS->tab[2]['content'] = = $product_info['new_field'];

 

Mary Christmas! :thumbsup:


Specialist in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System

About Pronux | Pronux Contributions and Add-Ons

Share this post


Link to post
Share on other sites

It's quite simple:

1. Add the new field to your database, to the table products_description, for example name the new field "new_field".

2. Add the new field to the sql-query on product_info.php, near line 37, for example change

$product_info_query = tep_db_query("select p.products_id, pd.products_name,.........

TO:

$product_info_query = tep_db_query("select p.products_id, pd.new_field, pd.products_name,......

3. Add the new field f.e. to the second tab:

$TMS->tab[2]['content'] = = $product_info['new_field'];

 

merry christmas! :thumbsup:


Specialist in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System

About Pronux | Pronux Contributions and Add-Ons

Share this post


Link to post
Share on other sites

 

3. Add the new field f.e. to the second tab:

$TMS->tab[2]['content'] = = $product_info['new_field'];

 

 

Step # 3 created this error message:

Parse error: syntax error, unexpected '=' in /hermes/bosweb/web297/b2975/ipg.brgifts/product_info.php on line 218

 

Found there was a typo error in code. After removing one of the = problem was solved.

 

I added two additional fields to products_description in myPhpAdmin ( specification & shipping info ) with also the correction to line 34 of product_info.php. But when I click the tabs for the two new tabs I created, it is blank.

 

At present time on the product_info in the description field is displayed as following:

 

Description

Specifications

Shipping details

 

So what am I missing?

 

In product_info and myPhpAdmin, I have it as

products_specifications

products_shipdetails

Share this post


Link to post
Share on other sites

I followed the steps as Pronux mentioned:

 

1. Add the new field to your database, to the table products_description, for example name the new field "new_field".

>>>>Yes, I go into PHPMyAdmin and manually create a new field named:

"products_description2"

 

Now, i go back the main table "products_description" on the data base, i see alot of columns like: products_id, language_id, products_name, products_description, products_description2,....each column has its own information in it for each products, except the column products_description2, so what i do is just type some text in it like: "This is a text from description2"

 

 

2. Add the new field to the sql-query on product_info.php, near line 37.

>>>>Yes, I have:

"$product_info_query = tep_db_query(select p.products_id, pd.products_name, pd.products_description, pd.products_description2,...."

 

3. Add the new field f.e. to the second tab:

>>>>Cool, I have:

$TMS->tab[1]['content'] = $product_info['products_description'];

$TMS->tab[2]['content'] = $product_info['products_description2'];

$TMS->tab[3]['content'] = 'hello world 2';

 

Done! I go back to the website, click on the Tab 2, here we go: "This is a text from description2" BINGO!!!. It works perfectly at this stage.

 

My question is how we can import the text like: "This is a text from description2" from admin categories? I can not going to my database to update this text manually each time i upload a new product. Anyone here please give me a trick for the xmas? i apreciate it very much. Thanks.

 

Andy,

Share this post


Link to post
Share on other sites

i have some error

 

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/1/000/012/429/1897/htdocs/****************/includes/TMS/TabMenuSection.php on line 6

 

can someone help me?

 

My oscommerce Version ist 2.2-MS2

Share this post


Link to post
Share on other sites

hi, there are some problems to your demoshop :

testing with IE8 on XP SP3 :

to add product :

Notice: Undefined index: products_id in /home/pronux24/public_html/oscommerce/product_info.php on line 17

 

Product not found! link in address bar : http://oscommerce.pr...17218bc6testing

 

 

with firefox 3.6 on Seven :

in your shopping_cart page, if action=update product :

Notice: Undefined index: cart_delete in /home/pronux24/public_html/oscommerce/includes/application_top.php on line 335

Notice: Undefined index: id in /home/pronux24/public_html/oscommerce/includes/application_top.php on line 338

Warning: Cannot modify header information - headers already sent by (output started at /home/pronux24/public_html/oscommerce/includes/application_top.php:335) in /home/pronux24/public_html/oscommerce/includes/functions/general.php on line 45

link in adress bar : http://oscommerce.pr...=update_product

 

product page is not valid XHTML transitional :

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Foscommerce.pronux.ch%2Fproduct_info.php%3Fproducts_id%3D28%26language%3Den%26osCsid%3Da2edbbad59fd0369cb5b82b017218bc6

Edited by foxp2

-------------------

Share this post


Link to post
Share on other sites

Step # 3 created this error message:

 

Found there was a typo error in code. After removing one of the = problem was solved.

 

I added two additional fields to products_description in myPhpAdmin ( specification & shipping info ) with also the correction to line 34 of product_info.php. But when I click the tabs for the two new tabs I created, it is blank.

 

I have made some headway. Now at product_info, I see the three tabs:

Description

Specifications

Shipping Details

 

Issue lies here, the second tab is what it should be. But the third tab is still blank. I have the second and third set up the same in phpMyAdmin and prodcut_info.php

 

This is what I entered in mysql:

ALTER TABLE `products_description` CHANGE `products_description` `products_description` TEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL ,
CHANGE `products_description2` `products_description2` TEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL ,
CHANGE `products_description3` `products_description3` TEXT CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL 

 

So am not seeing why one of the new tabs is working and the other isn't.

Share this post


Link to post
Share on other sites

@blr044:

You have to locate the problem, f.e. does the third tab show text when you do this:

$TMS->tab[3]['content'] = 'hello world 2';

If yes, echo the new db-field:

echo $product_info['products_description3'];

does it show the data?

etc...

 

 

@andyn:

I'm sorry but there is no option to insert the text for the new fields (tabs) in the admin, which means you have to insert the content for the tabs manually via database at the moment. The reason for this missing feature is simple: We made this add-on for our customers which has a lot of article data already in the database but no place to show it on the product_info.php page. Their article data come from an ERP system (we are specialized in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System -> About Pronux), so they had no need for such an admin input feature.

 

But we will release a new version of TMS in late January which will have an admin part for inserting content to specified tabs. If you can't wait, you can do it by your own, should not be tot hard: Just clone and alter the products_decription fields/code on catalog/admin/categories.php

 

 

@foxp2:

Thanks for the tip. For testing purpose the php error handling in our demo shop is currently set to:

error_reporting(E_ALL);
ini_set("display_errors", 1);

I think this may cause the described problems.

 

 

@ringo667

Upload the demo folder included in TMS to your root directory of the shop (f.e. www.yourshow.com/demo) and look if it works.

->If it doesn't work: I think you have a problem with your PHP configuration or an old version of PHP...

->If it works: Reinstall the TMS add-on in your shop. If it doesn't work, go through the 5 steps mentioned at the beginning of this thread

Edited by Pronux

Specialist in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System

About Pronux | Pronux Contributions and Add-Ons

Share this post


Link to post
Share on other sites

@blr044:

You have to locate the problem, f.e. does the third tab show text when you do this:

$TMS->tab[3]['content'] = 'hello world 2';

 

Results:

ship1st.jpg

 

@blr044:

 

If yes, echo the new db-field:

echo $product_info['products_description3'];

 

 

Results:

ship2nd.jpg

 

 

This is the code as now but there is any text:

<?php 
//PRONUX TMS START
include DIR_WS_INCLUDES.'TMS/Conf.php';

$TMS->tab[1]['content'] = $product_info['products_description'];  
$TMS->tab[2]['content'] = $product_info['products_description2'];
// echo $product_info['products_description3'];
//$TMS->tab[3]['content'] = 'hello world 2';
$TMS->tab[3]['content'] = $product_info['prodcuts_description3'];

$TMS->setLanguage('', $_SESSION['language']);
$TMS->generateTabMenuSection(true);
//PRONUX TMS END
?>

 

 

Results:

ship.jpg

Share this post


Link to post
Share on other sites

@blr044: Please insert the following code and see if it shows the text:

 

<?php 
//PRONUX TMS START
include DIR_WS_INCLUDES.'TMS/Conf.php';

$TMS->tab[1]['content'] = $product_info['products_description'];  
$TMS->tab[2]['content'] = $product_info['products_description2'];
$TMS->tab[3]['content'] = 'This is the third tab and this is the content START-|'.$product_info['products_description3'].'|-END';

$TMS->setLanguage('', $_SESSION['language']);
$TMS->generateTabMenuSection(true);
//PRONUX TMS END
?>

 

 

And please try also:

$TMS->tab[3]['content'] = htmlentities($product_info['products_description3']);


Specialist in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System

About Pronux | Pronux Contributions and Add-Ons

Share this post


Link to post
Share on other sites

I love this add on, I can't wait until you get it where we can add the info in the tab's in are admin.

 

I have a question, Can you lead me in the right direction in showing reviews of the product in a tab? Do I need to add the review field in the product_description, Is so how should I wright it?

 

Thank you very much for your time and help.

Share this post


Link to post
Share on other sites

@blr044: Please insert the following code and see if it shows the text:

 

<?php

$TMS->tab[3]['content'] = 'This is the third tab and this is the content START-|'.$product_info['products_description3'].'|-END';

 

?>[/php]

 

It did display 'This is the third tab and this is the content START-|'.$product_info['products_description3']. under third tab.

 

And please try also:

$TMS->tab[3]['content'] = htmlentities($product_info['products_description3']);

The text I typed into the new-field products_description3 in myPhpAdmin is now visible under the third tab.

 

But also display all html characters as well as below:

<p><strong>Shipping Details:</strong></p><ul><li>Case UPC : 024409973208</li><li>Estimated Case Dimensions : 22.00" Length, 12.00" Width, 19.00" Height</li><li>Estimated Case Weight : 19.60 Lbs.</li></ul>
Would that be because = htmlentities($product_info[ in the code?

 

Thank you.

Share this post


Link to post
Share on other sites

I love this add on, I can't wait until you get it where we can add the info in the tab's in are admin.

 

I have a question, Can you lead me in the right direction in showing reviews of the product in a tab? Do I need to add the review field in the product_description, Is so how should I write it?

 

Should not be too hard:

 

1. You have to generate the reviews for the specific product (and store it into a temp variable), see how osc makes it on catalog/products_reviews.php after line 71 (osCommerce 2.3.1)

 

2. Load the content into a tab, for example:

$TMS->tab[2]['content'] = $reviewTabContent;

3. Go to catalog/includes/TMS/Conf.php and change the name of the second tab:

$CONF['tabs']['en'][2] = 'Reviews';

Edited by Pronux

Specialist in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System

About Pronux | Pronux Contributions and Add-Ons

Share this post


Link to post
Share on other sites

@Bennett I've tested the shipping details you have in the html code and it's working for me. I have it in the tab2

 

myAdmin I've added this table

ALTER TABLE `products_description` ADD `products_shipping` VARCHAR(255) NOT NULL

 

Then added your code to the table.

<p><strong>Shipping Details:</strong></p><ul><li>Case UPC : 024409973208</li><li>Estimated Case Dimensions : 22.00" Length, 12.00" Width, 19.00" Height</li><li>Estimated Case Weight : 19.60 Lbs.</li></ul>

 

in the product_info.php

$TMS->tab[2]['content'] = $product_info['products_description2'];

 

 

-Stream

Share this post


Link to post
Share on other sites

But also display all html characters as well as below:

Would that be because = htmlentities($product_info[ in the code?

 

@blr044: Jep, that's because of htmlentities....

 

I think that your text has the same color as the background of the tab content section and because of that you can't see it. Please try to change the background color and the color of the text and see if it works.

 

And: Can you look into the HTML source code of this page in your browser ("View Page Source") and search for the content of $product_info['products_description3'], it must be there somewhere.

 

Hope it helps.


Specialist in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System

About Pronux | Pronux Contributions and Add-Ons

Share this post


Link to post
Share on other sites

@Bennett I've tested the shipping details you have in the html code and it's working for me. I have it in the tab2

-Stream

 

Thanks for all the help. All is working fine now.

 

Bennett

Share this post


Link to post
Share on other sites

Should not be too hard:1. You have to generate the reviews for the specific product (and store it into a temp variable), see how osc makes it on catalog/products_reviews.php after line 71 (osCommerce 2.3.1)2. Load the content into a tab, for example:

$TMS->tab[2]['content'] = $reviewTabContent;

3. Go to catalog/includes/TMS/Conf.php and change the name of the second tab:

$CONF['tabs']['en'][2] = 'Reviews';

 

I'm using (osCommerce 2.3.1) When you say I have to generate the reviews for the specific product, Do I write this code in the product_into.php? Could I just copy this code to the product_info.php? I've got it from line 71 in product_reviews.php

 

<?php
 }

 $reviews_query_raw = "select r.reviews_id, left(rd.reviews_text, 100) as reviews_text, r.reviews_rating, r.date_added, r.customers_name from " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd where r.products_id = '" . (int)$product_info['products_id'] . "' and r.reviews_id = rd.reviews_id and rd.languages_id = '" . (int)$languages_id . "' and r.reviews_status = 1 order by r.reviews_id desc";
 $reviews_split = new splitPageResults($reviews_query_raw, MAX_DISPLAY_NEW_REVIEWS);

 if ($reviews_split->number_of_rows > 0) {
   if ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3')) {
?>

 

then put in product_info.php

$TMS->tab[2]['content'] = $reviews_split;

 

I'm new in coding website, So please bare with me. Thank you for your quick reply and help. This would be great when I get this working.

Share this post


Link to post
Share on other sites

Is there anyway where I could just show the product_reviews.php page? As I won't need it anymore and I could take the photo, product name, etc... out of the page.

Share this post


Link to post
Share on other sites

Is there anyway where I could just show the product_reviews.php page? As I won't need it anymore and I could take the photo, product name, etc... out of the page.

 

You have to add the additional code on products_info.php. The inclusion and display of an entire file is not possible with TMS 1.0

 

Try the following code which I've taken from product_reviews.php after line 71. As I mentioned in my previous post, it does nothing else than putting the generated content into a temp variable ($reviewTabContent) and then adding it to tab 2.

 

Important: I've not tested the following code, it's only an example how it could work......

 

 

  $reviewTabContent = '';

 $reviews_query_raw = "select r.reviews_id, left(rd.reviews_text, 100) as reviews_text, r.reviews_rating, r.date_added, r.customers_name from " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd where r.products_id = '" . (int)$product_info['products_id'] . "' and r.reviews_id = rd.reviews_id and rd.languages_id = '" . (int)$languages_id . "' and r.reviews_status = 1 order by r.reviews_id desc";
 $reviews_split = new splitPageResults($reviews_query_raw, MAX_DISPLAY_NEW_REVIEWS);

 if ($reviews_split->number_of_rows > 0) {
   if ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3')) {

       $reviewTabContent = '
         <div class="contentText">
           <p style="float: right;">'. TEXT_RESULT_PAGE . ' ' . $reviews_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info'))) .'</p>

           <p>'. $reviews_split->display_count(TEXT_DISPLAY_NUMBER_OF_REVIEWS) .'</p>
         </div>

         <br />';
   }

   $reviews_query = tep_db_query($reviews_split->sql_query);
   while ($reviews = tep_db_fetch_array($reviews_query)) {

$reviewTabContent .= '
 <div>
   <span style="float: right;">'.sprintf(TEXT_REVIEW_DATE_ADDED, tep_date_long($reviews['date_added'])) .'</span>
   <h2><a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $product_info['products_id'] . '&reviews_id=' . $reviews['reviews_id']) . '">' . sprintf(TEXT_REVIEW_BY, tep_output_string_protected($reviews['customers_name'])) . '</a> </h2>
 </div>

 <div class="contentText">
   '. tep_break_string(tep_output_string_protected($reviews['reviews_text']), 60, '-<br />') . ((strlen($reviews['reviews_text']) >= 100) ? '..' : '') . '<br /><br /><i>' . sprintf(TEXT_REVIEW_RATING, tep_image(DIR_WS_IMAGES . 'stars_' . $reviews['reviews_rating'] . '.gif', sprintf(TEXT_OF_5_STARS, $reviews['reviews_rating'])), sprintf(TEXT_OF_5_STARS, $reviews['reviews_rating'])) . '</i>
 </div>';
   }
 } else {

$reviewTabContent = '
 <div class="contentText">
   <?php echo TEXT_NO_REVIEWS; ?>
 </div>';
 }


$TMS->tab[2]['content'] = $reviewTabContent;


Specialist in end-to-end integration between osCommerce and Microsoft Dynamics NAV ERP System

About Pronux | Pronux Contributions and Add-Ons

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×