Bug 977590

Summary: RFE: Very basic XML filled into new topics
Product: [Community] PressGang CCMS Reporter: Misha H. Ali <mhusnain>
Component: Web-UIAssignee: pressgang-ccms-dev
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: lnewson, mcaspers
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: 2013-07-17 00:41:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Misha H. Ali 2013-06-25 00:58:08 UTC
It seems silly to add XML that we need for every topics by hand each time. Can we have something like the following filled in when a topic is created but commented out so that the "no content" message still shows up when rendered:

<!-- <section>
  <title>$TOPICTITLE</title>

</section>  -->

IMO, it would be faster and easier to uncomment this and start actually adding topic content than adding these global tags by hand.

Comment 1 Lee Newson 2013-06-25 01:02:20 UTC
This would currently not work with the csprocessor, as the topic is not empty.

You can also do this using the "section-basic" template, which can be accessed by using the CTRL+ALT+E pop-up menu.

Comment 2 Misha H. Ali 2013-06-25 01:08:05 UTC
Fair. I'm not privy to the reasoning behind the removal of the original concept, task and reference templates from new topics, but just in case this is possible, I've added an RFE for evaluation. 

IMO, if two tags are *always* going to be used, there should be a way to have it included in the new topics by default. At any rate, thanks for having a look at the RFEs and doing such a great job with the CCMS!

Comment 3 Lee Newson 2013-06-25 01:10:20 UTC
FWIW, those templates weren't removed but just how they are inserted is done differently, they are now accessed in the same way as above (via the CTRL+ALT+E menu)

Comment 4 Matthew Casperson 2013-07-01 04:59:22 UTC
Fixed in 201307011459.

I've updated the UI to default to a basic template when a new topic is created. We can probably expand on this when the metadata is cleaned up.

NOTE:
When QAing bug fixes, please make sure the build you are using is equal to or higher than the build identified above. Be aware that this fix may have only been applied in PressGang Next at this time, or it may not be currently applied in any production system, in which case it can only be verified at a later date.

Comment 5 Misha H. Ali 2013-07-04 04:49:08 UTC
Verified: New topic appears with section, title and para tags as a starter template.