

Pronux
-
Content count
98 -
Joined
-
Last visited
Posts posted by Pronux
-
-
I have more "array"
ArrayArrayArrayArrayArrayArrayArray
:huh:
last try:
foreach($info_box_contents as $row) { foreach($row as $row2) { foreach($row2 as $value) { $TMS->tab[1]['content'] .= $value; } } }
-
Oups ! :blush: I no longer data ..
Here is the code:
go deeper:
foreach($info_box_contents as $row) { foreach($row as $value) { $TMS->tab[1]['content'] .= $value; } }
-
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:
-
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:
-
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:
-
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.
-
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.
-
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?
-
@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
-
Thanks for your feedback.
-
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.
Hi,
Thanks for your feedback. Here's my quick answer:
-
- Change the tabs from horizontal to vertical is not easy because you have to change the code which generates the tabs
- "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.
-
-
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.
-
Uh, you can see the comment in the picture..?
product_info.php : http://data.fuskbugg.se/skalman02/productinfo.png
There is no comment in this picture? Which comment do you mean?
Question: What's the content of the variable $öaä? Can you post it here please.
-
So, you have only added echo($öaä); above TMS and now the text on tab3 in TMS disappeared?!?
Instead, with the echo($öaä) it should only show the text of tab3 before (above) TMS. Question: What's the content of $öaä ?
-
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.
-
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)
//PRONUX TMS START
include DIR_WS_INCLUDES.'TMS/Conf.php';
$TMS->tab[3]['content'] = $myContentForTab3;
-
Hello!
I still have problem with the special characters..
http://i53.tinypic.com/24cs18g.png
As you can see, the special characters works for the tabs, but not the text in the tabs..
Thanks in advance for any help!
What happens if you echo the content outside of TMS?
-
ok, install this add-on on the site products_info.php without TMS first and then, as soon as it works, put all the stuff into $reviewTabContent and make an echo $reviewTabContent;
If the last step works, you can add it to a tab e.g. $TMS->tab[3]['content'] = $reviewTabConten
-
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.
-
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.
-
How about an image of the hat in question :-)
I think it's a red hat ;-)
-
hello pronux, im two problem validator.w3.org
<a class="pronuxLink" hidefocus="true";
and
(z=1;z<100;z++)
code to TabMenuSection.php
is possible validation this code?
thanks
Thanks for your feedback. If there are problems with the w3-validation, it will be fixed in the next version fo TMS.
-
@izzystradlin: try this (not tested):
<?php for ($i=0, $n=sizeof($languages); $i<$n; $i++) { ?> <tr> <td class="main" valign="top"><?php if ($i == 0) echo TEXT_PRODUCTS_DESCRIPTION; ?></td> <td><table border="0" cellspacing="0" cellpadding="0"> <tr> <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> </tr> </table></td> </tr> <?php } ?>
@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
-
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
Tab Menu Section (TMS) and Pronux TMS For Admin Support Thread
in General Add-Ons Support
Posted
Hi,
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.