View Issue Details

IDProjectCategoryView StatusLast Update
0003565Composr website (compo.sr)[All Projects] General / Uncategorisedpublic2018-03-24 00:48
ReporterAdam EdingtonAssigned ToChris Graham 
SeverityFeature-request 
Status closedResolutionnot fixable 
Summary0003565: Comcode -> Tempcode Converter
DescriptionNot 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
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2018-03-24 00:22

administrator   ~0005610

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.

Adam Edington

2018-03-24 00:48

administrator   ~0005611

Understood and thanks for explaining how to accomplish this easily.

Issue History

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