Of course this looks like not near, like what i want to have.
So my request is still open:
ViolaF wrote: Thu Sep 14, 2017 8:53 pm
Now the Code minimum/minified (for test-set)
To check out this bbcode you need not all bbcodes from the original instruction.
This should be enough to test.
Not important for test-set, so just for info... wrote:The {NUMBER}
thing must be a unique-number,
so you can only post one tabmenu per topic-site with this test-set.
Normally an additional script gives here a number via RAND,
so i change it here (for test-set) from {NUMBER}
to 33
.
just in case and you do not wonder....
------------------
Instruction
BBCode wrote:BBCode usage:
Code: Select all
[tabmenue2=33]{TEXT1}###{TEXT2}###{TEXT3}###{TEXT4}[/tabmenue2]
HTML replacement:
Code: Select all
<div id="dynamicTabMenu-33" class="hidden">
<div class="tabMenu">
<ul id="dynamicTabMenu-33-item">
<li id="dynamicTabMenu-33-item-0"><a onclick="dynamicTabMenu.showSubTabMenu('33','0');"> <span>{TEXT1}</span></a></li>
<li id="dynamicTabMenu-33-item-1"><a onclick="dynamicTabMenu.showSubTabMenu('33','1');"> <span>{TEXT2}</span></a></li>
</ul>
</div>
<div class="subTabMenu">
<div class="containerHead"><div> </div></div>
</div>
<div id="dynamicTabMenu-33-content">
<div class="border tabMenuContent" id="dynamicTabMenu-33-content-0">
<div class="container-1">
{TEXT3}<div class="tabMenuBBCodeClear"> </div>
</div>
</div>
<div class="border tabMenuContent" id="dynamicTabMenu-33-content-1">
<div class="container-1">
{TEXT4}<div class="tabMenuBBCodeClear"> </div>
</div>
</div>
</div>
</div>
<div class="border tabMenuContent" id="dynamicTabMenuNoScript-33">
<div class="container-1">
<h3>{TEXT1}</h3>
<div class="border tabMenuContent">
<div class="container-2">
{TEXT3}<div class="tabMenuBBCodeClear"> </div>
</div>
</div>
<h3>{TEXT2}</h3>
<div class="border tabMenuContent">
<div class="container-2">
{TEXT4}<div class="tabMenuBBCodeClear"> </div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
dynamicTabMenu.init('33');
//]]>
</script>
Display on posting page:
Help line:
File Edit wrote:Open
Code: Select all
styles/prosilver/template/overall_header.html
Find
Code: Select all
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
After Add
Code: Select all
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/tabmenu.js"></script>
<link href="{T_THEME_PATH}/tabmenu.css" rel="stylesheet" type="text/css" />
--------------
Files
http://www.loaditup.de/files/841752_kp2ste65pt.zip
Upload Files from *.* to *.* (but just prosilver)
--------------
Clear all available Caches
-------------------------
Result in 3.0.14 and 3.1.*
----
Result in 3.2.1
kinerity wrote: Fri Sep 15, 2017 11:25 ama problem with
your BBCode, not phpBB's parser.
To make it more clear: The problem is not the function of the tabmenu-BBCode itself, that works.
My problem is, that the content
within the tabemenu-BBCode is not parsed (line-breaks, bbcodes, smilies),
which was correctly parsed in 3.0.14 and 3.1.*.
3.2.0 breaks the whole bbcode, when i use line-breaks
within the bbcode,
3.2.1 breaks
not the whole bbcode, but let the content
within the tabmenu-BBcode still unparsed.
So there must be some check in the new text-formatter, which breaks html-parsing within some BBCodes.
Ger wrote: Fri Sep 15, 2017 11:36 amThings change... I think you should add the BBcode in another way. However, 1 person knows the Textformatter better than anyone:
New things can also have bugs, even when it counts only for some people
But i understand, those code-god's never make errors, of course...