Skip to main content
Skip to login
Skip to sign up
Skip to menu
Facebook
Twitter
Youtube
Log in
Sign up
Home
Community Builder
Add-ons
CB Quickstart
CB Paid Subscriptions
CB Activity
CB Gallery
CB GroupJive
CB Auto Actions
More ...
Memberships
Demo
Downloads
News
Featured
Releases
Blog
Support
Resources
Localization
Documentation
Videos
Forge
About Us
Help Me
Help Us Help You
FAQ
Forums
Warranty
Contact Us
Index
Recent Support Topics
New Support Topics
Recent Topics
Etiquette
Search
Index
Recent Support Topics
New Support Topics
Recent Topics
Etiquette
Search
Forums
Archive
CB
CB 1.2 RC1
General Discussion
Add defined language to field description
Add defined language to field description
Start
Prev
1
Next
End
1
GUEST
15 years 10 months ago
#66730
by
wrongjon
Add defined language to field description
was created by
wrongjon
Hi
I want to define something in the language file and then pull that in to the description of a delimiter field
I tried just adding the ref _UE_NOT_VISIBLE_ON_YOUR_PROFILE but that just outputs
_UE_NOT_VISIBLE_ON_YOUR_PROFILE
rather than the value...
Do I need some PHP here to request this value?
Please
Log in
to join the conversation.
nant
Team Member
OFFLINE
Posts: 25531
Thanks: 1834
Karma: 877
15 years 10 months ago
#66731
by
nant
Replied by
nant
on topic
Re:Add defined language to field description
You need to add the string to your language file.
Either the default_language.php or your language.php file.
What language are you trying?
It works ok for me.
--
Nick (nant)
Community Builder Team Member
Before posting on forums:
Read FAQ thoroughly
+
Read our Tutorials
+
Search the forums
For more add-ons and support:
Upgrade your membership
Links:
Community Builder
-
Languages
-
Adv/Pro/Dev membership
-
CBSubs Paid Subscriptions
-
GPL Templates
-
Hosting
Visit my CB Profile
-
Send me a Private Message (PM)
Please
Log in
to join the conversation.
GUEST
15 years 10 months ago
#66734
by
wrongjon
Replied by
wrongjon
on topic
Re:Add defined language to field description
Hi
Thanks for the speedy reply.
Yes to that default_language.php I added
DEFINE('_UE_NOT_VISIBLE_ON_YOUR_PROFILE','<span class="cbFieldIcons"><img src="
www.netfolio.co.uk/components/com_comprofiler/plugin/templates/default/images/mini-icons/icon-16-profile-no.png
" width="16" height="16" alt="These Fields ARE NOT visible on profile" title="These Fields ARE NOT visible on profile" />');
then in the delimiter field description added just
_UE_NOT_VISIBLE_ON_YOUR_PROFILE
No joy?
Please
Log in
to join the conversation.
beat
Team Member
OFFLINE
Posts: 8175
Thanks: 528
Karma: 352
15 years 10 months ago
#66738
by
beat
Replied by
beat
on topic
Re:Add defined language to field description
I just tested and it works.
Just make sure that your JS editor doesn't add a <p> or <div> around it.
It really must match exactly your string.
Beat
-
Community Builder Team Member
Before posting on forums:
Read FAQ thoroughly
-- Help us spend more time coding by helping others in this forum, many thanks
CB links:
Our membership
-
CBSubs
-
Templates
-
Hosting
-
Forge
-
Send me a Private Message (PM)
only for private/confidential info
Please
Log in
to join the conversation.
GUEST
15 years 10 months ago
#66740
by
wrongjon
Replied by
wrongjon
on topic
Re:Add defined language to field description
Hi
Thanks. With that I tried it with just the defined variable name on its own and it works.
It seems that if you add any other text to the description it fails.
Great thanks Ive simply added all the other text to the language file rather than a combination.
Thank you
Please
Log in
to join the conversation.
Start
Prev
1
Next
End
1
Moderators:
beat
,
nant
,
krileon
Forums
Archive
CB
CB 1.2 RC1
General Discussion
Add defined language to field description
Time to create page: 0.159 seconds
Powered by
Kunena Forum
Search
Login / Logout
Remember Me
Log in
Menu
Home
Community Builder
Add-ons
CB Quickstart
CB Paid Subscriptions
CB Activity
CB Gallery
CB GroupJive
CB Auto Actions
More ...
Memberships
Demo
Downloads
News
Featured
Releases
Blog
Support
Resources
Localization
Documentation
Videos
Forge
About Us
Help Me
Help Us Help You
FAQ
Forums
Warranty
Contact Us
User Menu
Forgot Login
Sign Up