View Single Post
  #1  
Old 06-18-2014, 04:13 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default DIFFERENT page per skin?

I am using a dedicated mobile skin (xMobile) for smartphones.
For the most part, simply editing each skin's css is sufficient to strip css formatting or solve layout issues. This has been just fine, until today.

I am testing a new customer support/help desk SaaS and I think I found one I really like -- more on that later -- and this helpdesk software has a brilliant embedded form that also has integrated K-base and suggestive search results, based on what the customer is typing in the message field. Freaking brilliant.

But.

The embedded widget is simply not compatible with smart phones at this time.

SO -- the only solution is to not use it for now for mobile only.

I KNOW that I can trap for a skin on the page:

Code:
{if $alt_skin_info.name eq "mobileskin-name"} mobileskin content {else} primaryskin content {/if}

HOWEVER -- I need to load an entirely DIFFERENT php page for this situation.

for mobile skin:
/help.php?section=contactus

for everything else:
static embedded page

Any thoughts how to trap for this?

Thanks,
J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote