$user->get('cb_city') won't work --> HELP please?

8 years 4 months ago - 8 years 4 months ago #274212 by mk3
Hi there!
In the file .../com_comprofiler/plugin/templates/default/default.php
I'm trying to get the city field value...but it won't work!

I'm doing like this:
$user_city = $user->get('cb_city');
if ( $user_city == "St. Petersbourg" ) $i=$i+10;

cb_city is the field I've created in CB fields.

Help me resolve this problem please?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.209 seconds

Facebook Twitter LinkedIn