<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="0.91">
    <channel>
        <title>PHP Dynamic Page Titles Action</title>
        <description>The 10 most recently added comments in the topic &quot;PHP Dynamic Page Titles Action&quot;</description>
        <link>http://freewaytalk.net/</link>
        <lastBuildDate>Mon, 10 Nov 2008 07:07:55 -500</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Re: PHP Dynamic Page Titles Action</title>
            <link>http://freewaytalk.net/thread/view/32440#m_32459</link>
            <description>&lt;p&gt;Why not set it to a variable in the Before HTML and set that variable
in the action.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;?php
$page_title = ' - This Is Another Page ' . $some_value;
?&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then set page_title into the action field.&lt;/p&gt;

&lt;p&gt;BTW, There is an a version of this action I updated so a variable can
be used with an existing title (before or after).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.easibase.com/freeway/freewayactions.php&quot;&gt;www.easibase.com/freeway/freewayactions.php&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Mike&lt;/p&gt;

&lt;p&gt;On May 7, 2008, at 4:48 PM, ineedwebhosting wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Is there an action for putting a short line of  PHP code into the
  Freeway page title but keeping the freeway pages named correctly?&lt;/p&gt;
  
  &lt;p&gt;The PHP Dynamic Page Titles Action nearly works but assumes your
  just putting in a single variable name, not the full code 
  &amp;lt;?...   ...?&amp;gt;&lt;/p&gt;
  
  &lt;p&gt;Is there anything?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr /&gt;

&lt;p&gt;actionsdev mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>Mike B</author>
            <pubDate>Wed, 07 May 2008 18:58:22 -500</pubDate>
        </item>
        <item>
            <title>Re: PHP Dynamic Page Titles Action</title>
            <link>http://freewaytalk.net/thread/view/32440#m_32450</link>
            <description>&lt;p&gt;Yes,  I can do it that way, marginally quicker to paste the code in
one action field, rather than split around the Freeway document,
(I&amp;#8217;ve got to call the variable first not just name it in the action) 
and as I&amp;#8217;ve got to re-visit this on a few documents and pages.&lt;/p&gt;

&lt;p&gt;But never looked into actions before&lt;/p&gt;

&lt;p&gt;Need to change this line&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    //  Create the string for the title tag
    var myString = '&amp;lt;?PHP print&quot;$' + fwParameters[ &quot;title&quot; ] + '&quot;; ?&amp;gt;';
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;so it just puts the field contents in the action&lt;/p&gt;

&lt;p&gt;But just typing this - I guess has concentrated my mind into knowing
what to do&amp;#8230;  as I can wrap the extra code I want, around the
variable i&amp;#8217;m using.&lt;/p&gt;

&lt;p&gt;And re-name the action for just the use I want.&lt;/p&gt;

&lt;p&gt;On 7 May 2008, at 17:10, Keith Martin wrote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Sometime around 7/5/08 (at 10:48 -0400) ineedwebhosting said:&lt;/p&gt;
  
  &lt;blockquote&gt;
    &lt;p&gt;The PHP Dynamic Page Titles Action nearly works but assumes your
    just putting in a single variable name, not the full code  &amp;lt;?...
    &gt;&gt; ...?&amp;gt;&lt;/p&gt;
  &lt;/blockquote&gt;
  
  &lt;p&gt;Off the top of my head - have you tried putting your PHP code into a
  variable, just as a workaround at least?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;David Owen
Freeway Friendly Web hosting and Domains  ::
(Test Drive a web hosting account for Free)
&lt;a href=&quot;http://www.ineedwebhosting.co.uk&quot;&gt;www.ineedwebhosting.co.uk&lt;/a&gt;
&lt;a href=&quot;http://www.printlineadvertising.co.uk/freeway&quot;&gt;www.printlineadvertising.co.uk/freeway&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;actionsdev mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>David Owen</author>
            <pubDate>Wed, 07 May 2008 16:53:17 -500</pubDate>
        </item>
        <item>
            <title>Re: PHP Dynamic Page Titles Action</title>
            <link>http://freewaytalk.net/thread/view/32440#m_32447</link>
            <description>&lt;p&gt;Sometime around 7/5/08 (at 10:48 -0400) ineedwebhosting said:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;The PHP Dynamic Page Titles Action nearly works but assumes your 
  just putting in a single variable name, not the full code  &amp;lt;?... 
  &gt;...?&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Off the top of my head - have you tried putting your PHP code into a 
variable, just as a workaround at least?&lt;/p&gt;

&lt;p&gt;k&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;actionsdev mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>thatkeith</author>
            <pubDate>Wed, 07 May 2008 16:10:28 -500</pubDate>
        </item>
        <item>
            <title>PHP Dynamic Page Titles Action</title>
            <link>http://freewaytalk.net/thread/view/32440</link>
            <description>&lt;p&gt;Is there an action for putting a short line of  PHP code into the Freeway page title but keeping the freeway pages named correctly?&lt;/p&gt;

&lt;p&gt;The PHP Dynamic Page Titles Action nearly works but assumes your just putting in a single variable name, not the full code  &amp;lt;?...   ...?&amp;gt;&lt;/p&gt;

&lt;p&gt;Is there anything?&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;actionsdev mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>David Owen</author>
            <pubDate>Wed, 07 May 2008 14:48:29 -500</pubDate>
        </item>
    </channel>
</rss>
