2010-11-02, 10:29 PM
Hello, today I created a MyCode for the creation of tables such as those used in the forum topic etc. It can be very useful!
Go to:
adress-board/admin/index.php?module=config-mycode
And click "Add new MyCode" and insert these fields:
Title
Table
Short description
Create a table expandable as those used in the forum with title and text.
Regular Expression
Replacement
Enabled?
Yes
Parse Order
0
Click "Save MyCode". Warn: Do not test this MyCode in the panel amministration because there are not the same as those of the css forum, you will need to test it go to a topic and write:
[table=qui il titolo desiderato]Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. [/table]
Result:
MyCode by Clear, do not copy in other Forum, website or blog (ext.) without my permission!
Go to:
adress-board/admin/index.php?module=config-mycode
And click "Add new MyCode" and insert these fields:
Title
Table
Short description
Create a table expandable as those used in the forum with title and text.
Regular Expression
\[table=(.*?)\](.*?)\[/table\]
Replacement
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" style="padding: 4px;"><strong>$1</strong></td>
</tr>
<tr>
<td class="trow1" style="padding: 5px;" align="left">
$2
</td>
</tr>
</table>
Enabled?
Yes
Parse Order
0
Click "Save MyCode". Warn: Do not test this MyCode in the panel amministration because there are not the same as those of the css forum, you will need to test it go to a topic and write:
[table=qui il titolo desiderato]Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. Testo da voi desiderato. [/table]
Result:
MyCode by Clear, do not copy in other Forum, website or blog (ext.) without my permission!