Forums » beCPG Designer » Use »
HowTo: Use created custom type to define a folder rule
Ajouté par Augusto Lucena il y a plus de 8 ans
Hello!
First of all, I would like to thank the creators of this great extension, it really literally rock!
Well,well... I have created one custom type called ext1:balancete and I could not find it on the rule creation UI (maybe I'm just dumb and don't know exactly where to look).
Here(https://www.becpg.fr/redmine/projects/becpg-community/wiki/Designer_FAQ) I found that you need to create/edit your SHARE-CONFIG-CUSTOM.XML so I opened notepad++ and added the following to the code
@ <types>
<type name="cm:content">
<subtype name="cm:balancete" />
cm_balancete=Balancete
</type>
<type name="cm:folder">
</type>
<type name="trx:transferTarget">
<subtype name="trx:fileTransferTarget" />
</type>
</types>
@
Is it right? Still I can't find my custom type in the drop down list on rules management.
Thank you so much for the help.
Réponses (3)
RE: HowTo: Use created custom type to define a folder rule - Ajouté par Augusto Lucena il y a plus de 8 ans
Augusto Lucena a écrit :
Hello!
First of all, I would like to thank the creators of this great extension, it really literally rock!
Well,well... I have created one custom type called ext1:balancete and I could not find it on the rule creation UI (maybe I'm just dumb and don't know exactly where to look).
Here(https://www.becpg.fr/redmine/projects/becpg-community/wiki/Designer_FAQ) I found that you need to create/edit your SHARE-CONFIG-CUSTOM.XML so I opened notepad++ and added the following to the code
@ <types>
<type name="cm:content">
<subtype name="cm:balancete" />
cm_balancete=Balancete
</type><type name="cm:folder">
</type><type name="trx:transferTarget">
<subtype name="trx:fileTransferTarget" /></type>
</types>
@Is it right? Still I can't find my custom type in the drop down list on rules management.
Thank you so much for the help.
I'm sorry for the mess I have done above
Here is the right code:
<types>
<type name="cm:content">
<subtype name="cm:balancete" />
cm_balancete=Balancete
</type>
<type name="cm:folder">
</type>
<type name="trx:transferTarget">
<subtype name="trx:fileTransferTarget" />
</type>
</types>
RE: HowTo: Use created custom type to define a folder rule - Ajouté par Augusto Lucena il y a plus de 8 ans
Update:
I added to the XML:
<type name="cm:content">
<subtype name="ext1:balancete" />
</type>
And then I got a mile long issue in the log file and my admin credentials aren't recognized anymore. I undid what I've done and now it works but I can't see my ext1:balancete model.
For reference: CE 5.0.d / Designer 2.0.2
Regards
RE: HowTo: Use created custom type to define a folder rule - Ajouté par Augusto Lucena il y a plus de 8 ans
I managed to make it work. I did nothing, somehow I don't know it just worked.
Thanks.