Naming Rules for custom Elements

Since the OpenWebCMS? is OpenSource?, you are invited to tweak it to your needs.
To make further updates from a template possible, please follow these rules:

  • Active the 'prohibit design refresh or replace' checkbox for your custom design elements.
  • Follow these naming rules.

    Forms

    _user_<yourname>

    or

    (_user_yourname)

    Example:

    _user_MySpecialForm?
    (_user_MySpecialForm?)

    Views

    _user_<yourname>

    or

    (_user_yourname)

    Example:

    (user_Content\by category)
    (user_MySpecialView?)

    Subforms

    For subforms using inside the Content form, use:

    (ynDK_userSubForm_your name)

    For example:

    (ynDK_userSubForm_newsletter)

    For other subforms use (_user_your name).

    fields on custom subforms

    Prefix every field with a 'c'.

    For example:

  • cNewsDate
  • cTitle

    Exception: the RichText? field has to be named 'RT'.

    Script Libraries

    _user_<yourname>

    For example:

    _user_myScriptLibrary

    Agents

    _user_<yourname>

    For example:

    _user_myAgent