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...Skins, Themes, ...Skins, Themes, ...Mobile SkinObject - LinkToFullSiteMobile SkinObject - LinkToFullSite
Previous
 
Next
New Post
4/29/2012 9:41 PM
 

I checked the source code for this skin object -

        /// <summary>         /// Get Url for the equivalent full site based on the current page of the mobile site         /// </summary>         /// <returns>string - Empty if redirection rules are not defined or no match found</returns>         public string GetFullSiteUrl()         {             var portalSettings = PortalController.GetCurrentPortalSettings();             if (portalSettings != null && portalSettings.ActiveTab != null)             {                 string fullSiteUrl = GetFullSiteUrl(portalSettings.PortalId, portalSettings.ActiveTab.TabID);                 if (!string.IsNullOrEmpty(fullSiteUrl) && string.Compare(fullSiteUrl, portalSettings.ActiveTab.FullUrl, true, CultureInfo.InvariantCulture) != 0)                 {                                         return fullSiteUrl;                 }             }             return string.Empty;          }

This sounds wrong to me - the Active Tab is my mobile page and I have no rules set up for it, so I think it will always return empty.I have a single rule on my normal home page (NOT the active tab) which redirects mobile requests to this mobile page. 

Do I have to set up a rule on the page where the LinkToFullSite is shown in order for this to work?


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
6/21/2012 1:25 PM
 
Rodney, did you solve this issue?
 
New Post
9/11/2012 8:11 PM
 
No, I have not been able to solve it... I noticed someone had a similar issue here: http://www.dotnetnuke.com/Resources/F...

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Mobile SkinObject - LinkToFullSiteMobile SkinObject - LinkToFullSite


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