Register   Login
     
  Latest Posts  
RE: News Articles Tokens
by spirit on 3/21/2010 10:27 PM
RE: News Articles Tokens
by ray-isc on 3/21/2010 3:04 PM
RE: Can'd add photo
by rsobari on 3/21/2010 10:17 AM
Tracking image/file clicks
by spirit on 3/21/2010 8:46 AM
Catcha doesnt seem to work
by chaloum on 3/20/2010 8:16 PM
RE: Recently created articles are not shown in list
by atriage on 3/20/2010 10:15 AM
RE: Recently created articles are not shown in list
by spirit on 3/20/2010 10:08 AM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
  Forums  
Subject: Confusing url language parameters from different views
Prev Next
You are not authorized to post a reply.

Author Messages
odoveUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:210

6/18/2008 10:14 PM  

I understand NA is not multilingual based at this moment. But I think it should be able to at least have language parameter showing on the url for a site using multiple languages.  Just like Property Agent, it shows the language parameters correctly, no matter it's the listing view or the detail view.

 

But with news articles, it's quite confusing. Not only it generated a lot of duplicated pages but also people get lost when navigating the site ( they can not stay in one locale). Here are what I've found so far.

 

Have language parameter on the url ? - Always YES:
/Cate1/Cate12/tabid/xxx/articleType/ArchiveView/month/11/year/2007/language/en-US/default.aspx ( Date View )


Have language parameter on the url ? - Sometimes YES, sometimes NO:

/Cate1/Cate12/tabid/xxx/articleType/AuthorView/AuthorID/x/language/en-US/default.aspx    (Author View)
/Cate1/Cate12/tabid/xxx/articleType/AuthorView/AuthorID/x/Default.aspx                               (Author View)


Have language parameter on the url ? - Always NO:
/tabid/xxx/articleType/CategoryView/categoryId/xxx/Ha-Ha.aspx                                         (Category View)
/Cate1/Cate12/tabid/xxx/articleType/ArticleView/articleId/xxx/Ha-Ha.aspx                           (Article View)

 

I really hope the url thing can be more consistent.

 

 

 

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


6/18/2008 10:17 PM  
It should use the NavigateUrl method which would append the language parameter. I'll check the URLs you have mentioned.

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


7/01/2008 7:01 AM  
I've checked the code, it does use the core methods for constructing URLs, it should be that code that adds the language parameter. Not sure if there is anything I can do.

Can you tell me in which section are the urls displaying incorrectly?

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1283


7/26/2008 12:24 PM  

I can not agree more...

I have big problems with this. I have a multi-lingual portal, and I explain here how I set up it: Multi-lingual portal

With Ventrian News Article, language is not inserted in the article URL. This cause VERY BIG problems, because when you are currently viewing a FRENCH page, and you receive an email notification with a link to the article (for commenting an ENGLISH article), you click on the hyperlink, and you are redirected on the FRENCH home page (and not the english article...). WHY ? Just because you are not in the correct locale.... That's why News Article URL should include the language parameter (standard DNN procedure). But for sure, News Article URL does *NOT* include language parameter in it.

It would be a great enhancement, for sure. This is one of the missing feature we are currently discussing. Since I made my "multi-lingual portal webpage" to explain how I set up a multi lingual portal, I have many people contacting me, to know which problem I face, and how I solve them... This one is a problem that I can not solve alone....

Scott, any idea ?

DV FX


Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


7/27/2008 5:22 PM  

Both the category links are calling the core method (navigateUrl):-

I'll have to do some more investigation.


Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1283


7/31/2008 12:28 AM  
Ok, thanks for keeping us informed, this is problematic for multilingual portal.

DV FX

Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


7/31/2008 1:28 AM  
So how do I make the language parameter appear in the url? I have a portal with 3 languages installed.

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1283


8/05/2008 3:30 AM  
HOST / Languages and tick the box "Enable Language parameters in URLs"

DV FX

Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


8/05/2008 3:33 AM  
Thanks - I'll check it out

Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


8/06/2008 9:56 PM  

