<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Tips and Tricks HQ Forum &#187; Topic: Why Configure Every Product Separately When Used with NextGen Gallery</title>
		<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery</link>
		<description>Support Forum for Tips and Tricks HQ Products</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 06:08:11 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.tipsandtricks-hq.com/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.tipsandtricks-hq.com/forum/rss/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery" rel="self" type="application/rss+xml" />

		<item>
			<title>admin on "Why Configure Every Product Separately When Used with NextGen Gallery"</title>
			<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery/page/10#post-23817</link>
			<pubDate>Wed, 19 Oct 2011 01:31:37 +0000</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">23817@http://www.tipsandtricks-hq.com/forum/</guid>
			<description>&#60;p&#62;Thank you for sharing the modifications you made. I wouldn't mind adding it to the plugin but I have one question. Doesn't it mean that you still have to upload the images separately in a different folder?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>btrivers on "Why Configure Every Product Separately When Used with NextGen Gallery"</title>
			<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery/page/10#post-23799</link>
			<pubDate>Tue, 18 Oct 2011 15:48:56 +0000</pubDate>
			<dc:creator>btrivers</dc:creator>
			<guid isPermaLink="false">23799@http://www.tipsandtricks-hq.com/forum/</guid>
			<description>&#60;p&#62;Great plugin!  I'm using [nggallery id=1 template=wp-eStore-auto-addtocart] but I wanted to keep the purchased version of my photos secure, but still use the NextGen gallery &#34;auto&#34; method of selling the photos.  Of course this wasn't the case because as you state at the beginning of this thread the photo that is viewed in the NextGen gallery when the thumbnail is clicked, is the same that is made downloadable by eStore.&#60;/p&#62;
