Answer the question
In order to leave comments, you need to log in
How to create Custom Resource Classes based on modResource in CMF Modx Revo?
Hey!
When creating my component for modx, I encountered the following problem.
Created a custom cmBrand class that extends modResource.
<object class="cmBrand" extends="modResource">
<field key="class_key" dbtype="varchar" precision="100" phptype="string" null="false" default="cmBrand" />
</object>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question