webCOMAND

webCOMAND Releases

Learn about the latest webCOMAND updates and releases.

webCOMAND 3.0.17 Released

We are excited to announce that we have released webCOMAND 3.0.17 today. Among other bug fixes and performance improvements, this release introduces the new Content Type Editor view.

Content Type Editor

webCOMAND treats Content Types (i.e., the definition of a type of content, like a Contact or Web Page) like any other content. This is a powerful feature of webCOMAND, allowing you to query and interact with types just like you would any content in your repository. However, because Content Types have several configuration options, webCOMAND needed a streamlined way for users to build and manage their types. You can now edit the Content Type of any content in webCOMAND by clicking the Gear icon in the upper right which will open the Content Type Editor View. This view is also shown whenever you configure your Content Type from the Bases App.

Basic Type Configuration

The Content Type Editor view breaks configuration options down into four sections - Type, Fields, Methods, and Class. The first section, 'Type', provides fields for changing basic information like the type's identifier, title, and help information. The slide-outs on the right, similar to the other meta-information provided for repository content, show extra information for types such as those which it inherits fields and functionality from.

type.png

WYSIWYG Field Editing

It has never been easier to add fields to your types than with the new WYSIWYG form builder. In the 'Fields' section of the Content Type Editor, drag in new fields from the slide-out on the right to add them to your type, and reorder them by dragging and dropping them into place. Edit your field configuration options, like its title and help information and click Approve to apply.

fields.png

Type Behaviors and Templates

You can modify your content's behaviors on creation or approval, or introduce custom publication logic, by defining templates for the type in the 'Methods' section of the editor. Use the new Templates widget to create or modify custom code in webCOMAND's cTemplate language.

methods.png

Define Custom Code

If cTemplate customization isn't enough, webCOMAND allows you to define a PHP class for your content type to fully customize its logic at runtime. Using the 'Class' section of the Content Type Editor view, point your type to a package and PHP file, and your custom logic in that file will be available to you through the webCOMAND user interface, Web Services, and through the COMAND PHP API. Read more about this feature here in COMAND Content Type Classes.

class.png