Skip to Content Skip to Menu

[SOLVED] How to convert language vars from reg db

  • sfraise
  • sfraise
  • OFFLINE
  • Posts: 96
  • Thanks: 14
  • Karma: 4
12 years 5 months ago - 12 years 5 months ago #200919 by sfraise
I'm finishing up a custom modal window registration built into the mod_cblogin and have one final issue I need to solve.

When I pull the field titles out of the comprofiler_fields table many of them are using language vars such as _UE_PASS. How do I convert those to the actual title? I've tried using getLangDefinition but some have a lang definition and some dont so I'm not exactly sure what to do there.

*** SOLVED ***
Never mind, it seems if I use the getLangDefinition and there isn't a land definition it just outputs the correct thing so seems to all be good.
Last edit: 12 years 5 months ago by krileon.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum