sureshv
(Suresh V)
July 21, 2017, 6:23am
1
I am using both PloneFormGen and collective.contentlicensing on my site.
Forms are showing up with the License info since Forms are derived from ATFolder and ATFolder implements ILicenseable.
How do I not display the License info when displaying forms?
See:
tkimnguyen
(T. Kim Nguyen)
July 24, 2017, 10:48pm
2
You could try filing an issue in the github repo and mention one of the committers but @macagua may know more
1 Like
tkimnguyen
(T. Kim Nguyen)
July 24, 2017, 10:50pm
3
1 Like
sureshv
(Suresh V)
July 25, 2017, 9:42am
4
In the configure.zcml, the product has:
<class class="Products.ATContentTypes.content.folder.ATFolder">
</class>
Which is causing the problem.
If I could say:
<class class="Products.PloneFormGen.content.form.FormFolder">
I will be all set!
tmassman
(Thomas Massmann #BlackLivesMatter)
July 25, 2017, 9:45am
5
Then take a look at z3c.unconfigure
1 Like
sureshv
(Suresh V)
July 25, 2017, 9:49am
6
Thank you for an imperfect solution.
Not exactly what I am looking for (since I want to retain the Licensable nature of ATFolder), but this is certainly better than commenting out the code in the product,
macagua
(Leonardo Caballero)
July 27, 2017, 7:26pm
7
@sureshv I think the use of z3c.unconfigure directives is a way in the right direction