DGS WEB Mode
By default, DGS operates in WEB mode. In this mode, the system renders views using templates, and the process of locating these templates follows a specific priority order.
Template Lookup Priority
The priority for template lookup is as follows:
1. Custom Path (if provided): If a custom path is specified, it is checked first.
2. Theme Template Path: The path defined by the store's theme option (Store::OPTION_THEME_TEMPLATE_PATH).
3. Festi Theme Template Path: If the constant ENGINE_TEMPLATE_PATH is defined (e.g., by a Festi Theme Package), this path is included.
4. Plugin Template Path: If a plugin is attached for the DGS, its template path is also checked.