Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Pronux

Recommended Posts

@mfactory

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

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

About Pronux | Pronux Contributions and Add-Ons

Link to comment
Share on other sites

@mfactory

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...

 

Bumper, it doesn't work. Do you perhaps have info on a working php configuration (as in phpinfo), so I can check some settings? And the site is hosted on php 4.4.7, is that too old?

Link to comment
Share on other sites

On Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}', I've found the solution.

 

It has to do with the fact that PHP 4 doesn't like private and public statements. So, I've replaced private and public with var for the variable declaration and removed private and public at the function declarations.

Link to comment
Share on other sites

Hi i am using the code supplied by StreamMan, and it is working great, the only problem is that the rest of the page is not quite what it is supposed to be. all the boxes are now at the bottom of the page under each other instead of on the left and right. Has anybody had this problem or have a solution to fix this as i would really really like to use this on my site.

Link to comment
Share on other sites

Hi, I think you should rework the code to become w3c-compliant, plus fixing bugs.

 

My site is fully validated and bug fixed, both catalog and admin side including about 20 addons.

 

Also, I have updated my site from vRC2a --> v2.3.1

 

In summary I do not like addons which simply destroy my lengthy work.

 

Sara

Link to comment
Share on other sites

Hi, I think you should rework the code to become w3c-compliant, plus fixing bugs.

 

My site is fully validated and bug fixed, both catalog and admin side including about 20 addons.

 

Also, I have updated my site from vRC2a --> v2.3.1

 

In summary I do not like addons which simply destroy my lengthy work.

 

Sara

 

Hi,

Thanks for your feedback. Which bugs / non-W3C compliant code do you mean exactly?

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

About Pronux | Pronux Contributions and Add-Ons

Link to comment
Share on other sites

Hi,

Thanks for your feedback. Which bugs / non-W3C compliant code do you mean exactly?

Here it is:

 

Warning: Unknown property ”-moz-outline”. Ignored statement.

 

 

Result: 0 errors / 17 warnings

 

line 327 column 310 - Warning: <a> attribute ";" lacks value

line 327 column 463 - Warning: unescaped & or unknown entity "&pID"

line 327 column 470 - Warning: unescaped & or unknown entity "&action"

line 327 column 911 - Warning: <a> attribute ";" lacks value

line 327 column 1064 - Warning: unescaped & or unknown entity "&pID"

line 327 column 1071 - Warning: unescaped & or unknown entity "&action"

line 327 column 1512 - Warning: <a> attribute ";" lacks value

line 327 column 1665 - Warning: unescaped & or unknown entity "&pID"

line 327 column 1672 - Warning: unescaped & or unknown entity "&action"

line 327 column 2113 - Warning: <a> attribute ";" lacks value

line 327 column 2266 - Warning: unescaped & or unknown entity "&pID"

line 327 column 2273 - Warning: unescaped & or unknown entity "&action"

line 327 column 310 - Warning: <a> proprietary attribute "hidefocus"

line 327 column 911 - Warning: <a> proprietary attribute "hidefocus"

line 327 column 1512 - Warning: <a> proprietary attribute "hidefocus"

line 327 column 2113 - Warning: <a> proprietary attribute "hidefocus"

line 327 column 4710 - Warning: <script> inserting "type" attribute

 

Two fixes: soft is not valid

// $TMS->tab[$tabNo]['content'] = tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])));

$TMS->tab[$tabNo]['content'] = tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', '70', '15', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])), 'style="white-space:pre-line;"');

 

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

Should be:

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

['content']);

 

Sara

Link to comment
Share on other sites

Here it is:

 

Warning: Unknown property ”-moz-outline”. Ignored statement.

 

 

Result: 0 errors / 17 warnings

 

...

 

Sara

 

Thanks for your detailed answer. We will definitely fix these issues in the next release.

Edited by Pronux

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

About Pronux | Pronux Contributions and Add-Ons

Link to comment
Share on other sites

I was going to suggest something but I see I wasn't the only one that knew that a Data base connection needed to be made. Also Should use Jquery Tabs.. I would suggest that have an option in the admin to ad a tab and be able to name it on the fly.

 

I was working on tabs for ms2.2 I got it working well but it still needed to have some tweeks. I would have liked to change the names when adding content to them.

Link to comment
Share on other sites

  • 3 weeks later...

Hello everyone.

Well I have installed both addons TMS.

Like many, I try to do the steps proposed by the Dutchmen in response #97.

When trying to enter the codes, I only get errors and slowly dont know what else to try.

so I would like if someone could help me achieve this accomplishment.

