Talk directory again: advanced properties
It’s very easy to create a
directory in Cabloy-CMS, which is enough for most scenarios.
In fact, you can add more advanced properties to the directory for more flexible customization.
|hidden||Boolean||If true, no rendering|
|flag||String||Custom fields to store the appropriate values as needed|
|catalog||Boolean||Mark whether it is
|language||String||Mark attribution language|
|url||String||Click to open the specified link|
- hidden: For example, to implement an
Aboutpage, this page is displayed directly on the menu. But the
articlemust belong to the
directory, then you can create a hidden directory, put the
Aboutpage into this hidden directory.
- url: This field is primarily used in sites of similar
document type. For example, a document site has
multi-level directories. The
primary directoryis displayed in the navigation, and the url link is set for it. Then, when you click on, the specified article link will open. The
multi-level subdirectoriesunder the
primary directoryare displayed in the left sidebar of the article page. Please see the documentation style at https://cabloy.org.