Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 6.2.3DNN 6.2.3
Previous
 
Next
New Post
2/28/2013 6:20 AM
 
DNN 6.2.3  Modified By M Bouwman  on 2/28/2013 6:26:32 AM

Hi, I'm using objPortalController.GetPortals() but it is not giving me back all the portals.
I've got a feeling this has to do with the culturecode.

When I directly call the GetPortals SP, it gives everything back.
So perhaps between the GetPortals SP and the GetPortals method in the code, it get's filtered. I don't really see any reason why....

How can I solve this

 
New Post
3/3/2013 5:56 PM
 
a while back (around 5.5.0 AFAIR) we introduced culture specific portal values - as such we added the portallocalization table and allowed various portal values to be culture specific (e.g. you can have different home pages for each culture etc.). The API methods were updated to inject the users current culture - i suspect this is what you're seeing . All of this is behaviour by design though so if you're looking to return a list of all portals including one portal for each culture you'll have to call the sproc directly AFAIK

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/4/2013 4:58 AM
 
Yes, well I noticed that some records where missing in the PortalLocalization table and in the PortalLanguages table. So I added them, and it worked.

However, this is an installation with about 70 sub-portals, and for most of them, the records seem to be there.

So the REAL question is, why where the records missing in the first place.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 6.2.3DNN 6.2.3


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out