Not sure if this is possible, we have two companies and i want to send a link via email to promote new designs, but i only want to create the content once and the link will take them to the regional site and the inner frame show the same design.
I was hopping that the info after the ?page= would be loaded into the frame, and having read this topic, http://www.freewaytalk.net/thread/view/29208 I thought i could solve the problem
But being new to freeway i am having great problems to implement as not sure if it was in a frame set or iframe and can to see where the <?=scr$?> goes. Is this possible to achieve and is there a simple couple of pages to show the code in how it could be done so i can just get the basic layout working.
Here’s a very simple example. If you try it, you may understand the way that it works, and then the rest of that thread should make perfect sense.
Create a new Frameset with a top frame of fixed size and a bottom frame of indeterminate size (*).
Set the filename of the frameset to whatever.php.
In the Frames palette, select your bottom frame and change its source from the automatic page Freeway created to an external URL. In the external URL, paste in this code: <?php print rawurldecode($_GET['page')); ?>
When you upload this to your server, correct the URL I entered above to match the actual public address of your server and the name of the frameset page you actually used, you should see a frameset with a fixed-height banner over the top of the Apple iPhone site.
Not sure if this is possible, we have two companies and i want to send a link via email to promote new designs, but i only want to create the content once and the link will take them to the regional site and the inner frame show the same design.
I was hopping that the info after the ?page= would be loaded into the frame, and having read this topic, http://www.freewaytalk.net/thread/view/29208 I thought i could solve the problem
But being new to freeway i am having great problems to implement as not sure if it was in a frame set or iframe and can to see where the <?=scr$?> goes. Is this possible to achieve and is there a simple couple of pages to show the code in how it could be done so i can just get the basic layout working.
Many thanks for the quick reply Walter, But i am still having no luck i am sure it is me. I created a blank site and a new frameset renamed the frameset lon.php and added the code for the source to the bottom frame (external Other) http://tarratt-design.co.uk/lon.php?test.html
But it is not working and even more puzzling is if i right click to view the source it is blank my server says it is PHP namesco
Many thanks but i must be doing something very basic wrong
See what happens if you put a plain-text file in your server, named whatever.php containing just this one line of text:
<?php phpinfo(); ?>
Note that you must use a plain-text editor for this, Pages or Word will not do. TextWrangler, free from http://barebones.com is a good choice.
Use an FTP application to upload this file to your server, and then visit it in a browser. If you see a very tall page with lots of amusing details about your server, you can proceed to the next stage of troubleshooting. But if all you see is a blank white page, just as I do when I try to see your frameset, then you have larger issues to begin with. Either way, delete this file from your server as soon as you’re done looking at it. It will reveal technical details that an attacker could use, and Google has a long memory for posts such as this one.
Walter
On Feb 23, 2012, at 12:22 PM, wattie777 wrote:
Many thanks for the quick reply Walter, But i am still having no luck i am sure it is me. I created a blank site and a new frameset renamed the frameset lon.php and added the code for the source to the bottom frame (external Other) http://tarratt-design.co.uk/lon.php?test.html
But it is not working and even more puzzling is if i right click to view the source it is blank my server says it is PHP namesco
Many thanks but i must be doing something very basic wrong
Okay. Good. Now try adding the following to your Frameset page, using the Page / HTML Markup dialog. Be sure to put the code in the Before HTML section of that dialog. Publish and upload, and then see what you see:
The page is not loading because of an error, but your server is configured to hide errors (which is prudent in a production server) so you just don’t know what kind of mistake you (or I) made. This should tell you something.
Walter
On Feb 23, 2012, at 12:42 PM, wattie777 wrote:
Hi walter done that and it comes back with all the info php vision 5.2.9
Typo on my part with the close parenthesis in place of a close square bracket.
However, your example doesn’t show the error reporting code in the correct spot – did you put it in the Before HTML slot of the Page / HTML Markup dialog? It should appear before the DOCTYPE tag.
Okay, you have three instances of the show errors script in there now, so you can go back and delete all of them from the Page / HTML Markup dialog! Next, make the typo correction I suggested (change that inner close parenthesis to a close square bracket, and you should be all set.