&#60;p&#62;So I searched through the code and made the following changes so that the Digital Product URL specified in the Product ID used as the template is prepended to the NextGen filename and this becomes the full product download url.&#60;/p&#62;
&#60;p&#62;a) eStore_post_payment_processing_helper.php - Copied the eStore_get_ngg_image_url function and created a new function called eStore_get_ngg_image_url2($pictureID,$item_name,$product_download_url) that builds the image url using:&#60;br /&#62;
$imageUrl = $product_download_url . $image-&#38;gt;filename;&#60;/p&#62;
&#60;p&#62;b) paypal.php - Changed to use new function:&#60;br /&#62;
$download_link = eStore_get_ngg_image_url2($pictureID,$cart_item_data_name,$retrieved_product-&#38;gt;product_download_url);&#60;/p&#62;
&#60;p&#62;I hope this helps out.  Would be great to have this option built in to the plugin.&#60;br /&#62;
Thanks again,&#60;br /&#62;
Brad
&#60;/p&#62;</description>
		</item>
		<item>
			<title>amin007 on "Why Configure Every Product Separately When Used with NextGen Gallery"</title>
			<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery/page/10#post-11708</link>
			<pubDate>Mon, 10 Jan 2011 07:12:51 +0000</pubDate>
			<dc:creator>amin007</dc:creator>
			<guid isPermaLink="false">11708@http://www.tipsandtricks-hq.com/forum/</guid>
			<description>&#60;p&#62;I have added a new template in eStore so you can use &#34;add to cart&#34; type buttons. The template is stored in the &#34;view&#34; directory of the eStore plugin and is called &#34;gallery-wp-eStore-auto-addtocart.php&#34;. &#60;/p&#62;
&#60;p&#62;You can use the following shortcode to use this template:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[nggallery id=1 template=wp-eStore-auto-addtocart]&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;1 is the ID of the nextgen gallery.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gordolake on "Why Configure Every Product Separately When Used with NextGen Gallery"</title>
			<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery/page/10#post-8169</link>
			<pubDate>Fri, 24 Sep 2010 13:11:26 +0000</pubDate>
			<dc:creator>gordolake</dc:creator>
			<guid isPermaLink="false">8169@http://www.tipsandtricks-hq.com/forum/</guid>
			<description>&#60;p&#62;hmmmm would luv to get this workiing too. &#60;/p&#62;
&#60;p&#62;tried all the code chabges and additional template php to ngg. &#60;/p&#62;
&#60;p&#62;locked me out of my wp-admin with error on line 100 of one of the php files. anyway im on 4.3.4 of wp-eShop. anyone else got this working with latest version.&#60;/p&#62;
&#60;p&#62;thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>darkmatter on "Why Configure Every Product Separately When Used with NextGen Gallery"</title>
			<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery/page/10#post-8051</link>
			<pubDate>Tue, 21 Sep 2010 15:45:21 +0000</pubDate>
			<dc:creator>darkmatter</dc:creator>
			<guid isPermaLink="false">8051@http://www.tipsandtricks-hq.com/forum/</guid>
			<description>&#60;p&#62;You wouldn't find that in the CSS, sounds more like remnant code bits in one of your php files, check the NG Gallery template meticulously.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Arrow325 on "Why Configure Every Product Separately When Used with NextGen Gallery"</title>
			<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery/page/10#post-7851</link>
			<pubDate>Sat, 18 Sep 2010 06:30:21 +0000</pubDate>
			<dc:creator>Arrow325</dc:creator>
			<guid isPermaLink="false">7851@http://www.tipsandtricks-hq.com/forum/</guid>
			<description>&#60;p&#62;Okay, I got figured out.  The alignment issues were were caused by the &#34;$ngg2Image&#34; reference in &#60;em&#62;eStore_misc_functions.php&#60;/em&#62;: apparently the placement matters.  When it was the last item listed (afer $button_type), the alignment was wrong.  To make everything be properly aligned, I had to enter it like this:&#60;/p&#62;
&#60;p&#62;function get_variation_and_input_code($ret_product,$ngg2Image,$line_break=true,$button_type=1)&#60;/p&#62;
&#60;p&#62;Now the only remaining problem is a colon appearing between the variable option dropdowns and the Add To Cart button.  I'm pretty sure it is the colon that came after the title of the Input field, but I can't seem to find it in the eStore css.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Arrow325 on "Why Configure Every Product Separately When Used with NextGen Gallery"</title>
			<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery/page/10#post-7841</link>
			<pubDate>Sat, 18 Sep 2010 01:07:34 +0000</pubDate>
			<dc:creator>Arrow325</dc:creator>
			<guid isPermaLink="false">7841@http://www.tipsandtricks-hq.com/forum/</guid>
			<description>&#60;p&#62;Thanks!  I found the trouble in &#60;em&#62;gallery-wp-eStore-addtocart.php&#60;/em&#62;.  I had to replace &#34;&#38;lt;span&#38;gt;&#38;lt;?php echo $image-&#38;gt;caption ?&#38;gt;&#38;lt;/span&#38;gt;&#34; &#60;/p&#62;
&#60;p&#62;with the code new span: &#60;/p&#62;
&#60;p&#62;&#34;&#38;lt;span class=&#34;prod_detail&#34;&#38;gt;&#38;lt;?php echo $image-&#38;gt;alttext ?&#38;gt;&#38;lt;?php echo get_button_code_for_product(1,$image); ?&#38;gt;&#38;lt;/span&#38;gt;&#34;&#60;/p&#62;
&#60;p&#62;I had originally just added the new stuff in, leaving the old code in there too.  Correcting that fixed the error message I was getting, but now I have another issue.  &#60;/p&#62;
&#60;p&#62;The alttext, variable options, and Add To Cart button are now in-line instead of being separated by line breaks.  It also looks like the div for the thumbnail extends several inches to the right or the image border.&#60;/p&#62;
&#60;p&#62;You can see an example here: &#60;a href=&#34;http://thinktankgallery.com/?page_id=68&#34; rel=&#34;nofollow&#34;&#62;http://thinktankgallery.com/?page_id=68&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I tried to use the original short code [nggallery id=1 template=wp-eStore] so I could inspect the elements with Firebug and see what I could see, but when I use that shortcode I get the same error message I was getting before the aforementioned edit to &#60;em&#62;gallery-wp-eStore-addtocart.php&#60;/em&#62;.&#60;/p&#62;
&#60;p&#62;Thanks for your help!  I really appreciate you taking the time to help me out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>darkmatter on "Why Configure Every Product Separately When Used with NextGen Gallery"</title>
			<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery/page/10#post-7835</link>
			<pubDate>Fri, 17 Sep 2010 22:28:03 +0000</pubDate>
			<dc:creator>darkmatter</dc:creator>
			<guid isPermaLink="false">7835@http://www.tipsandtricks-hq.com/forum/</guid>
			<description>&#60;p&#62;ok, it would seem like you are calling the store code twice in your NG Gallery template.  The page looks like it's working, but the Size/Frame/Input/quantity, etc. fields are repeated...&#60;/p&#62;
&#60;p&#62;I'd check the template for errors.&#60;/p&#62;
&#60;p&#62;Vince
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Arrow325 on "Why Configure Every Product Separately When Used with NextGen Gallery"</title>
			<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery/page/10#post-7834</link>
			<pubDate>Fri, 17 Sep 2010 22:04:50 +0000</pubDate>
			<dc:creator>Arrow325</dc:creator>
			<guid isPermaLink="false">7834@http://www.tipsandtricks-hq.com/forum/</guid>
			<description>&#60;p&#62;I copied gallery-wp-eStore.php and and renamed it &#34;gallery-wp-eStore-addtocart.php&#34;.  I then added the following code to the &#34;addtocart&#34; file per step 1 from Parris' post:&#60;/p&#62;
&#60;p&#62;&#38;lt;span class=&#34;prod_detail&#34;&#38;gt;&#38;lt;?php echo $image-&#38;gt;alttext ?&#38;gt;&#38;lt;?php echo get_button_code_for_product(1,$image); ?&#38;gt;&#38;lt;/span&#38;gt;&#60;/p&#62;
&#60;p&#62;and I put that in the /view folder for the nextgen plugin.  I believe that is what you meant by creating a new NG Gallery view template?  I apologize if I misunderstood, I'm not very good with php.&#60;/p&#62;
&#60;p&#62;Line 90 of eStore_misc_functions.php is as follows:&#60;/p&#62;
&#60;p&#62;function get_button_code_for_product($id,$image)&#60;/p&#62;
&#60;p&#62;The rest of the code for the function on line 90 is in the previous post.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>darkmatter on "Why Configure Every Product Separately When Used with NextGen Gallery"</title>
			<link>http://www.tipsandtricks-hq.com/forum/topic/why-configure-every-product-separately-when-used-with-nextgen-gallery/page/9#post-7829</link>
			<pubDate>Fri, 17 Sep 2010 19:41:19 +0000</pubDate>
			<dc:creator>darkmatter</dc:creator>
			<guid isPermaLink="false">7829@http://www.tipsandtricks-hq.com/forum/</guid>
			<description>&#60;p&#62;What's line 90 of eStore_misc_functions.php?&#60;/p&#62;
&#60;p&#62;Did you create a new NG Gallery view template first with the required code?&#60;/p&#62;
&#60;p&#62;Vince
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

