|
Post by Frank on May 18, 2015 20:49:51 GMT
Are you having fun yet? Now that you have it working should start to make sense. You were stuck between the Grahams script (which works perfectly by the way)and the Antenna redirect... in basic no-mans land.
Still think it would make it easier to navigate if you adapted some version of the link I sent via Antenna Messages. The site is not intuitively obvious to navigate.
Food for thought. Cheers, Frank
|
|
|
Post by chuckh on May 20, 2015 16:16:43 GMT
Frank, Yes! I am enjoying this challenge of web designing. I totally redesigned the mobile site again, but I have a problem with the order page "send" button. When I click send it sends me to the desktop order page. I think I know how to fix it though. Let me know if I get this right. I think I would have to duplicate the "freeform.php" file located in the "Core" folder and rename it "m.freeform0.php",and move it into the "js" folder, and in the freeform settings change the "success page" from "/order.htm" to "m.order0.htm" the "error page" the same way. I did not want to try this without making sure if it was the right thing to do first.
|
|
|
Post by Frank on May 20, 2015 21:54:44 GMT
All you need to do is duplicate and rename it to anything else and leave it there is ok. Does not need to go in some other folder leave it in the core (its safe there) freeform.php duplicate and call it m.freeform.php or freeform1.php. then set the parameters as per your comments. Frank
|
|
|
Post by Graham on May 20, 2015 21:59:17 GMT
Hi Chuckh With freeform you don't need to do a thing. On your mobile site just point the submit button to freeform and it's fine. By duplicating a php script it you may cause issues
Graham
Sent from my SM-N9005 using proboards
|
|
|
Post by Frank on May 20, 2015 22:29:14 GMT
Graham's got a point. If the information or order is going to the same end place (which it probably is) its in the original freeform.php (recipeint1) you simply need to change the instructions in the mobile "submit button", where to go upon successful execution of freeform. The freeform can stay as is. I was thinking two forms going two to different end recipients(One to sales team and another for orders) then two freeforms works no conflict what-so-ever as long as they have different names. Cheers, Frank
|
|
|
Post by chuckh on May 21, 2015 1:46:08 GMT
I have tried to use the "send" button on my cell phone without adding a duplicate "freeform.php" , it does send the order to the specified email I set up, but it sends me to the desktop version of the order page after, there has to be a work-a-round for this. Maybe I can use the same email in "recipient2" for the mobile and change the "send to" command to point there.
|
|
|
Post by chuckh on May 21, 2015 1:51:00 GMT
Well, that didn't work. Why is my mobile taking me to the desktop version after I place a test order?
|
|
|
Post by Graham on May 21, 2015 2:13:57 GMT
Have you placed the redirect on the success page to redirect to the mobile success page once the order is submitted Basic rules for redirect every page that is a desktop version you want to redirect to mobile must have the redirect code added
Graham
Sent from my SM-N9005 using proboards
|
|
|
Post by chuckh on May 21, 2015 3:31:53 GMT
I placed a "redirect" on the "order.htm" page which is the "success page" and chose the same "success page" for the button in the "m.order0.htm" page, but when I tried it on my phone it gave me a "404 error" should the "success page " be something different than the page I put the "redirect" on?
|
|
|
Post by Graham on May 21, 2015 4:21:17 GMT
do yo have a success page for the mobile site?
If you click your submit button on your mobile page you can change the success there to the mobile one instead of using a redirect. If that fails all you need to do is on the normal desktop success page put a redirect ointing to the mobile success page.
If all else fails can you send me your ata file so I can check what you have done
Graham
Sent from my SM-N9005 using proboards
|
|
|
Post by Frank on May 21, 2015 10:34:21 GMT
The mobile should have its own mobile success page. The desktop success page has nothing to do with the mobile success page so doesn't need a redirect in my book. You indicate on the mobile order "submit" to open up in the mobile success page upon completion.
Frank
|
|
|
Post by Graham on May 21, 2015 10:57:43 GMT
|
|
|
Post by chuckh on May 21, 2015 15:42:57 GMT
Graham, I sent you an email with my ATA file.
|
|
|
Post by chuckh on May 21, 2015 17:39:43 GMT
I have tried many different settings, now I get a "404 error" all the time after I click "submit". Now I know I'm missing something. Help me.....I'm sinking....oh, what a world, what a world, what a world.
|
|
|
Post by Graham on May 21, 2015 22:10:43 GMT
Hi Chuckh
I got your email but no attachment
Graham
Sent from my SM-N9005 using proboards
|
|