Bug 750973

Summary: RFE: Add support for custom templates
Product: [Community] PressGang CCMS Reporter: Joshua Wulf <jwulf>
Component: CSProcessorAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 1.x   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 750974, 751295    

Description Joshua Wulf 2011-11-03 04:08:26 UTC
Custom templates for topics:

In the Content Spec header:

Alias: <aliasname> = <Topic.ID>
...
Alias: <aliasname> = <Topic.ID>


In the Content Spec:

 Here is my new concept [A: <aliasname>, URL=http://www.newconcept.com]


So for example:

Alias Concept_template=43



  Here is my new concept [A: Concept_template, URL=http://www.newconcept.com]


The effect:

Clone topic 43 to a new topic. Change the title to "Here is my new concept", add the URL value to it, and set a bit in the Content mapping table to says: "This xml created by the CSProcessor".

Now, on build, for each topic check that bit. If that bit is set, then use the xml from the database only if it has "modified" revisions. Otherwise, use the message "This topic does not have xml yet".

This allows users to specify custom templates, but also to build books that graphically show what has and has not been written yet.

Comment 1 Misty Stanley-Jones 2013-05-29 02:02:48 UTC
This is not a priority at this time and no time has been allocated at this time.