As they said, to use this, you would need to change the filename of your page from .html to .php. You can do this directly in Freeway. Navigate to the page where you wish to use this script, and in the Inspector, change the filename from whatever.html to whatever.php. Freeway will update any links to this page automatically, you won’t lose any links. What you will lose is any search engine traffic you may have built up to that page. If that’s a concern, let us know – there’s a simple fix using an .htaccess file in the same directory to update the search engines without losing any of that credibility.
Then, you would not just add the code to an ordinary HTML box – you must use a Markup Item (or an instance of the Crowbar Action) to add the code. An HTML box would convert any of the special characters needed for the PHP code to be evaluated by the server into their “safe” HTML-encoded versions. (An ampersand becomes &
, for example.) Some of the code might need to be added to the very top of the page, before any other code is written. For that, you would use the Page / HTML Markup dialog, switching to the Before HTML section before you paste.
Walter
On Nov 5, 2013, at 9:21 AM, Marcos Gonzalez wrote:
Dave, the kind folks at Jabbers checked my hosting web site and declared it ok for one of their scripts. But if I wanted to do the install, would I just create an html box and insert the script? I asked them that and this was the response:
"Please note that Vacation rental script uses php code for front-end integration. This means that you can insert it on php pages only. If you need to insert it on an html page this can be done only with iframe code pointing to an external php page on which you have inserted the front-end listing.
The php pages are the same as the html pages, they jsut need to be with extension .php. To convert an html page to a php page you just need to rename it (from pagename.html to pagename.php)."
Advise please. Thanks much! Marcos
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options