pardon my English is not spoken very well.

Thanks in advance.

Link to comment
Share on other sites

Hi,

 

I have a tab called "Availability"

 

Rather than have "In Stock" written under this tab. I was hoping it would be possible to show the stock count for each product so that it

would say something like "X amount in stock"

 

Thanks

Link to comment
Share on other sites

Hi,

 

I have a tab called "Availability"

 

Rather than have "In Stock" written under this tab. I was hoping it would be possible to show the stock count for each product so that it

would say something like "X amount in stock"

 

Thanks

 

Hi,

 

I think this has nothing to do with this addon, since it's up to you which content you show in/under the tabs. Can you please ask this question in the general forum.

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

About Pronux | Pronux Contributions and Add-Ons

Link to comment
Share on other sites

Hi,

 

I think this has nothing to do with this addon, since it's up to you which content you show in/under the tabs. Can you please ask this question in the general forum.

 

Oh really, yet the same question was asked earlier about How to get the reviews to show under a tab & your answer was Reviews: I've provided an example in this thread how you can add the reviews to a tab. Insert the code on products_info.php before you add the content to the tabs:

 

Im simply asking the same question except rather than reviews to show I would like the amount of stock to show, but I will ask in the forum else where

Link to comment
Share on other sites

Hi Pronux !

 

 

I wonder if I can view a php page in a tab, the page currently displayed outside of my tab 1.

 

$TMS->tab[1]['content'] = htmlentities(include(DIR_WS_MODULES . 'products_similaire.php'));

 

 

So I have this result:

 

tab.gif

 

The code for similar products:

 

<?php

 

switch(SIMILAR_PRODUCTS_ORDER){

case 'Random':

$sort_order = 'RAND() ';

break;

case 'Products ID':

$sort_order = 'p.products_id ';

break;

case 'Model Number':

$sort_order = 'p.products_model ';

break;

case 'Price':

$sort_order = 'p.products_price ';

break;

case 'Date Added':

$sort_order = 'p.products_date_added ';

break;

case 'Last Modified':

$sort_order = 'p.products_last_modified ';

break;

case 'Products Ordered':

$sort_order = 'p.products_ordered ';

break;

case 'Products Name':

$sort_order = 'pd.products_name ';

break;

case 'Products Viewed':

$sort_order = 'pd.products_viewed ';

break;

default:

$sort_order = 'RAND() ';

} // switch

 

switch(SIMILAR_PRODUCTS_SORT_ORDER){

case 'Ascending':

$sort_order .= 'asc';

break;

case 'Descending':

$sort_order .= 'desc';

break;

default:

$sort_order .= 'asc';

} // switch

 

// Find the id # of the category that the current product is in

$category_query = tep_db_query("select categories_id

from " . TABLE_PRODUCTS_TO_CATEGORIES . "

where products_id = '" . (int)$_GET['products_id'] . "'"

);

$category = tep_db_fetch_array($category_query);

$category_id = $category['categories_id'];

 

// Count prods in category; if less than 2 dont display (removes empty infobox from pages)

$product_count_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p,

" . TABLE_PRODUCTS_DESCRIPTION . " pd,

" . TABLE_PRODUCTS_TO_CATEGORIES . " pc

where p.products_id = pc.products_id

and p.products_id = pd.products_id

and p.products_id != '" . (int)$_GET['products_id'] . "'

and p.products_status = '1'

and pc.categories_id = '" . (int)$category_id . "'

and pd.language_id = '". (int)$languages_id ."'");

$product_count = tep_db_fetch_array($product_count_query);

 

 

 

 

if ( ($today_time - strtotime($products['products_date_added'])) < 2592000) {

$img_new_icon = tep_image(DIR_WS_IMAGES . 'icons/gad_nouveau.gif');} else {

}

 

 

 

// if less than total similar prods displayed exist in current category, dont display (empty) infobox

