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...Language and In...Language and In...Copy-Page button available only in default language: why?Copy-Page button available only in default language: why?
Previous
 
Next
New Post
1/27/2012 8:48 AM
 

Hello,
I found a strange behaviour of Ribbonbar control panel: it only shows the "copy page" button when you're using portal default language, with any other language it is hidden.

This is due to this line of code from admin\controlpanel\RibbonBar.ascx.cs:

copyPageButton.Visible = LocaleController.Instance.IsDefaultLanguage(LocaleController.Instance.GetCurrentLocale(PortalSettings.PortalId).Code);

My question is: what's the reason for this? What could be the risk of enabling such function with other languages?

Regards,
al.

 
New Post
1/27/2012 9:03 AM
 
only if copying the page in default language, other languages will be affected as well - i.e you would get a new page in current language only. According to the master language concept, only editors for the master language are allowed to create pages, translators shouldn't.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/27/2012 10:40 AM
 
Sebastian Leupold wrote:
only if copying the page in default language, other languages will be affected as well - i.e you would get a new page in current language only. According to the master language concept, only editors for the master language are allowed to create pages, translators shouldn't.

 Sebastian,
thanks for your answer. The "master language" concept is not entirely clear to me: I understand DNN's default language (master language?) affects what you can and cannot do (e.g. copy page), but miss something. If I go to Admin > Languages and click to Edit culture (first edit button, before the three for static resources) I see:

  • I can set translators permissions for NON-default language
  • I cannot set any permission for the default language (can only set fallback language)

Why aren't we allowed to set permissions for the default language too?
I must say all of my localized sites use ML modules and a single navigation tree, that is I never used DNN's built-in localization capabilities (which force you to have different navigation paths for each language), so maybe my approach is different. 

Also, if I'm not missing something, I know any tab has a default language (culture) associated to it into the db, but this is not shown on page settings - is this used only when content localization is enabled?

Thank you,
al.


 
New Post
1/27/2012 11:03 AM
 
sorry, I was of the impression, you are using core localization. if you are using a 3rd party solution for multiligual sites, I suggest using free AdvancedControlPanel from www.oliverhine.com

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/27/2012 11:30 AM
 
Sebastian Leupold wrote:
sorry, I was of the impression, you are using core localization. if you are using a 3rd party solution for multiligual sites, I suggest using free AdvancedControlPanel from www.oliverhine.com

 Yep I normally use EALO as localization engine, working pretty well.

Thanks for the suggestion: I installed this control panel and am asking customer to try it, even if I don't think it really solves his problem. With this new control panel the "duplicate page" button is actually enabled for any language, but if you use it while not under the default language you'll have limited capability to duplicate the page - no modules are shown under the "Copy Page" tab.

I wonder if this core behaviour could be adapted: if core localization is disabled I'd want full control, but I have not even if I'm a host user.

Another doubt I have is about the way copying modules from other pages is allowed: I always can choose to make a New module or to keep a Reference to the original one, but the Copy option is always disabled. Well actually not always: I saw it enabled somethimes, but was not able to understand why and when it is enabled. Does this depend on the module type?

Regards,

al.



 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Copy-Page button available only in default language: why?Copy-Page button available only in default language: why?


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.