By: Marcos
Date: 2014-12-11
Time: 18:19
|
Weird problem with mergeblock ()(sorry my English, I'm using google)
Good afternoon, I am working days upon opentbs (which by the way is a great job done!) And I'm having a big problem. Suffered days trying to find the big time the subject of loading and merge. Then I found something that I do not know if someone has passed, the merge command works extremely fast this way: Example 1 - mergeblock ('namevar' $ array); but does not work this way: Example 2 - mergeblock ('namevar ','array','arraynamevar') So far so good, the problem is I have dynamic tables with levels, so I put this way so you can filter the array: Example 3 - mergeblock ('namevar', 'Array', 'arraylvl1[%p1%][arraylvl2][%P2%][arraylvl3]') Strangest of all, it worked perfectly the code in a test summarized this code, however the final file simply crashes, even without sub levels as the problem I'm having, I want to know is if the example 3 can be converted to the same format as in example 1. Or if someone does not give me a light because it does not work. UPDATE: I tried using sub-block exemple, this is what i need, but exemple 2 and 3 format not work with big file i dont know why. Thanks!! |
|
By: Marcos
Date: 2014-12-11
Time: 21:23
|
Re: Weird problem with mergeblock ()Ok, close of a solution, with this post
http://www.tinybutstrong.com/forum.php?thr=3053 but my script show me this error: TinyButStrong Error in field [an_sub1_sub1.lThis message can be cancelled using parameter 'noerr'. i do same Nino do, see my template:
any idea? |
|
By: Marcos
Date: 2014-12-11
Time: 21:58
|
Re: Weird problem with mergeblock ()Ok.. correct, problem with broken tbs tag, but final file is corrupted, debug not show any error.
|
|
By: Marcos
Date: 2014-12-11
Time: 22:31
|
Re: Weird problem with mergeblock ()ok, solved lol, i replaced block=begin and block=end. Work saving in odt but give error in docx. I dont have success with table tags, instead of it i used tbs tags! Thanks!
|
|
By: Skrol29
Date: 2014-12-11
Time: 23:35
|
Re: Weird problem with mergeblock ()Hi Marcos,
Automatic sub-block seems to be to good solution for your problem. Your snippet of template seems correct. You should look at the HTML source of the error message because it seems to be partially displayed. Probably because of some XML elements in the message. |