<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<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>Smashly Community Forums &#187; Topic: Passing custom fields</title>
		<link>http://smashly.net/community/</link>
		<description>Smashly Community Forums &#187; Topic: Passing custom fields</description>
		<language>en</language>
		<pubDate>Wed, 08 Feb 2012 12:49:14 +0000</pubDate>

					<item>
				<title>byron on "Passing custom fields"</title>
				<link>http://smashly.net/community/topic/passing-custom-fields#post-766</link>
				<pubDate>Fri, 19 Feb 2010 00:55:01 +0000</pubDate>
				<dc:creator>byron</dc:creator>
				<guid isPermaLink="false">766@http://smashly.net/community/</guid>
				<description>&#60;p&#62;Hi luv_tahoe,&#60;/p&#62;
&#60;p&#62;I think you can accomplish what you're trying with the standard plugin.  So, I'd recommend that you start fresh with the unaltered plugin.  What you want is a Custom Layout...you can build these in the Layouts Editor (first have to turn on Advanced menu options in PhotoSmash Settings / Advanced).  In the layouts editor, take a look at the preloaded Std_Widget layout to get a sense of how to build a custom layout.  Then, you can use your custom fields like:&#60;/p&#62;
&#60;p&#62;title='[image_description] - [image_price]'&#60;/p&#62;
&#60;p&#62;I think title in the href is how you get stuff to show up in the Thickbox popups.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;br /&#62;
Byron
&#60;/p&#62;</description>
			</item>
					<item>
				<title>luv_tahoe on "Passing custom fields"</title>
				<link>http://smashly.net/community/topic/passing-custom-fields#post-765</link>
				<pubDate>Thu, 18 Feb 2010 21:50:39 +0000</pubDate>
				<dc:creator>luv_tahoe</dc:creator>
				<guid isPermaLink="false">765@http://smashly.net/community/</guid>
				<description>&#60;p&#62;Hello,&#60;br /&#62;
Just found this plugin and really like it!&#60;/p&#62;
&#60;p&#62;How can I reference custom fields so that I can include them in the popup (I'm using thickbox) after clicking a thumbnail?&#60;/p&#62;
&#60;p&#62;For instance... including a description, price, etc below the image caption&#60;/p&#62;
&#60;p&#62;on line 1756 of bwb-photosmash.php, I modified the code to read:&#60;br /&#62;
(my custom field is image_description)&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
if($img){&#60;br /&#62;
  $imgtitle = str_replace(&#34;'&#34;,&#34;&#34;,$img['image_caption']);&#60;br /&#62;
  $imgdesc = str_replace(&#34;'&#34;,&#34;&#34;,$img['image_description']);&#60;br /&#62;
  $imgtext = $imgtitle.' - '.$imgdesc;&#60;br /&#62;
  $ret = &#34;&#38;lt;img src='&#34;.PSIMAGESURL.$img['file_name'].&#34;'&#34;.$img['imgclass'] .&#34;alt='&#34;.$imgtext.&#34;' /&#38;gt;&#34;;&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;br /&#62;
No success, though. Any ideas?
&#60;/p&#62;</description>
			</item>
		
	</channel>

</rss>
