| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
DIFFERENT page per skin? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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:
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 |
|||||||
#2
|
|||||||
|
|||||||
Re: DIFFERENT page per skin?
In case I am searching for this in the future...
Should I be editing /skin/common_files/customer/home_main.tpl ? I think so... but I need to figure out the logic. I REALLY WANT to include a 301 redirect in htaccess to force all stray links for /help.php?section=contactus to 301 to /contact_us.html, EXCEPT if the customer is viewing the mobile skin (if using a smartphone), the page load needs to be /help.php?section=contactus But the htaccess 301 will trump anything we do in home_main.tpl Hmmm.... THE LOGIC needs to be: 1. IF mobile skin, the contact_us page must be default, /help.php?section=contactus 2. IF NOT mobile skin, the contact_us page is simply /contact_us.html Any suggestions now? Thanks! J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|