Adding php to Freeway 6 Page titles?

Is there a way (or any action) to add php to a Freeway 6 Inspector > Page Title so it retains the Page Name in Freeway (so you can track it) but publishes the php code in the uploaded page?

  <?php perch_content('Page Title'); ?>

The alternative is to have the above on every page in the Freeway document.

David Owen


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

There is the ‘PHP Dynamic page titles’ action, take a look at that as it should suit your needs.

HTH

On Dec 5, 2013, at 1:42 PM, David Owen wrote:

Is there a way (or any action) to add php to a Freeway 6 Inspector > Page Title so it retains the Page Name in Freeway (so you can track it) but publishes the php code in the uploaded page?

 <?php perch_content('Page Title'); ?>

The alternative is to have the above on every page in the Freeway document.

David Owen

http://www.printlineadvertising.co.uk


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

Thanks Mike,

Problem is the action outputs…

<title><?php echo "$perch_content('Page Title')"; ?></title>

Rather than…

<?php perch_content('Page Title'); ?>

David Owen

On 5 Dec 2013, at 12:48, Mike B email@hidden wrote:

There is the ‘PHP Dynamic page titles’ action, take a look at that as it should suit your needs.

HTH

On Dec 5, 2013, at 1:42 PM, David Owen wrote:

Is there a way (or any action) to add php to a Freeway 6 Inspector > Page Title so it retains the Page Name in Freeway (so you can track it) but publishes the php code in the uploaded page?

<?php perch_content('Page Title'); ?>

The alternative is to have the above on every page in the Freeway document.

David Owen

http://www.printlineadvertising.co.uk


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


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

Using the text ‘pageTitle’ in the action and the following code after perch should do the trick.

<?php
$pageTitle = perch_content('Page Title');
?>

HTH

On Dec 5, 2013, at 2:11 PM, David Owen wrote:

Thanks Mike,

Problem is the action outputs…

<?php echo "$perch_content('Page Title')"; ?>

Rather than…

<?php perch_content('Page Title'); ?>

David Owen

http://www.printlineadvertising.co.uk

On 5 Dec 2013, at 12:48, Mike B email@hidden wrote:

There is the ‘PHP Dynamic page titles’ action, take a look at that as it should suit your needs.

HTH

On Dec 5, 2013, at 1:42 PM, David Owen wrote:

Is there a way (or any action) to add php to a Freeway 6 Inspector > Page Title so it retains the Page Name in Freeway (so you can track it) but publishes the php code in the uploaded page?

<?php perch_content('Page Title'); ?>

The alternative is to have the above on every page in the Freeway document.

David Owen

http://www.printlineadvertising.co.uk


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


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