Jump to content


  • Content count

  • Joined

  • Last visited

Posts posted by Pronux

  1. Hello,


    I use last version of TMS and works well at this moment. Thanks for this good contrib Pronux.

    I use TMS not in product page, but i include it in the header. I use it like seearch engine for my 3/4 main categories with specific filer fields in each tab.


    My question is : Is it possible to keep the state of the selected tab if we move from one to another page ?


    Thx for your info or maybe your advises on how to do :)






    The only way in my view is to store the selected (active) tab in the $_SESSION. Due to time constraints I can't give you a code example.

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

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




    new contentBoxLight($info_box_contents);



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


    Maybe you have luck and it works :thumbsup:

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






    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.

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





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

  6. I have two questions about this addon. First, is it easy to change it from horizontal tabs to vertical tabs down the left hand side of the box instead of having the tabs across the top? Second, I would like to have tabs without content skipped and not shown. I have a need for nine total tabs but I never need more than seven of the total nine for any one single product. Most of my products will only use one or two of the tabs and some may use none at all. Do you have any suggestions on how to get this result? I really think this would make a nice default behavior/feature. hint hint wink wink ;)


    This is a really nice mod, thanks for sharing it.


    Thank you.




    Thanks for your feedback. Here's my quick answer:

    2. Change the tabs from horizontal to vertical is not easy because you have to change the code which generates the tabs
    3. "Hide tabs if no content" will be possible in the next version of TMS, but the release date is not set yet. If you have time to study the code you can do it yourself, should be possible.

  7. Oops, I meant content, :P

    So.. How do I add content to the variable $öåä?

    It looks like this right now: http://data.fuskbugg.se/skalman02/__________content.png


    ....you don't have to define a new variable...ok, let me ask you the question in a different way. Your problem with the special characters is not a problem of TMS because it would also show it wrong without using TMS. Please solve this problem before you add the TMS module to your shop.

  8. Hello!


    I'm sorry, but I don't really know what to do!


    I've put in the echo line before TMS starts in product_info.php and changed the "£myContentForTab3" to three special characters.

    This is my product_info.php at the moment: http://data.fuskbugg.se/skalman02/productinfo.png


    Thanks for your answers!


    ok, and now with these changes, how does it look like when you call the product page?

    Please post a screenshot.

  9. Uh, I don't know what you are talking about :P

    I have taken the text with the special characters, and pasted them into Notepad++ and converted them into UTF-8 without BOM.

    But it didn't work..


    Thanks for your quick answer!


    Before TMS starts, make an echo of the content you put on tab2, for example:


    echo($myContentForTab3); <--- echo of the variable which includes the content of tab 3 (will have a different name in your code)



    include DIR_WS_INCLUDES.'TMS/Conf.php';


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

  10. Hi,


    Unfortunately I don't know this add-on and how it works. Does it work properly in your shop without TMS?


    What I mean is: Try to install this add-on without TMS first and then, as soon as it works, put all the stuff into $reviewTabContent and make an echo $reviewTabContent;


    Only if the last step works, you can add it to a tab e.g. $TMS->tab[3]['content'] = $reviewTabContent;


    Hope it helps.

  11. Hi,


    First, this will not work because the second line always overrides the content in tab[3]:


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

    Add a tab (define tab[4] in Conf.php) or change the operator in the seconad line to .=



    Unfortunately I don't know this add-on and how it works. Does it work properly in your shop without TMS?


    What I mean is: Try to install this add-on without TMS first and then, as soon as it works, put all the stuff into $reviewTabContent and make an echo $reviewTabContent;


    Only if the last step works, you can add it to a tab e.g. $TMS->tab[3]['content'] = $reviewTabContent;


    Hope it helps.

  12. @izzystradlin: try this (not tested):


       for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
               <td class="main" valign="top"><?php if ($i == 0) echo TEXT_PRODUCTS_DESCRIPTION; ?></td>
               <td><table border="0" cellspacing="0" cellpadding="0">
                   <td class="main" valign="top"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']); ?> </td>
                   <td class="main"><?php echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '70', '10', (isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : tep_get_products_description($pInfo->products_id, $languages[$i]['id'])),'id = products_description[' . $languages[$i]['id'] . '] class="ckeditor"'); ?></td>



    @tigergirl: Due the lack of time, there will be no new TMS release in the near future, sorry for the bad news. But as pdcelec has mentioned (see last post), TMS does show different info for each product and it should also be (a little bit) beneficial for SEO since it uses the Google proposal for making AJAX/JavaScript based sites crawlable so that content on all tabs can be indexed: http://bit.ly/g6oQRU


    Tab Menu Section (TMS) and Pronux TMS For Admin contribution.



    @pdcelec thanks for the link, great shop. Btw: you can change the colors of TMS in TMS/Conf.php

  13. If V3 uses strict object orientation, it should be possible to add new modules or change the functionality (even of core functions) without to edit the original shop source code plus: modules/changes should still working after a shop update.


    There is a very interesting article how the guys at OXID solved that problem: http://www.oxid-esales.com/en/news/blog/howto-extend-oxid-eshop-modules-part-1