<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Quick Tip: Triggering custom Popups in Prestashop</title>
	<atom:link href="http://nemops.com/prestashop-custom-popups/feed/" rel="self" type="application/rss+xml" />
	<link>http://nemops.com/prestashop-custom-popups/</link>
	<description>Prestashop Tutorials, Modules and More!</description>
	<lastBuildDate>Fri, 10 Mar 2023 23:25:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.35</generator>
	<item>
		<title>By: NemoPS</title>
		<link>http://nemops.com/prestashop-custom-popups/comment-page-1/#comment-46745</link>
		<dc:creator><![CDATA[NemoPS]]></dc:creator>
		<pubDate>Fri, 29 Jun 2018 00:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2456#comment-46745</guid>
		<description><![CDATA[Hmmm that&#039;s strange, are you passing the link to the image as argument? the .fancybox() should be attached to a link, not to the img tag]]></description>
		<content:encoded><![CDATA[<p>Hmmm that&#8217;s strange, are you passing the link to the image as argument? the .fancybox() should be attached to a link, not to the img tag</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J. Donovan</title>
		<link>http://nemops.com/prestashop-custom-popups/comment-page-1/#comment-46744</link>
		<dc:creator><![CDATA[J. Donovan]]></dc:creator>
		<pubDate>Thu, 28 Jun 2018 13:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2456#comment-46744</guid>
		<description><![CDATA[Hi Nemo,

I am working on a custom module, and I am adding fancybox to my images.

The thing is, I only want the triggered pop up to show the clicked image in full size and at the moment the result I am getting is the equivalent of what I would get if I pushed my image into a text editor.


Why can&#039;t &quot;myfancybox&quot; show a jpg and do you have a fix to this ?


Thanks for your work.]]></description>
		<content:encoded><![CDATA[<p>Hi Nemo,</p>
<p>I am working on a custom module, and I am adding fancybox to my images.</p>
<p>The thing is, I only want the triggered pop up to show the clicked image in full size and at the moment the result I am getting is the equivalent of what I would get if I pushed my image into a text editor.</p>
<p>Why can&#8217;t &#8220;myfancybox&#8221; show a jpg and do you have a fix to this ?</p>
<p>Thanks for your work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NemoPS</title>
		<link>http://nemops.com/prestashop-custom-popups/comment-page-1/#comment-46702</link>
		<dc:creator><![CDATA[NemoPS]]></dc:creator>
		<pubDate>Mon, 05 Feb 2018 04:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2456#comment-46702</guid>
		<description><![CDATA[themesclassicassetsjscustom.js should be the file you are looking for]]></description>
		<content:encoded><![CDATA[<p>themesclassicassetsjscustom.js should be the file you are looking for</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Schmidt</title>
		<link>http://nemops.com/prestashop-custom-popups/comment-page-1/#comment-46700</link>
		<dc:creator><![CDATA[Stephen Schmidt]]></dc:creator>
		<pubDate>Sat, 03 Feb 2018 13:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2456#comment-46700</guid>
		<description><![CDATA[IN my child theme, i edited custom.js adding the lines

$(document).ready(function(){
  $(&#039;.myfancybox&#039;).fancybox({type:&#039;ajax&#039;});
});

The link created does not go to a fancybox, but loads a screen.  Do I need to insert line:

$this-&gt;context-&gt;controller-&gt;addjQueryPlugin( &#039;fancybox&#039; );

Where or what file would i create to insert this code that would make it available from all pages.

I am running Prestashop 1.7.2.4]]></description>
		<content:encoded><![CDATA[<p>IN my child theme, i edited custom.js adding the lines</p>
<p>$(document).ready(function(){<br />
  $(&#8216;.myfancybox&#8217;).fancybox({type:&#8217;ajax&#8217;});<br />
});</p>
<p>The link created does not go to a fancybox, but loads a screen.  Do I need to insert line:</p>
<p>$this-&gt;context-&gt;controller-&gt;addjQueryPlugin( &#8216;fancybox&#8217; );</p>
<p>Where or what file would i create to insert this code that would make it available from all pages.</p>
<p>I am running Prestashop 1.7.2.4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Schmidt</title>
		<link>http://nemops.com/prestashop-custom-popups/comment-page-1/#comment-46699</link>
		<dc:creator><![CDATA[Stephen Schmidt]]></dc:creator>
		<pubDate>Sat, 03 Feb 2018 11:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2456#comment-46699</guid>
		<description><![CDATA[In prestashop 1.7 Where do I add the Js lines that you previously added to global.js?]]></description>
		<content:encoded><![CDATA[<p>In prestashop 1.7 Where do I add the Js lines that you previously added to global.js?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NemoPS</title>
		<link>http://nemops.com/prestashop-custom-popups/comment-page-1/#comment-46376</link>
		<dc:creator><![CDATA[NemoPS]]></dc:creator>
		<pubDate>Tue, 28 Jun 2016 09:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2456#comment-46376</guid>
		<description><![CDATA[You must include it with a module that hooks to the header then, to have it on all pages

$this-&gt;context-&gt;controller-&gt;addjQueryPlugin( &#039;fancybox&#039; );]]></description>
		<content:encoded><![CDATA[<p>You must include it with a module that hooks to the header then, to have it on all pages</p>
<p>$this-&gt;context-&gt;controller-&gt;addjQueryPlugin( &#8216;fancybox&#8217; );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://nemops.com/prestashop-custom-popups/comment-page-1/#comment-46375</link>
		<dc:creator><![CDATA[michael]]></dc:creator>
		<pubDate>Fri, 24 Jun 2016 09:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2456#comment-46375</guid>
		<description><![CDATA[Hi,

Thank you for your response, i did as you asked and found that the fancybox function was uncaught, which led me to find that the fancybox code was not loaded on the homepage of my website, but it is loaded on the product page.

Should i put the code $(&#039;.myfancybox&#039;).fancybox({type:&#039;ajax&#039;}); in my product.js in this case?

Or should fancybox be loaded on every page of my website and for some reason it is not?

Thanks again!

Michael]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thank you for your response, i did as you asked and found that the fancybox function was uncaught, which led me to find that the fancybox code was not loaded on the homepage of my website, but it is loaded on the product page.</p>
<p>Should i put the code $(&#8216;.myfancybox&#8217;).fancybox({type:&#8217;ajax&#8217;}); in my product.js in this case?</p>
<p>Or should fancybox be loaded on every page of my website and for some reason it is not?</p>
<p>Thanks again!</p>
<p>Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NemoPS</title>
		<link>http://nemops.com/prestashop-custom-popups/comment-page-1/#comment-46374</link>
		<dc:creator><![CDATA[NemoPS]]></dc:creator>
		<pubDate>Thu, 23 Jun 2016 19:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2456#comment-46374</guid>
		<description><![CDATA[I&#039;d see if anything in the code you write is broken (using the js console)
It&#039;s more than likely some kind of typo]]></description>
		<content:encoded><![CDATA[<p>I&#8217;d see if anything in the code you write is broken (using the js console)<br />
It&#8217;s more than likely some kind of typo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://nemops.com/prestashop-custom-popups/comment-page-1/#comment-46373</link>
		<dc:creator><![CDATA[michael]]></dc:creator>
		<pubDate>Wed, 22 Jun 2016 15:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2456#comment-46373</guid>
		<description><![CDATA[Hi Nemo,

I have used many of your tutorials, they are very very helpful, thank you for this. 

In this tutorial i have followed the video and managed to implement a custom popup as required.

One problem i have found, as soon as i add the script in the global.js, javascript becomes broken in general across my website. for example home featured products no longer show on the home page, mouse hover elements no longer work.

Any thoughts on this would be hugely appreciated.

I am running the latest version of prestashop 1.6.1.4]]></description>
		<content:encoded><![CDATA[<p>Hi Nemo,</p>
<p>I have used many of your tutorials, they are very very helpful, thank you for this. </p>
<p>In this tutorial i have followed the video and managed to implement a custom popup as required.</p>
<p>One problem i have found, as soon as i add the script in the global.js, javascript becomes broken in general across my website. for example home featured products no longer show on the home page, mouse hover elements no longer work.</p>
<p>Any thoughts on this would be hugely appreciated.</p>
<p>I am running the latest version of prestashop 1.6.1.4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD Dishan</title>
		<link>http://nemops.com/prestashop-custom-popups/comment-page-1/#comment-46087</link>
		<dc:creator><![CDATA[JD Dishan]]></dc:creator>
		<pubDate>Fri, 28 Aug 2015 16:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://nemops.com/?p=2456#comment-46087</guid>
		<description><![CDATA[this is scr]]></description>
		<content:encoded><![CDATA[<p>this is scr</p>
]]></content:encoded>
	</item>
</channel>
</rss>
