Jump to content

Suggestion for menu language constants


NadalKumar

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated