Questions tagged [tinybutstrong]

TinyButStrong is a template engine for PHP.

TinyButStrong is a template engine for PHP. It can merge not only HTML, but also XML, text, and any textual source by the technical of template. Provided in a single file, TinyButStrong is a brick in your application, and can be inserted in any framework. It can thus cover only one feature or being a central component of your application.

TinyButStrong can be empowered by the plug-in OpenTBS in order to merge OpenOffice, LibreOffice and Microsoft Office documents.

159 questions
0
votes
2 answers

Using TinyButStrong, how to get results to load into option tags?

Environment: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 I'm new to using TinyButStrong. Got results back from MYSQL stored Procedure, data looks like this: vardump($auth_user_list); //example of output array(10) { [0]=> array(2) { …
mcv
  • 1,380
  • 3
  • 16
  • 41
0
votes
1 answer

Tinybutstrong htmlconv=no

I have a variable that contains square brackets e.g. $myvar = '[my foo]'; in my html I have [var.myvar;htmlconv=no;noerr] for some reason the opening brackets [[ are being coming up in the html source as follows [my foo] any reason why the…
fredmarks
  • 327
  • 5
  • 14
0
votes
1 answer

Inserting a bullet point and styling to [onshow.] entires in openTBS

I was wondering if there was a way to pass through a bullet point and a basic CSS colour styling for the bullet point via the variable that gets applied via onshow. IE $string = ' The rest of the string'; $TBS…
opm881
  • 3
  • 3
0
votes
1 answer

Sample Scatter Excel Chart using OpenTBS

Can anybody give me an example of how to create an Excel Scatter chart using OpenTBS/TinyButStrong? And are there any commercial/non-commercial PHP excel writers that support excel charts? Will really appreciate your help. Thank you for your time!
chums
  • 3
  • 2
0
votes
1 answer

tinybutstrong xlsx autamatic ope=xlsxNum

Is there is any way to make TBS automaticly choose when cell need to be numeric (ope=xlsxNum)? Or is it posible to use if or when for ope?
0
votes
1 answer

tinybutstrong stop showing [var.myvariable] in loaded page when variable is not set

I have an html page that is being rendered with the template engine tinybutstrong. The problem I have found is that if I have a variable that is not set in the php file, when the page loads, it shows [var.myvariable] is there a way to stop this…
fredmarks
  • 327
  • 5
  • 14
0
votes
0 answers

Place images next to eachother in docx

[audit; block=begin; comm=w:p; sub1=image] --PageBreak-- [audit_sub1; block=begin;] ImageElement [audit_sub1.path;ope=changepic;from=[val];default=current;adjust] [audit_sub1; block=end;] [audit; block=end; comm=w:p] What happens in this case, is…
Pim Reijersen
  • 1,123
  • 9
  • 33
0
votes
1 answer

How to display this nested array with sub blocks?

Single item of array: array(3) { 'name' => string(19) "trigger_assignments" 'description' => string(67) "Maps trigger to hook and operation assignments from trigger.module." 'fields' => array(3) { [0] => array(3) { 'name'…
Codium
  • 3,200
  • 6
  • 34
  • 60
0
votes
1 answer

tinybutstrong alternative for Java

Is there are Template Engine for Java that can build docx/odt reports from docx/odt templates? I've already tried xdocreport but there are only row- and cell-based blocks but I need whole-table-block. Is there are something for Java like…
0
votes
1 answer

Simplifying subtemplates that use 'getpart' parameter to speed up OpenTBS

As a follow up to my previous question, I am trying to really simplify several xml templates extracted from .docx files created in Word 2010 and used as subtemplates in OpenTBS in order to speed up my document creation. The subtemplates contain an…
Sarah Kemp
  • 2,670
  • 3
  • 21
  • 29
0
votes
2 answers

How does the changepic function in openTBS work?

I'm currently trying out the TinyButStrong library with openTBS plugin to edit an OpenOffice writer template. If I correctly understand, you can change a default picture to something else using…
Resitive
  • 280
  • 1
  • 6
  • 24
0
votes
1 answer

TinyButStrong insert an html inside an odt file
I'm working correctly with TinyButStrong inside my php project: I can replace parts of an odt template file with custom texts, but now I'd like to insert some inside of it. The problem is that it insert the html code nor the interpreted version. Is…
linuxatico
  • 1,878
  • 30
  • 43
0
votes
1 answer

Load a block on xlsx header

is there any way when using openTBS, to send blocks to an .xlsx header? Like we do on word, load the block on header.xml? Thanks in advance, regards UPDATE: yes, i found the header content in /xl/worksheets/sheet1.xml, but still im trying to merge…
Gil
  • 184
  • 1
  • 3
  • 15
0
votes
1 answer

Replicate Excel worksheets dynamically

Is there any way to replicate Ms Excel worksheets dynamically, using openTBS on template side? im used to delimit this in Ms Word with 'Page Breaks' between the block begin and end... What i need is [base;block=begin] "blablabla text...." (Page…
Gil
  • 184
  • 1
  • 3
  • 15
0
votes
1 answer

delimit blocks - openTBS / xlsx,

im using openTBS to make an excel doc. Here is my problem: Im trying to replicate submodules under the parent title ( Red one ) and my output is: is there any way to limit the blocks inside that table? so i can get all the green modules under a…
Gil
  • 184
  • 1
  • 3
  • 15
1 2 3
10
11