Documents module missing form designer button?

iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
11 years ago
517 posts
I'm building out my site documentation.

I think it would be cool to have a "draft" mode. This way you can be working on documentation but not publish it yet.

Just a thought.

-- edit title to reflect potential bug --
updated by @ilovehousemusic: 03/16/14 10:30:57PM
michael
@michael
11 years ago
7,768 posts
You could do that with the Form Designer.

add a checkbox labeled "doc_draft" and then add that as a search string in your calls

{jrCore_list module="jrDocs" search1="doc_draft != on"}

--edit--
edited to remove the '' around on. not needed.
updated by @michael: 02/12/14 02:37:17PM
brian
@brian
11 years ago
10,148 posts
Yep this is a perfect use of the form designer...


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
11 years ago
517 posts
Ah thanks for that! I'll put that form designer to better use.

-- edit --
I'm logged in as master_admin. When I go to ADD a document. I don't see the form designer button. Normally when I add content, such as event or audio, I see the form designer button.

Is this feature available elsewhere in the system? Should it be directly on the form?

NOTE: in the screen shot below, I've renamed the language string from "Document" to "FAQ". Thanks!
updated by @ilovehousemusic: 02/10/14 03:42:50PM
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
11 years ago
517 posts
BTT - this was a suggestion at first, but I think it belongs in the module thread now. Potential bug. See post above. thanks!
updated by @ilovehousemusic: 02/11/14 10:58:44AM
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
jrDocs doesn't have form designer capabilities, or I haven't found them yet. I had assumed that was because of the multi section types. I'd be very interested in it as a feature if it is possible.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
11 years ago
10,148 posts
Yeah the documentation module handles all of it's forms internally, so it's not "plugged in" to the form designer.

What would you guys like to do with the form designer if it was available for the doc module?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
11 years ago
517 posts
brian:
Yeah the documentation module handles all of it's forms internally, so it's not "plugged in" to the form designer.
What would you guys like to do with the form designer if it was available for the doc module?
Thanks!

Put a doc into draft mode. Say, I want to start typing out documentation and come back to it later.

This was suggested, but not possible from what I could tell: "You could do that with the Form Designer.

add a checkbox labeled "doc_draft" and then add that as a search string in your calls

{jrCore_list module="jrDocs" search1="doc_draft != 'on'"}"
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
brian:
Yeah the documentation module handles all of it's forms internally, so it's not "plugged in" to the form designer.

What would you guys like to do with the form designer if it was available for the doc module?

Thanks!

I'd use that feature in another module which creates sections in the same manner as jrDocs.

I made a shared projects module for a client based on jrDocs, and I know it would be useful to them. I did add form designer into the mix in an early version, but assumed that there would be problems (otherwise jrDocs would already use form designer) and not enough budget, so I removed it before testing.

I'd be really interested in it for another module(s) which uses sections as well. It does things with page layouts. Form designer would make it awesome.

My assumption was that if form designer worked with sections jrDocs would have it, and so that using a sections type module was a trade off, gaining sub items but losing the form designer. If form designer works with sections functions, well that would make my day! And I'd be able to test it quite a bit over the next few weeks. :)


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
11 years ago
10,148 posts
I just pushed out version 1.0.10 of the docs module - it now supports form designer on the create/update forms (for creating or updating a document) - it does not have form designer support for each of the individual document "section" type forms, since that would be much trickier to integrate.

let me know if that helps out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
iLoveHouseMusic
iLoveHouseMusic
@ilovehousemusic
11 years ago
517 posts
For my purpose (hiding a doc) I think it might. I'll test it out!
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
Thanks Brian!

I'd be very interested in doing that for sections as well if it crops up in the future.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

Tags