Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Localized Lists-Values?
Last Post 07-08-2010 11:44 AM by Ryan Bakerink. 6 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
felixhelixUser is Offline
going with the flow
going with the flow
Posts:34
Avatar

--
07-19-2007 02:03 AM

    Hello,
    the localization is a great feature. But how can I localize checkbox/radiobuttons/list values?
    Greetings,
    felix

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    07-20-2007 11:08 AM
    Hi. To localize any fields that require localization you need to use SQL instead of static options. you can do this a few ways, you can use the Admin, Lists feature to create a list specific to different languages etc... Or you can just create your own table of data and also include a column for language. The end result is that you need to use this parameter in your SQL: $(CurrentLanguage)

    So basically our query might end with:
    AND YourLanguageColumn = '$(CurrentLanguage)'

    This way it will only pull in results for the current language.

    Does this help?

    -Chad
    felixhelixUser is Offline
    going with the flow
    going with the flow
    Posts:34
    Avatar

    --
    07-24-2007 11:01 PM

    Great! Yes, that will do.
    Thanks,
    Felix

    felixhelixUser is Offline
    going with the flow
    going with the flow
    Posts:34
    Avatar

    --
    07-26-2007 01:19 AM

    One more question:

    I set up a query as you said, using the host list feature:

    SELECT Value AS QuestionOption, Value AS QuestionOptionValue FROM Lists WHERE ListName = 'Anrede' AND Text = '$(CurrentLanguage)'

    In the Text Column I added de-DE and en-US - for our current languages. But I get no result? Maybe I'm using the wrong language Values as returned from $(CurrentLanguages)? What re possible Values?

    Thanks,
    Felix

    SickKidsUser is Offline
    new to the springs
    new to the springs
    Posts:3
    Avatar

    --
    06-08-2010 02:35 PM

    I took the suggestion of creating a list within DNN.

    My simple SQL query:

    select Text as QuestionOption, Text as QuestionOptionValue from Lists where ListName= 'Province'  and Value = '$(CurrentLanguage)'

    Please note: Running the "test SQL" won't work with Tokens while in the admin page.  To test, open up another browser and view your registration page as a new user and then the token(s) will be replaced with the user's current language settings.

     

    SickKidsUser is Offline
    new to the springs
    new to the springs
    Posts:3
    Avatar

    --
    07-07-2010 12:01 PM
    The following SQL will allow the data to not only show up localized for the users but it will also display the entire list of values when trying to create completion events:

    select Text as QuestionOption, Text as QuestionOptionValue from Lists where ListName= 'skcProvince' and ( CHARINDEX('CurrentLanguage','$(CurrentLanguage)') >= 1 OR (CHARINDEX('CurrentLanguage','$(CurrentLanguage)') = 0 AND Value = '$(CurrentLanguage)') )

    basically the $(CurrentLanguage) token isn't populated in the admin side so this allows the sql to run and pull back both the english and french 

    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    07-08-2010 11:44 AM
    Hello SickKids,

    Thank you for your contribution of knowledge, we greatly appreciate your motivation to help us by providing answers in our forums. This helps us out a great deal.

    Thanks,

    Ryan
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi