<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Migrating from the Beta FileMaker PHP API</title>
	<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/</link>
	<description>smart business solutions</description>
	<pubDate>Wed, 19 Nov 2008 23:50:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1310</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Wed, 24 Sep 2008 15:57:52 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1310</guid>
		<description>Antony:

I assume you're talking about web publishing here. If so, the PHP api has access to any field on the targeted layout that the user you're logging in as is allowed to see. So to make this work:

1: Make sure the php account name and password your using is set up in the external file, with a privilege set that allows access to the table(s) and field(s) you want to see.

2: Add the fields to the layout in your main database using a relationship.

3: Reference the fields in PHP using the fully qualified field name (Table Occurrence::Field).

I do this all the time and it works perfectly.

Geoff</description>
		<content:encoded><![CDATA[<p>Antony:</p>
<p>I assume you&#8217;re talking about web publishing here. If so, the PHP api has access to any field on the targeted layout that the user you&#8217;re logging in as is allowed to see. So to make this work:</p>
<p>1: Make sure the php account name and password your using is set up in the external file, with a privilege set that allows access to the table(s) and field(s) you want to see.</p>
<p>2: Add the fields to the layout in your main database using a relationship.</p>
<p>3: Reference the fields in PHP using the fully qualified field name (Table Occurrence::Field).</p>
<p>I do this all the time and it works perfectly.</p>
<p>Geoff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: antony</title>
		<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1306</link>
		<dc:creator>antony</dc:creator>
		<pubDate>Wed, 24 Sep 2008 13:04:51 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1306</guid>
		<description>how can i work with one layout which shows values from other database layout through external data source.

hope to hear,</description>
		<content:encoded><![CDATA[<p>how can i work with one layout which shows values from other database layout through external data source.</p>
<p>hope to hear,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew Wesley</title>
		<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1302</link>
		<dc:creator>Drew Wesley</dc:creator>
		<pubDate>Tue, 16 Sep 2008 19:22:36 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1302</guid>
		<description>When using advanced tags (   &lt;a href="" rel="nofollow"&gt; ), you'll also have to to wrap FileMaker's getFieldUnencoded( ) contents with PHP's html_entity_decode ( ) function.</description>
		<content:encoded><![CDATA[<p>When using advanced tags (   <a href="" rel="nofollow"> ), you&#8217;ll also have to to wrap FileMaker&#8217;s getFieldUnencoded( ) contents with PHP&#8217;s html_entity_decode ( ) function.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew Wesley</title>
		<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1300</link>
		<dc:creator>Drew Wesley</dc:creator>
		<pubDate>Mon, 15 Sep 2008 00:13:32 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1300</guid>
		<description>This was bugging me as I started working with FMS9, seeing the html tags echoed instead of being rendered.  SFR is genius!!!  Thanks for pointing out this 'gotcha'.</description>
		<content:encoded><![CDATA[<p>This was bugging me as I started working with FMS9, seeing the html tags echoed instead of being rendered.  SFR is genius!!!  Thanks for pointing out this &#8216;gotcha&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trupti</title>
		<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1243</link>
		<dc:creator>Trupti</dc:creator>
		<pubDate>Wed, 09 Jul 2008 10:24:33 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1243</guid>
		<description>I created one dynamic valuelist in filemaker database. In that valuelist, I selected option as “Also display values from second field”. I need to display that value list on web page using FileMaker PHP code. I do not want to use find all query.
My code is as follows
require_once("FileMaker.php");
$connection =&#38; new FileMaker($database ="Example");
$VLayout =  $connection -&#62;getLayout('TestLayout');
$vlist = $VLayout -&#62; getValueList($valueList = 'TestValuelist');
echo "";
echo "" . "Select" . "" ;
foreach ($vlist as $opt)
{
 echo "" . $opt . "" ;
}
echo "";
?&#62;</description>
		<content:encoded><![CDATA[<p>I created one dynamic valuelist in filemaker database. In that valuelist, I selected option as “Also display values from second field”. I need to display that value list on web page using FileMaker PHP code. I do not want to use find all query.<br />
My code is as follows<br />
require_once(&#8221;FileMaker.php&#8221;);<br />
$connection =&amp; new FileMaker($database =&#8221;Example&#8221;);<br />
$VLayout =  $connection -&gt;getLayout(&#8217;TestLayout&#8217;);<br />
$vlist = $VLayout -&gt; getValueList($valueList = &#8216;TestValuelist&#8217;);<br />
echo &#8220;&#8221;;<br />
echo &#8220;&#8221; . &#8220;Select&#8221; . &#8220;&#8221; ;<br />
foreach ($vlist as $opt)<br />
{<br />
 echo &#8220;&#8221; . $opt . &#8220;&#8221; ;<br />
}<br />
echo &#8220;&#8221;;<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trupti</title>
		<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1242</link>
		<dc:creator>Trupti</dc:creator>
		<pubDate>Wed, 09 Jul 2008 10:22:20 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-1242</guid>
		<description>I created one dynamic valuelist in filemaker database. In that valuelist, I selected option as "Also display values from second field". I need to display that value list on web page using FileMaker PHP code. I do not want to use find all query.
My code is as follows:
setProperty('username', 'web');
$connection-&#62;setProperty('password', 'web');
$VLayout =  $connection -&#62;getLayout('TestLayout');

$vlist = $VLayout -&#62; getValueList($valueList = 'TestValuelist');

echo "";
echo "" . "Select" . "" ;
foreach ($vlist as $opt)
{
	if ($opt == 'Test')
		echo "" . $opt . "" ;
	else
		echo "" . $opt . "" ;
}
echo "";
?&#62;</description>
		<content:encoded><![CDATA[<p>I created one dynamic valuelist in filemaker database. In that valuelist, I selected option as &#8220;Also display values from second field&#8221;. I need to display that value list on web page using FileMaker PHP code. I do not want to use find all query.<br />
My code is as follows:<br />
setProperty(&#8217;username&#8217;, &#8216;web&#8217;);<br />
$connection-&gt;setProperty(&#8217;password&#8217;, &#8216;web&#8217;);<br />
$VLayout =  $connection -&gt;getLayout(&#8217;TestLayout&#8217;);</p>
<p>$vlist = $VLayout -&gt; getValueList($valueList = &#8216;TestValuelist&#8217;);</p>
<p>echo &#8220;&#8221;;<br />
echo &#8220;&#8221; . &#8220;Select&#8221; . &#8220;&#8221; ;<br />
foreach ($vlist as $opt)<br />
{<br />
	if ($opt == &#8216;Test&#8217;)<br />
		echo &#8220;&#8221; . $opt . &#8220;&#8221; ;<br />
	else<br />
		echo &#8220;&#8221; . $opt . &#8220;&#8221; ;<br />
}<br />
echo &#8220;&#8221;;<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Alan Ledbetter</title>
		<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-953</link>
		<dc:creator>Thomas Alan Ledbetter</dc:creator>
		<pubDate>Fri, 01 Feb 2008 20:03:25 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-953</guid>
		<description>The calculated solution in filemaker is working for now for the images.  I little hard to change the design but it works.

I'm having trouble with the record list page and error


Fatal error: Call to undefined method RecordHighlighter::getFieldUnencoded() in D:\mlsmax.com\www\eMLS\recordlist.php on line 212

They will display on the detail page but not the list page</description>
		<content:encoded><![CDATA[<p>The calculated solution in filemaker is working for now for the images.  I little hard to change the design but it works.</p>
<p>I&#8217;m having trouble with the record list page and error</p>
<p>Fatal error: Call to undefined method RecordHighlighter::getFieldUnencoded() in D:\mlsmax.com\www\eMLS\recordlist.php on line 212</p>
<p>They will display on the detail page but not the list page</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Alan Ledbetter</title>
		<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-952</link>
		<dc:creator>Thomas Alan Ledbetter</dc:creator>
		<pubDate>Thu, 31 Jan 2008 13:08:26 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-952</guid>
		<description>how do I add the height and width to the html when the php page only gives the php tag and not an image tag?

I have added the width and height to the calculation in filemaker to display a photo in a certain size but I would like to do that in Html.  I would like to add some rollover java to the photo and can not do that to the php.

So I have a calculation field that provides:

"

This displays the photo but I have no control over it in html.</description>
		<content:encoded><![CDATA[<p>how do I add the height and width to the html when the php page only gives the php tag and not an image tag?</p>
<p>I have added the width and height to the calculation in filemaker to display a photo in a certain size but I would like to do that in Html.  I would like to add some rollover java to the photo and can not do that to the php.</p>
<p>So I have a calculation field that provides:</p>
<p>&#8221;</p>
<p>This displays the photo but I have no control over it in html.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-951</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Wed, 30 Jan 2008 17:23:49 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-951</guid>
		<description>@Thomas: At that point you're not dealing with FileMaker or PHP specifics anymore. You need to turn to features of HTML. In particular, instead of linking to the image itself, link to a web page that includes the image using an &lt;code&gt;&#60;img...&#62;&lt;/code&gt; tag. You can use the &lt;code&gt;height&lt;/code&gt; and &lt;code&gt;width&lt;/code&gt; attributes of this tag to control the size of the image on the page.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>@Thomas: At that point you&#8217;re not dealing with FileMaker or PHP specifics anymore. You need to turn to features of HTML. In particular, instead of linking to the image itself, link to a web page that includes the image using an <code>&lt;img...&gt;</code> tag. You can use the <code>height</code> and <code>width</code> attributes of this tag to control the size of the image on the page.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Alan Ledbetter</title>
		<link>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-950</link>
		<dc:creator>Thomas Alan Ledbetter</dc:creator>
		<pubDate>Wed, 30 Jan 2008 16:24:44 +0000</pubDate>
		<guid>http://sixfriedrice.com/wp/migrating-from-the-beta-filemaker-php-api/#comment-950</guid>
		<description>This was a big help:

In this situation, you need to switch to the getFieldUnencoded() function in the PHP API. 

Question:  If the field data I'm rendering is a link to an external image file is there a way to set a size for the image to display?  Your solution worked great for bringing it in but size is to large.</description>
		<content:encoded><![CDATA[<p>This was a big help:</p>
<p>In this situation, you need to switch to the getFieldUnencoded() function in the PHP API. </p>
<p>Question:  If the field data I&#8217;m rendering is a link to an external image file is there a way to set a size for the image to display?  Your solution worked great for bringing it in but size is to large.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
