Bug 750973 - RFE: Add support for custom templates
Summary: RFE: Add support for custom templates
Keywords:
Status: NEW
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 750974 751295
TreeView+ depends on / blocked
 
Reported: 2011-11-03 04:08 UTC by Joshua Wulf
Modified: 2023-02-21 23:20 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.