View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1191 | Composr documentation | General / Uncategorised | public | 2013-04-26 18:08 | 2015-09-27 00:01 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Priority | normal | Severity | feature | ||
Status | resolved | Resolution | fixed | ||
Summary | 1191: Custom comcode tags with tempcode | ||||
Description | This is a simple example tag for showing reminders/advice to walkers, based on the month, with a given highlighter colour, and a name for the walking location... Comcode tag: walking_reminders Title: Walking reminders Description: Show a walking reminder, tailored to the month. Parameters: color=red Replacement text: {+START,IF,{$EQ,{$FROM_TIMESTAMP,%b},Nov,Dec,Jan}} Pack your <span style="color: {COLOR}">gloves</span>, a <span style="color: {COLOR}">hat</span>, and a thick <span style="color: {COLOR}">coat</span>. It'll be cold on the {CONTENT}. {+END} {+START,IF,{$EQ,{$FROM_TIMESTAMP,%b},Feb,Mar,Apr}} Be careful of the <span style="color: {COLOR}">wildlife</span> It's breeding season on {CONTENT}. {+END} {+START,IF,{$EQ,{$FROM_TIMESTAMP,%b},May,Jun,Jul}} Bring plenty of <span style="color: {COLOR}">water</span>, it may be very hot on the {CONTENT}. {+END} {+START,IF,{$EQ,{$FROM_TIMESTAMP,%b},Aug,Sep,Oct}} Wear good <span style="color: {COLOR}">shoes</span>, it may be slippy on the {CONTENT}. {+END} Example: [walking_reminders color="red"][/walking_reminders] (checkboxes as defaults) | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Note that comcode tag previewing was buggy at the time of testing, I'm not sure if it's a problem on v9, if so I will post a hotfix. |
|
Assigned to Anoop tutorial for review. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |