Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Changing from page1 to page2


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Jan 22, 2017 2:52 AM Last Post By: Peter Sutter Threads: [ Previous | Next ]
Peter Sutter

Posts: 8
Registered: 1/27/05
Changing from page1 to page2  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 21, 2017 9:57 AM
I have a page2 which works fine stand alone but not when called from page1.

I have tried these 3 ways of changing from page1 to page2:

print "<meta http-equiv=\"refresh\" content=\"0;URL=xz7yv34.php\" />";
echo '<script language="javascript" type="text/javascript"> document.location="xz7yv34.php" </script>';
header("Location: xz7yv34.php");

The result is always the same, the labels and buttons are not in the right order but somewhere else.

I'd like to add a screenshot but it seems not to be an option here.

Many thanks for your hints!
Peter Sutter

Posts: 8
Registered: 1/27/05
Re: Changing from page1 to page2  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 22, 2017 2:52 AM   in response to: Peter Sutter in response to: Peter Sutter
I found the problem: Page 2 was not properly added as a new mobile page but simply copied from another mobile app and added to the project. Doing everything again from scratch solved the problem. How to add a new mobile page is a bit tricky because you cannot do it from within your project. You have to leave the project, go to the start page and find "add page".


Peter Sutter wrote:
I have a page2 which works fine stand alone but not when called from page1.

I have tried these 3 ways of changing from page1 to page2:

print "<meta http-equiv=\"refresh\" content=\"0;URL=xz7yv34.php\" />";
echo '<script language="javascript" type="text/javascript"> document.location="xz7yv34.php" </script>';
header("Location: xz7yv34.php");

The result is always the same, the labels and buttons are not in the right order but somewhere else.

I'd like to add a screenshot but it seems not to be an option here.

Many thanks for your hints!
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02