Page 2 of 3

Please help me, app rejected due to content not loading?

Posted: Mon Feb 25, 2013 11:59 pm
by Denise

Bascialy what seems to be happening is that it is loading the link that is set in mobilelink1_17, should i rather make this a label or text or some other element as the actual link is saying the page couldn't be found? Although when I take the javascript away it loads the correct link over the link in the element??


Please help me, app rejected due to content not loading?

Posted: Tue Feb 26, 2013 6:52 am
by Maryna Brodina

Hi, on page ChairInfo you have to delete next JS

codeif (navigator.app !== undefined) {
navigator.app.loadUrl(Tiggzi('mobilelink1_17').attr('href'), { openExternal:true } );
} else {
window.open(Tiggzi('mobilelink1_17').attr('href'), '_blank');
}
event.preventDefault();
return false;/code

from mapping link -- mobilelink1_17 (URL). There shouldn't be any JS

Image

Put that script on mobilelink1_17 Click event

Image


Please help me, app rejected due to content not loading?

Posted: Tue Feb 26, 2013 8:31 am
by Denise

OMG thanks you are wonderful that works great! Sorry to be so slow at working it out!


Please help me, app rejected due to content not loading?

Posted: Tue Feb 26, 2013 8:35 am
by Maryna Brodina

No worries, glad to help:)


Please help me, app rejected due to content not loading?

Posted: Tue Mar 05, 2013 12:42 am
by Denise

Hi there so this works great when testing on the browser but once I try it on the phone, what happens is that the page loads in the phone window and the browser, this is a problem as I have no way of getting back to my app menu if the website is loaded into the app itself! Please what am I missing?


Please help me, app rejected due to content not loading?

Posted: Tue Mar 05, 2013 11:30 am
by Kateryna Grynko

Hi Denise,

Please clarify. Do you want Header and Footer to be visible when external address is opened?


Please help me, app rejected due to content not loading?

Posted: Tue Mar 05, 2013 11:02 pm
by Denise

Ideally what I would like is for the link to open up into a browser and NOT in the app, but if it has to open in the app window then I need some way to get back to the home page so yes having the header and footer stay visible would be best.


Please help me, app rejected due to content not loading?

Posted: Wed Mar 06, 2013 6:55 am
by Kateryna Grynko

We will search for a solution. I'll update.


Please help me, app rejected due to content not loading?

Posted: Wed Mar 06, 2013 6:58 pm
by Maryna Brodina

Hi, it seems there is no way to show Header and Footer when external address is opened. You can use childBrowser.

Instead of

codeif (navigator.app !== undefined) {
navigator.app.loadUrl(Tiggzi('mobilelink1_17').attr('href'), { openExternal:true } );
} else {
window.open(Tiggzi('mobilelink1_17').attr('href'), '_blank');
}
event.preventDefault();
return false;/code

use codeif (window.plugins !== undefined) {
window.plugins.childBrowser.showWebPage(Tiggzi('mobilelink1_17').attr('href'), {showNavigationBar: false, showAddress: false, showLocationBar: false});
} else {
window.open(Tiggzi('mobilelink1_17').attr('href'), '_blank');
}
event.preventDefault();
return false;/code


Please help me, app rejected due to content not loading?

Posted: Wed Mar 13, 2013 5:10 am
by Denise

I have tried the above and have also tried looking for a solution : (
There must be some way to do this?? The link loads into the external window and into the app window, it really needs to just load into the browser window. Any other suggestions?