Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: moble site architecture

$
0
0

Steve,

 

I already have 2 login pages as you suggest.  The specific issue I have now is the fact that when a user tries to log into the desktop site with a mobile device and is NOT logged in, it goes through the logic to see if they are logged in and if not, the mobile login page gets included(because I am detecting the user on a mobile device).  The problem is the fact that the logo is not displayed correctly because the mobile/login.cfm page is being included from the webroot/application directory rather than webroot/application/mobile directory.  The mobile/login.cfm has path to images "../images/pic.png" and if it had this path: "images/pic.png" it would work fine.  I cannot change the path, however, because if the user times out in the mobile directory, for example,  "images/pic.png" would not work, but  "../images/pic.png" would.  I am not big on putting conditional logice everywhere to fix this.  I am sure I am missing something very easy.  Thanks for your help.


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>