if ($product_count['total'] >= 1) {

// Select the other products in the same category

$products_query = tep_db_query("select p.products_id,

p.products_image,

p.products_price,

p.products_model,

pd.products_name,

p.products_tax_class_id

from " . TABLE_PRODUCTS . " p,

" . TABLE_PRODUCTS_DESCRIPTION . " pd,

" . TABLE_PRODUCTS_TO_CATEGORIES . " pc

where p.products_id = pc.products_id

and p.products_id = pd.products_id

and p.products_id != '" . (int)$_GET['products_id'] . "'

and p.products_status = '1'

and pc.categories_id = '" . (int)$category_id . "'

and pd.language_id = '" . (int)$languages_id . "'

order by " . $sort_order . "

limit " . 5

);

// Write the output containing each of the products

$products_string = '';

$count_products = 0;

while ($products = tep_db_fetch_array($products_query)) {

if ($products['products_id'] != $_GET['products_id']) {

 

 

?>

 

<?php

 

 

/// $info_box_contents = array();

$info_box_contents[] = array('text' => $sco->name);

 

// new contentBoxLightLightHeading($info_box_contents);

 

$row = 0;

$col = 0;

$info_box_contents = array();

while ($products = tep_db_fetch_array($products_query)) {

$products['products_name'] = tep_get_products_name($products['products_id']);

 

 

 

 

 

 

if ( ($today_time - strtotime($products['products_date_added'])) < 2592000) {

$img_new_icon = tep_image(DIR_WS_IMAGES . 'icons/gad_nouveau.gif');} else {

}

 

 

// 1 ############ Suppression du bouton si prix=0 #################

 

if ($products['products_price'] > 0) {

 

// 3 ############ Suppression du bouton si prix=0 #################

 

 

// Prix remisé

if ($new_price = tep_get_products_special_price($products['products_id'])) {

$prix = 'PROMO';}

 

else

 

{$prix = '';}

// FIN Prix remisé

 

 

// 1 ############ Suppression du bouton si prix=0 #################

 

 

} else {

 

// Prix remisé

$prix = '' . tep_image(DIR_WS_IMAGES . 'header/defaut/image_rupture.gif') . '';

// FIN Prix remisé

 

}

 

// 2 ############ Suppression du bouton si prix=0 #################

 

//$img2_acc_product_image = tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'], 40, 40);

$img2_acc_product_image = tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'], 40, 40);

 

 

$info_box_contents[$row][$col] = array('text' => '<table border="1" align="center" border="0" cellpadding="0" cellspacing="0" width="95%">

<tr valign="middle"><td width="6" height="44">' . tep_draw_separator('pixel_trans.gif', '10', '1') . '</td> <td width="32" height="44"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id']) . '">' . $img2_acc_product_image . '</a></td>

<td width="6" height="44" class="main">' . tep_draw_separator('pixel_trans.gif', '10', '10') . '</td>

<td width="100%" class="main" height="44"><strong><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id']) . '">' . osc_trunc_string(strip_tags($products['products_name'])) . '</strong></a><br><span class="productSpecMiddleKdo">Réf : ' . $products['products_model'] .' </span>' . $img_new_icon . '</td><td width="6" height="44">' . tep_draw_separator('pixel_trans.gif', '10', '1') . '</td> <td height="44" nowrap><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id']) . '"></td><td width="6" height="44">' . $prix . '</a></td></tr></table>');

 

$col ++;

if ($col > 1) {

$col = 0;

$row ++;

}

}

 

new contentBoxLight($info_box_contents);

?>

 

<?php

}

}

}

?>

 

 

I tried several ways like this:

 

$similarTabContent = htmlentities(include(DIR_WS_MODULES . 'products_similaire.php'));

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

 

or

$TMS->tab[1]['content'] = new contentBoxLight($info_box_contents);

 

Thank you for your help. :rolleyes:

Edited by mamegaga
Link to comment
Share on other sites

Hi,

 

 

$TMS->tab[1]['content'] = htmlentities(include(DIR_WS_MODULES . 'products_similaire.php'));

 

This won't work because it doesn't execute the PHP code, instead it will output the code as text.

 

UUnfortunately, it is not possible at the moment to include and show complete php files in a tab.

 

You can try to put the content "directly" into TMS. What I mean: Look at the code you have posted.

 

REPLACE:

 

new contentBoxLight($info_box_contents);

 

WITH:

$TMS->tab[1]['content'] .= $info_box_contents;

 

Maybe you have luck and it works :thumbsup:

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

About Pronux | Pronux Contributions and Add-Ons

Link to comment
Share on other sites

Hi,

 

 

 

 

This won't work because it doesn't execute the PHP code, instead it will output the code as text.

 

UUnfortunately, it is not possible at the moment to include and show complete php files in a tab.

 

You can try to put the content "directly" into TMS. What I mean: Look at the code you have posted.

 

REPLACE:

 

new contentBoxLight($info_box_contents);

 

WITH:

$TMS->tab[1]['content'] .= $info_box_contents;

 

Maybe you have luck and it works :thumbsup:

 

 

Thank's Pronux.

 

Like this ?:

 

<?php

 

//PRONUX TMS START

 

 

 

switch(SIMILAR_PRODUCTS_ORDER){

case 'Random':

$sort_order = 'RAND() ';

break;

case 'Products ID':

$sort_order = 'p.products_id ';

break;

case 'Model Number':

$sort_order = 'p.products_model ';

break;

case 'Price':

$sort_order = 'p.products_price ';

break;

case 'Date Added':

$sort_order = 'p.products_date_added ';

break;

case 'Last Modified':

$sort_order = 'p.products_last_modified ';

break;

case 'Products Ordered':

$sort_order = 'p.products_ordered ';

break;

case 'Products Name':

$sort_order = 'pd.products_name ';

break;

case 'Products Viewed':

$sort_order = 'pd.products_viewed ';

break;

default:

$sort_order = 'RAND() ';

} // switch

 

switch(SIMILAR_PRODUCTS_SORT_ORDER){

case 'Ascending':

$sort_order .= 'asc';

break;

case 'Descending':

$sort_order .= 'desc';

break;

default:

$sort_order .= 'asc';

} // switch

 

// Find the id # of the category that the current product is in

$category_query = tep_db_query("select categories_id

from " . TABLE_PRODUCTS_TO_CATEGORIES . "

where products_id = '" . (int)$_GET['products_id'] . "'"

);

$category = tep_db_fetch_array($category_query);

$category_id = $category['categories_id'];

 

// Count prods in category; if less than 2 dont display (removes empty infobox from pages)

$product_count_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p,

" . TABLE_PRODUCTS_DESCRIPTION . " pd,

" . TABLE_PRODUCTS_TO_CATEGORIES . " pc

where p.products_id = pc.products_id

and p.products_id = pd.products_id

and p.products_id != '" . (int)$_GET['products_id'] . "'

and p.products_status = '1'

and pc.categories_id = '" . (int)$category_id . "'

and pd.language_id = '". (int)$languages_id ."'");

$product_count = tep_db_fetch_array($product_count_query);

 

 

 

 

if ( ($today_time - strtotime($products['products_date_added'])) < 2592000) {

$img_new_icon = tep_image(DIR_WS_IMAGES . 'icons/gad_nouveau.gif');} else {

}

 

 

 

// if less than total similar prods displayed exist in current category, dont display (empty) infobox

if ($product_count['total'] >= 1) {

// Select the other products in the same category

$products_query = tep_db_query("select p.products_id,

p.products_image,

p.products_price,

p.products_model,

pd.products_name,

p.products_tax_class_id

from " . TABLE_PRODUCTS . " p,

" . TABLE_PRODUCTS_DESCRIPTION . " pd,

" . TABLE_PRODUCTS_TO_CATEGORIES . " pc

where p.products_id = pc.products_id

and p.products_id = pd.products_id

and p.products_id != '" . (int)$_GET['products_id'] . "'

and p.products_status = '1'

and pc.categories_id = '" . (int)$category_id . "'

and pd.language_id = '" . (int)$languages_id . "'

order by " . $sort_order . "

limit " . 5

);

// Write the output containing each of the products

$products_string = '';

$count_products = 0;

while ($products = tep_db_fetch_array($products_query)) {

if ($products['products_id'] != $_GET['products_id']) {

 

 

 

/// $info_box_contents = array();

$info_box_contents[] = array('text' => $sco->name);

 

// new contentBoxLightLightHeading($info_box_contents);

 

$row = 0;

$col = 0;

$info_box_contents = array();

while ($products = tep_db_fetch_array($products_query)) {

$products['products_name'] = tep_get_products_name($products['products_id']);

 

 

 

 

 

 

if ( ($today_time - strtotime($products['products_date_added'])) < 2592000) {

$img_new_icon = tep_image(DIR_WS_IMAGES . 'icons/gad_nouveau.gif');} else {

}

 

 

// 1 ############ Suppression du bouton si prix=0 #################

 

if ($products['products_price'] > 0) {

 

// 3 ############ Suppression du bouton si prix=0 #################

 

 

// Prix remisé

if ($new_price = tep_get_products_special_price($products['products_id'])) {

$prix = 'PROMO';}

 

else

 

{$prix = '';}

// FIN Prix remisé

 

 

// 1 ############ Suppression du bouton si prix=0 #################

 

 

} else {

 

// Prix remisé

$prix = '' . tep_image(DIR_WS_IMAGES . 'header/defaut/image_rupture.gif') . '';

// FIN Prix remisé

 

}

 

// 2 ############ Suppression du bouton si prix=0 #################

 

//$img2_acc_product_image = tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'], 40, 40);

$img2_acc_product_image = tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'], 40, 40);

 

 

$info_box_contents[$row][$col] = array('text' => '<table border="1" align="center" border="0" cellpadding="0" cellspacing="0" width="95%">

<tr valign="middle"><td width="6" height="44">' . tep_draw_separator('pixel_trans.gif', '10', '1') . '</td> <td width="32" height="44"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id']) . '">' . $img2_acc_product_image . '</a></td>

<td width="6" height="44" class="main">' . tep_draw_separator('pixel_trans.gif', '10', '10') . '</td>

<td width="100%" class="main" height="44"><strong><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id']) . '">' . osc_trunc_string(strip_tags($products['products_name'])) . '</strong></a><br><span class="productSpecMiddleKdo">Réf : ' . $products['products_model'] .' </span>' . $img_new_icon . '</td><td width="6" height="44">' . tep_draw_separator('pixel_trans.gif', '10', '1') . '</td> <td height="44" nowrap><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id']) . '"></td><td width="6" height="44">' . $prix . '</a></td></tr></table>');

 

$col ++;

if ($col > 1) {

$col = 0;

$row ++;

}

}

 

 

?>

 

<?php

}

}

}

 

 

include DIR_WS_INCLUDES.'tabmenu/Conf.php';

include DIR_WS_INCLUDES.'tabmenu/review.php';

$TMS->tab[1]['content'] .= $info_box_contents;

//$contentTab1 = include(DIR_WS_MODULES . 'products_similaire.php');

//$TMS->tab[2]['content'] == include(DIR_WS_MODULES . 'products_similaire.php');

//$TMS->tab[1]['content'] = htmlentities($contentTab1);

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

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

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

//$TMS->tab[2]['content'] = include(DIR_WS_MODULES . 'products_accessoire.php');

//$TMS->tab[1]['content'] = htmlentities(include(DIR_WS_MODULES . 'products_similaire.php'));

 

 

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

$TMS->tab[4]['content'] = $similarTabContent;

 

 

 

$TMS->setLanguage('', $_SESSION['language']);

$TMS->generateTabMenuSection(true, false);

//PRONUX TMS END

 

?>

 

 

I have "array" in the tab1 ?

 

look :

 

array.png

 

:'(

Edited by mamegaga
Link to comment
Share on other sites

Change:

$TMS->tab[1]['content'] .= $info_box_contents;

 

To:

$TMS->tab[1]['content'] = print_r($info_box_contents, true);

 

Maybe you have luck and it works... :thumbsup:

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

About Pronux | Pronux Contributions and Add-Ons

Link to comment
Share on other sites

Change:

$TMS->tab[1]['content'] .= $info_box_contents;

 

To:

$TMS->tab[1]['content'] = print_r($info_box_contents, true);

 

Maybe you have luck and it works... :thumbsup:

 

 

Ohh yes, it's better, I miss him more than to put in 2 columns, I cons here as a result:

 

array_quote.png

 

just this wrong code here: :huh:

Array( [0] => Array ( [0] => Array ( [text] =>

 

Almost done! :thumbsup: :D

Edited by mamegaga
Link to comment
Share on other sites

The problem is this code right?

 

$info_box_contents[$row][$col] = array('text' => '<table border="1" align....

 

Thank you

 

jep, that's the problem. You have to extract the values in the array

 

foreach($info_box_contents as $value)
{
  $TMS->tab[1]['content'] .= $value;  
}

 

maybe you have to do 2 foreach.....I don't know how deep $info_box_contents is :-"

 

try try try :thumbsup:

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

About Pronux | Pronux Contributions and Add-Ons

Link to comment
Share on other sites

jep, that's the problem. You have to extract the values in the array

 

foreach($info_box_contents as $value)
{
  $TMS->tab[1]['content'] .= $value;  
}

 

maybe you have to do 2 foreach.....I don't know how deep $info_box_contents is :-"

 

try try try :thumbsup:

 

 

Oups ! :blush: I no longer data ..

 

array3.png

 

Here is the code:

include DIR_WS_INCLUDES.'tabmenu/Conf.php';

include DIR_WS_INCLUDES.'tabmenu/review.php';

//$TMS->tab[1]['content'] = print_r($similaire, true);

foreach($info_box_contents as $value)

{

$TMS->tab[1]['content'] .= $value;

}

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

 

 

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

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

 

 

 

$TMS->setLanguage('', $_SESSION['language']);

$TMS->generateTabMenuSection(true, false);

//PRONUX TMS END

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...