Log in | Register | Lost password

Bottom
Assigning Pagesetter values to PHP variables
  • Posted: 04.02.2009, 17:45
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi,

    Suppose I have a Pagesetter Publication type with a field called title and then create an instance of that Publication type. On the TEMPLATE-full.html page I can access the value of title using

    Code

    <!--[$title]-->
    . However, suppose I want to assign that value to a variable for use within PHP. For example:

    Code

    <!--[php]-->



    echo "Value of title= " . $title. "<br />";



    <!--[/php]-->


    does not work.

    Can anyone help me?

    Thanks

    Robbie

Template courtesy of Designs By Darren.