NadalKumar Posted April 20, 2019 Share Posted April 20, 2019 The current language constants for the navigation is a bit chaotic and a suggested standardization would serve well for development. The below menu names and similar should be prepended with nav_ or menu_ for quick identification and file search keyword Example clientareanavhome => nav_clientareahome affiliatestitle => nav_affiliates networkstatustitle => nav_networkstatus knowledgebasetitle => nav_knowledgebase contactus => nav_contactus announcementstitle => nav_announcements 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted April 21, 2019 Share Posted April 21, 2019 You probably are right, the code comes from old legacy software or initial releases, there are many inconsistent lang vars and in general its a bit chaotic, but I don't think they will change this since it will break more things than fix for existing users at this point. 0 Quote Link to comment Share on other sites More sharing options...
NadalKumar Posted April 21, 2019 Author Share Posted April 21, 2019 As with all coding platforms through the years -- keywords, methods, and other elements have been deprecated and removed within 2 - 4 years or left as backward compatibility, though millions of developers relied on the defunct properties. The same can be applied to the WHMCS language packs so it can be semantically streamlined for future benefit. Heck I've had to dump 3 custom templates over the years as new elements were added and my themes were not compatible. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.