Just a word of advice from those that have done it, have you seen any major side effects after disabling the AjaxUI? Iām afraid it will cause a lot of problems.
Unfortunately any sort of complex modification of the very top navigation header becomes very hard with this thing enabled, so Iām thinking of just disabling it altogether
I wouldnāt recommend disabling it, itās been there for so long, and nobody is really testing SuiteCRM without AJAXā¦ you wander off into uncharted territory.
I admit I am not very knowledgeable in this, but I believe you donāt need to turn off AJAX in order to use non-AJAX links. They can co-exist. So if you need custom stuff and donāt want to use AJAX, you just add non-AJAX links there, right?
Problem is that with ajaxui enabled I canāt customize the header properly. It doesnāt read cookies and $_REQUEST in _headerModuleList.tpl and unfortunately itās stalling the whole project, probably due to my lack of knowledge of JS, so I have no choice but to sail into the uncharted territory
What exactly are you trying to do in _headerModuleList.tpl?
If you work on the file that includes it you will probably have a better chance. That one is just a tpl, a Template. There is another PHP file loading it and constructing a page from it. Thatās probably the best place to add JS stuff.
Thank you. More specifically I try to read the $_COOKIE that is set and also the value of $_REQUEST, itās being invoked by the displayheader() function in sugarView class, but the problem is that it always displays the module as āhomeā no matter what page weāre on and Iām not able to read the $_COOKIE values. Iām sure itās simple stuff for anyone that knows JS, Iām just very bad at it.
Guess Iāll be the guinea pig and if ever anything goes terribly wrong with AjaxUI disabled, Iāll report it here
so far so good, btw if anyoneās wondering where to disable it completely (donāt do this if youāre trying to disable it for specific modules), then you would do it inside the config.php file
and set the following to true like so:
ādisableAjaxUIā => true,