Updated TIPS: Custom Code (markdown)

Chris Paschen
2018-02-13 11:03:27 -06:00
parent e4ab166ea6
commit 9d55907418

@@ -2,16 +2,61 @@ Here are some 'tips' when using custom code.
# The custom script placeholders # The custom script placeholders
| | | | | | <table>
|---|---|---|---|---| <tr>
| USAGE | PHP START | PHP END | HTML START | HTML END | <td>USAGE</td>
| New Insert Code | `/***[INSERT<>$$$$]***/` | `/***[/INSERT<>$$$$]***/` | `<!--[INSERT<>$$$$]-->` | `<!--[/INSERT<>$$$$]-->` | <td>PHP START</td>
| New Replace Code | `/***[REPLACE<>$$$$]***/` | `/***[/REPLACE<>$$$$]***/` | `<!--[REPLACE<>$$$$]-->` | `<!--[/REPLACE<>$$$$]-->` | <td>PHP END</td>
| when JCB adds it back | <td>HTML START</td>
| JCB Add Inserted Code | `/***[INSERTED$$$$]***///23` | `/***[/INSERTED$$$$]***/` | <td>HTML END</td>
| JCB Add Replaced Code | `/***[REPLACED<>$$$$]***///25` | `/***[/REPLACED<>$$$$]***/` | </tr>
| changeing existing custom code | <tr>
| Update Inserted Code | `/***[INSERTED<>$$$$]***///23` | `/***[/INSERTED<>$$$$]***/` | <td>New Insert Code</td>
| Update Replaced Code | `/***[REPLACED<>$$$$]***///25` | `/***[/REPLACED<>$$$$]***/` | <td>`/***[INSERT<>$$$$]***/`</td>
<td>`/***[/INSERT<>$$$$]***/`</td>
<td>`<!--[INSERT<>$$$$]-->`</td>
<td>`<!--[/INSERT<>$$$$]-->`</td>
</tr>
<tr>
<td>New Replace Code</td>
<td>`/***[REPLACE<>$$$$]***/`</td>
<td>`/***[/REPLACE<>$$$$]***/`</td>
<td>`<!--[REPLACE<>$$$$]-->`</td>
<td>`<!--[/REPLACE<>$$$$]-->`</td>
</tr>
<tr>
<td COLSPAN="5">when JCB adds it back</td>
</tr>
<tr>
<td>JCB Add Inserted Code</td>
<td>`/***[INSERTED$$$$]***///23`</td>
<td>`/***[/INSERTED$$$$]***/`</td>
<td>`<!--[INSERTED$$$$]-->`</td>
<td>`<!--[/INSERTED$$$$]-->`</td>
</tr>
<tr>
<td>JCB Add Replaced Code</td>
<td>`/***[REPLACED<>$$$$]***///25`</td>
<td>`/***[/REPLACED<>$$$$]***/`</td>
<td>`<!--[REPLACED$$$$]-->`</td>
<td>`<!--[/REPLACED$$$$]-->`</td>
</tr>
<tr>
<td COLSPAN="5">changeing existing custom code</td>
</tr>
<tr>
<td>Update Inserted Code</td>
<td>`/***[INSERTED<>$$$$]***///23`</td>
<td>`/***[/INSERTED<>$$$$]***/`</td>
<td>`<!--[INSERTED<>$$$$]-->`</td>
<td>`<!--[/INSERTED<>$$$$]-->`</td>
</tr>
<tr>
<td>Update Replaced Code</td>
<td>`/***[REPLACED<>$$$$]***///25`</td>
<td>`/***[/REPLACED<>$$$$]***/`</td>
<td>`<!--[REPLACED<>$$$$]-->`</td>
<td>`<!--[/REPLACED<>$$$$]-->`</td>
</tr>
"//23" and "//25" (or similar id numbers) are the ID of the code in the system don't change it!!!! "//23" and "//25" (or similar id numbers) are the ID of the code in the system don't change it!!!!