| • | You can have several [tbs] tags in the same article. They will be processed in order. |
| • | All [tbs] tags can be placed anywhere, they will be deleted before the display. |
| • | You can tune several options at the file "plugins\tinybutstrong\tinybutstrong_options.php". |
| • | The plugin works on an article after typographical shortcuts for SPIP and SPIP's tags are replaced, and after it is saved in cache. The plugin works just before the article is displayed. |
| • | The plugin in doesn't work when the description of the article is display (like when displaying a list of articles). In order to avoid dynamic tags to be displayed in the article description, you can use the SPIP shortcut <intro></intro> to define a part of the article to be the description. |
| • | The SPIP shortcut <HTML></HTML> enables you to leave a part of the article source as is. |
| blockname: | Name of the TBS block to merge. Assuming that such a block exists in the current article. |
| dbname: | Optional. Name of the database where to use the SQL statement. The database must be available with the current SPIP connection. You can specify the keyword %current% for the SPIP database. If you want to connect to a database with another account and password, you must use another type of tag because this one cannot do it. |
| sqlstatement: | The SQL statement that should return the data to display. In order to facilitate the usage of operators '<' and '>' in the SQL statement, the plugin automatically replaces strings '-+' and '+-' with those operators. You can prevent this behavior by adding the parameter sql_preserve in the [tbs] tag. Example: [tbs]mergeblock=u;sql=SELECT name FROM t_user WHERE id+-0[/tbs] is the same as [[tbs]mergeblock=u;sql=SELECT name FROM t_user WHERE id>0;sql_preserve[/tbs] |
| scriptname.php: | The PHP script to run. You can specify a path. The default path for all scripts can also be specified in the plug-in options. |
| dbname: | Optional. Name of the database to select before the script is run. The database must be available with the current SPIP connection. You can specify the keyword %current% for the SPIP database. If you want to connect to a database with another account and password, then your script must open this connection by itself, and you should specify explicitly the new open connected for any use of MergeBlock(). |
| dbname: | Optional. Name of the database to select before the script is run. The database must be available with the current SPIP connection. You can specify the keyword %current% for the SPIP database. If you want to connect to a database with another account and password, then your script must open this connection by itself, and you should specify explicitly the new open connected for any use of MergeBlock(). |