[Pro] Intergrating PHP scripts into Freeway Pro 5 site

What actions (or anything) else should I be using to intergrate a PHP application into a Freeway Pro site. Example being, I would like to add a guestbook application onto a specific page in the site. I have the PHP script and want to insert this so it runs in the page (it all sits on the same server).

Is it something like PHP insert page or PHP markup?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

PHP Make Insert Page is used for one purpose only. You apply it to a
page to turn that page into a fragment that you can insert into
another page. What it does is strip off the HEAD and BODY tags so that
the page would be a single fragment containing what was in the
PageDiv, and then it renames the PageDiv so you don’t have any ID
clashes. (If you were to skip this step, you would end up with a
bicephalous page (two heads – love that word) which would look awful
and probably blow up the more sensitive browsers. It would certainly
be unclear how it was to look or work to any browser. So for a
practical example, you have an outer template page that is the same on
every page of your site, and then you have (perhaps) a section header
that you want to have appear on some pages. You would turn that
section header into an Insert Page, and that would make it legal for
you to insert it into your outer page template.

PHP Make Markup Page is used when you want to have one page in your
Freeway document where you stash bits of code, and nothing else. It
deletes the entire visible body of the page entirely, and leaves only
the stuff you have added through the Before HTML section of Page HTML
Markup. Use this Action to create a library of code that you add to
other pages.

PHP Include PHP Page allows you to add a page you have converted to a
code library using PMMP (above) into another page in your document.

PHP Markup Page allows you to add PHP code to your page, sort of like
using the Page / HTML Markup dialog and selecting the Before HTML
option.

PHP Use Include Pages allows you to insert a separate script, either
one you’ve downloaded or one you’ve written yourself, into the current
page. It will add the file(s) that you identify in the Actions
palette, in the order you specify them. Like any other file tracked by
Freeway, changes in the original are immediately noticed at each
publish, and the latest version is uploaded into your server.

You can read about these and more here:

http://www.actionsforge.com/projects/view/84-php-actions

Walter

On Jul 29, 2009, at 2:45 PM, Phil Greenaway wrote:

What actions (or anything) else should I be using to intergrate a
PHP application into a Freeway Pro site. Example being, I would
like to add a guestbook application onto a specific page in the
site. I have the PHP script and want to insert this so it runs in
the page (it all sits on the same server).

Is it something like PHP insert page or PHP markup?


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