Skip Navigation
Expand
Custom Controllers in Customer Portal
Answer ID 2717   |   Last Review Date 12/17/2018

Is there a limit to the number of Custom Controllers that can be created in Customer Portal?

Environment:

Custom Controllers in Customer Portal (CP)

Resolution:

There is no limit to the number of custom controllers in CP.  This provides better code organization: 

-  The /euf/development/controllers directory will allow any number of files and a single level of subfolders.

-  Custom controller URL’s will be in the format http://site/cc/controller/function

-  Using subfolders, the format will be http://site/cc/subfolder/controller/function

-  Provides better flexibility for producing custom AJAX backends and custom web user interfaces.

-  Previously developers could only edit the /euf/development/controllers/ajaxCustom.php file.

-  Customer Portal, in the past shipped with one custom controller of ajaxCustom.php. The framework has been updated to allow any custom controller.

Available Languages for this Answer:

Notify Me
The page will refresh upon submission. Any pending input will be lost.