View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003565 | Composr website (compo.sr) | [All Projects] General / Uncategorised | public | 2018-03-24 00:19 | 2018-03-24 00:48 |
| Reporter | Adam Edington | Assigned To | Chris Graham | ||
| Severity | Feature-request | ||||
| Status | closed | Resolution | not fixable | ||
| Summary | 0003565: Comcode -> Tempcode Converter | ||||
| Description | Not sure how easy this would be to accomplish but I've often wanted to use the Comcode generated in a page directly in a template (tabs, accordians, etc). As these are both unique to Composr, it would be useful to run such a converter on the main website as a useful feature. I know it's probably a simple thing to achieve, but that doesn't mean it wouldn't be useful. I wouldn't know how to do it offhand although I believe you just wrap the Comcode in some Tempcode. Not sure if there's a need or a way to convert to Tempcode to Comcode but that might be cool. If this makes little sense, feel free to delete it :P | ||||
| Tags | No tags attached. | ||||
| Time estimation (hours) | |||||
| Sponsorship open | |||||
|
|
Comcode relies on all the templates of a theme. So by "Converting Comcode to Tempcode", we'd actually be compiling in all those templates. That wouldn't result in something portable. You can use Comcode directly in Tempcode via including panels or pages though. E.g. {$LOAD_PAGE,_foo}, then having a page _foo with the Comcode in. Pages prefixed with '_' are hidden from the Sitemap. |
|
|
Understood and thanks for explaining how to accomplish this easily. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2018-03-24 00:19 | Adam Edington | New Issue | |
| 2018-03-24 00:22 | Chris Graham | Note Added: 0005610 | |
| 2018-03-24 00:22 | Chris Graham | Status | non-assigned => closed |
| 2018-03-24 00:22 | Chris Graham | Assigned To | => Chris Graham |
| 2018-03-24 00:22 | Chris Graham | Resolution | open => not fixable |
| 2018-03-24 00:48 | Adam Edington | Note Added: 0005611 | |
| 2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |