If you are looking for an SMOD/CMOD customer enhancement function module, you can use the function MODX_FUNCTION_ACTIVE_CHECK. It is called in most cases before the SMOD/CMOD function module called.
How to use:
- In FU MODX_FUNCTION_ACTIVE_CHECK, set a breakpoint at the statements "select ... from tfdir...", in release 470 this is on line 36 and on line 51.
- Execute the transaction where you search the SMOD / CMOD enhancement.
- When the debugger stops on line 36, the name of the current enhancement is in the field l_funcname.
- Normally, the debugger will stop here several times in one transaction. So you need to copy / write down the enhancement names.
- When the debugger stops on line 51, the (possible) enhancement names are between l_funcname and h_fname.
Remarks:
- There are also the functions MODX_MENUENTRY_ACTIVE_CHECK and MODX_SUBSCREEN_ACTIVE_CHECK.
- Some applications read TFDIR directly without using MODX_FUNCTION_ACTIVE_CHECK.
- When you have te exit function names, you can search in SMOD for the enhancements with the F4-Help.
| < Prev | Next > |
|---|





