Register | Login
Friday, February 10, 2012
  Search
 Discussion Forums at Locopon's Minimize
 
Forum / ForosForum / ForosModules/ModulosModules/ModulosDSLocalizatorDSLocalizatorAdding DSLocaleSelector to an ASPX (Links instead of DropDownList)Adding DSLocaleSelector to an ASPX (Links instead of DropDownList)
Previous Previous
 
Next Next
New Post
 8/28/2007 1:56 PM
 

Hi!

First I would like to congratulate your great job on these modules, Thanks!!

I am using DNN 4.5.3.

I installed your 2 modules: DSLocalizator and MMLinks. Everything works perfectly until I try to use the Links instead of the DropDownList.

I am working in ASPX and this is the header of the page:

<%

Register TagPrefix="dnn" TagName="DSLOCALESELECTOR" Src="~/DesktopModules/Delisoft.DSLocalizator/DSLocaleSelector.ascx" %>

and this is the object in the middle of the page:

<dnn:DSLOCALESELECTOR runat="server" ID="dslLanguage" LinkShowSelected="True" LinkSelectedCssClass="links_lingua" LinkSelectedTemplate="[LocaleNativeName]" LinkCssClass="links_lingua" DisplayControl="Links" LinksSeparator="&nbsp;|&nbsp;" LinkTemplate="<a href=[URL] class=[CssClass] title=[ChangeLocaleText]>[LocaleLanguageName]</a>" />@ Register TagPrefix="dnn" TagName="DSLOCALESELECTOR" Src="~/DesktopModules/Delisoft.DSLocalizator/DSLocaleSelector.ascx" />

I have 2 languages installed. en-US and pt-PT. I can see the other language link but when I click it the URL of the browser changes but the page (language) remains the same.

As you can see in my options I have LinkShowSelected=true but it doesn't showup the selected language. And the tooltip of the link only says "Click".

I expected to find your control at ~/Admin/skins/DsLocalizator/DsLocalSelector.aspx, but as you can see in the "<%@register " I only found it at DesktopModules directory, is this the problem?

Can anybody please help me with this issue?

MS

New Post
 8/28/2007 9:53 PM
 

Maybe it is only the post but your link template seems to be bad. There are no quotes around each property for your HTML. please confirm.

Also, I see a <%register directive after the controls. Please confirm that it is only a mistake. That directive must not be there.

A question: Is the HACK enabled for DSLocalizator?

New Post
 9/3/2007 6:56 AM
 

Hi!

Thanks for your reply.

1- I think the link template isn't bad because all code that is inside LinkTemplate is between quotes, so each property of <a can't be between quotes too.

2-Yes, the register after the control was only a mistake posting that message

3-Yes, everyting works fine using the dropdownlist.

Any help?

 

MS

New Post
 9/19/2007 6:49 AM
 

Found the problem.

Just go to the DSLocalizator - General Options. And in the Local Detection Order: put the Query String Parameter above the User Cookie.

Previous Previous
 
Next Next
Forum / ForosForum / ForosModules/ModulosModules/ModulosDSLocalizatorDSLocalizatorAdding DSLocaleSelector to an ASPX (Links instead of DropDownList)Adding DSLocaleSelector to an ASPX (Links instead of DropDownList)