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 ...Edit Skin on Profile PageEdit Skin on Profile Page
Previous
 
Next
New Post
2/26/2014 12:40 PM
 

Hello,

I am likely missing something here... But I'm setting up a bootstrap template, and so I need a different one for "three column" vs "one column" pages. Given that, I've set an "Edit Skin" in the site settings to be the "one column" skin. This mostly works fine, but, I've noticed that on the "Edit Profile" page, it seems to always use the site skin - my "three column" one. This happens despite the "ctr/" parameter in the URL.

Any ideas? Is there a way I can get my one column skin to be used when somebody edits their profile.

Thanks,

Mike

 
New Post
3/8/2014 12:21 PM
 
Just following up on this - anybody have any idea what might be happening here? Isn't the "Edit" skin supposed to show when the ctr parameter is in the URL? Is this a bug? I'm just not sure how it's supposed to work so I don't know if I should submit a ticket.

Thanks,

Mike
 
New Post
3/8/2014 1:05 PM
 
AFAIR the edit skin should show when ctrl and edit is in the url, not when other controlkeys are used.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/8/2014 8:29 PM
 
Looking at the 7.2.1 source - the test is currently -
_IsAdminSkin = (!String.IsNullOrEmpty(ControlKey) && ControlKey != "view" && ModuleID != -1)

So the check is ctr (controkey) not equal to 'view' and a mid (ModuleID) not equal to -1

As such both mid and ctr need to be set.

Westa
 
New Post
3/11/2014 6:42 PM
 
Wes: You're right - it's the module ID. But, since the edit profile module is full width, it would make sense to use the edit skin right? Obviously I can make a direct link to the edit profile page for people, but I can't find a way to only show such a custom link to the logged in user when they're looking at their profile.

Does anybody know a way around that problem? I could solve it either by being able to make a link that only shows when the [querystring userid] = [logged in userid] or if there were some way I could customize that view.

Thanks,

Mike
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Edit Skin on Profile PageEdit Skin on Profile Page


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out