Thanks DV, I've found the issue, I'm calling the provider directly while the core has recently added this setting which does:-

I'll put this in the article link function.


Scott McCulloch
Site Administrator
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


8/07/2008 9:06 AM  
Can you try the latest release?

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1283


8/08/2008 11:24 PM  

I tried it. 00.06.17
Nothing is changed to my point of view. Check my website and URLs, they are still the same. Do I have to change something somewhere ?

DV FX


Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


8/09/2008 6:06 AM  
Yes, can you go into host -> host settings and re-check the enable language parameter in url option.

I have to manually check the flag in code because I'm using an earlier version in DNN and need to read from a file.

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1283


8/11/2008 8:44 AM  

OK, now it works ! In fact, the problem was somewhere else ! In some cases, when I update your module, I noticed that new functionnality are not working, or like if it was not working (cache like...) Even after re-starting the application it does not work...

So, I have to go into each MAIN MODULE, and to update them (I open the main options, and I press Update - without making any change). And then it works.

This is what happened here, now it is working great !!! But, for an unknown reason, Google is now trying to indexing my webpages as follows: domain.com /language/language/Home/articleType/ArticleView/articleId/480/Easy-install-of-Studio-12/fr-FR.aspx
Very strange.....
Instead of domain.com /language/fr-FR/Home/articleType/ArticleView/articleId/480/Easy-install-of-Studio-12.aspx

Do you have any idea ???? iFinity (Bruce Chapman might have an idea as well ??? I am using URL Master)
DV FX

 

PS: Complete error log, in case someone else have the problem:

 

AssemblyVersion: 04.08.04
PortalID: 0
PortalName: My Web
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Main
RawURL: /language/language/Home/articleType/ArticleView/articleId/480/Easy-install-of-Studio-12/fr-FR.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: GoogleBot
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5f2518ba-32ea-41b0-904b-f33dcf7667c1
InnerException: Error Detecting locale: Info= Step 1
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Globalization.CultureTableRecord..ctor
StackTrace:
Message: System.Exception: Error Detecting locale: Info= Step 1 ---> System.ArgumentException: Culture name 'language' is not supported. Parameter name: nameat System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride)at System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride)at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)at Delisoft.DNN.PageBases.MyLocale.d(TabLocalization_OptionsInfo A_0, LocaleCollection A_1)at Delisoft.DNN.PageBases.MyLocale.d()--- End of inner exception stack trace ---
Source:
Server Name: MyServer


Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1283


8/11/2008 9:19 AM  
I've got it !!!!!!!!!
Arghhhhh, it creates a side-effect (or a bug ??) if you have an installation with multiple language....
Go to an article (with the new URL), and put your mouse on the Flag.... Look the URL which is passed.....
SIC !!! The problem (error in event log) is coming from here !....

Any solution/idea to avoid thousands of error log in my event log viewer ?....

DV FX

Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


8/11/2008 3:23 PM  
Please be more specific and post the actual URLs.

Do normal article URLs appear with the double language parameter? Can you turn iFinity OFF and see if it still occurs? I would say it might be a problem with that module.

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1283


8/12/2008 1:11 AM  

Hello Scott,

You are right, the problem is coming from iFinity URL Master... Sic...
I will contact Bruce Chapman to see whether he can do something.

Otherwise, concerning the language parameters in the URL, it creates an additionnal problem, now Google webmaster tool is reporting plenty of duplicate (we have old URL working, as well as the new one...)
Can you do something ????

DV


Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1283


9/28/2008 11:00 AM  
UP (concerning duplicate of URL, with language parameter, and without to avoid duplicata).

DV

Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


9/28/2008 3:29 PM  
Wouldn't the 301 redirect should resolve this?

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1283


9/30/2008 7:01 AM  
Yes it should solve it. But currently, when checking I see that it is a 302 FOUND and not a 301 redirect which has be done (if we are talking about the same thing --> If I remove the language parameter in the URL, it does a 302 found and not a 301 redirect)

DV FX

Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
You are not authorized to post a reply.
Forums > Modules > News Articles > Confusing url language parameters from different views



ActiveForums 3.7