Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

JavaScript+PHP

PrestaShop Quote Module by FMM

1
2
3
4
5
6
7
PrestaShop Quote module is a quote facilitator tool that helps the web-merchants to manage quote process on their store. 
You often have seen a quote button on software development sites that help them to earn different projects for their companies. 
Do you want to use the same type of process on your product page? 
Yes, this is possible by installing a small quote plugin that creates a quote button on your each product page of your store. 
Clicking on the button enables the customer to send the detail information of quote to the merchant. 
To get more information about this Quote module, go here; https://www.fmemodules.com/en/81-prestashop-quotation-module.html
Price: 100Euro
https://snipt.net/embed/d04e23bf6297c48216c490becb6c7338/
https://snipt.net/raw/d04e23bf6297c48216c490becb6c7338/
d04e23bf6297c48216c490becb6c7338
js+php
JavaScript+PHP
7
2016-11-12T11:09:00
True
False
True
Oct 03, 2016 at 08:43 AM
/api/public/snipt/147926/
prestashop-quote-module-by-fmm
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a> <a href="#L-7">7</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nx">PrestaShop</span> <span class="nx">Quote</span> <span class="nx">module</span> <span class="nx">is</span> <span class="nx">a</span> <span class="nx">quote</span> <span class="nx">facilitator</span> <span class="nx">tool</span> <span class="nx">that</span> <span class="nx">helps</span> <span class="nx">the</span> <span class="nx">web</span><span class="o">-</span><span class="nx">merchants</span> <span class="nx">to</span> <span class="nx">manage</span> <span class="nx">quote</span> <span class="nx">process</span> <span class="nx">on</span> <span class="nx">their</span> <span class="nx">store</span><span class="p">.</span> </span><span id="L-2"><a name="L-2"></a><span class="nx">You</span> <span class="nx">often</span> <span class="nx">have</span> <span class="nx">seen</span> <span class="nx">a</span> <span class="nx">quote</span> <span class="nx">button</span> <span class="nx">on</span> <span class="nx">software</span> <span class="nx">development</span> <span class="nx">sites</span> <span class="nx">that</span> <span class="nx">help</span> <span class="nx">them</span> <span class="nx">to</span> <span class="nx">earn</span> <span class="nx">different</span> <span class="nx">projects</span> <span class="k">for</span> <span class="nx">their</span> <span class="nx">companies</span><span class="p">.</span> </span><span id="L-3"><a name="L-3"></a><span class="nx">Do</span> <span class="nx">you</span> <span class="nx">want</span> <span class="nx">to</span> <span class="nx">use</span> <span class="nx">the</span> <span class="nx">same</span> <span class="nx">type</span> <span class="k">of</span> <span class="nx">process</span> <span class="nx">on</span> <span class="nx">your</span> <span class="nx">product</span> <span class="nx">page</span><span class="o">?</span> </span><span id="L-4"><a name="L-4"></a><span class="nx">Yes</span><span class="p">,</span> <span class="k">this</span> <span class="nx">is</span> <span class="nx">possible</span> <span class="nx">by</span> <span class="nx">installing</span> <span class="nx">a</span> <span class="nx">small</span> <span class="nx">quote</span> <span class="nx">plugin</span> <span class="nx">that</span> <span class="nx">creates</span> <span class="nx">a</span> <span class="nx">quote</span> <span class="nx">button</span> <span class="nx">on</span> <span class="nx">your</span> <span class="nx">each</span> <span class="nx">product</span> <span class="nx">page</span> <span class="k">of</span> <span class="nx">your</span> <span class="nx">store</span><span class="p">.</span> </span><span id="L-5"><a name="L-5"></a><span class="nx">Clicking</span> <span class="nx">on</span> <span class="nx">the</span> <span class="nx">button</span> <span class="nx">enables</span> <span class="nx">the</span> <span class="nx">customer</span> <span class="nx">to</span> <span class="nx">send</span> <span class="nx">the</span> <span class="nx">detail</span> <span class="nx">information</span> <span class="k">of</span> <span class="nx">quote</span> <span class="nx">to</span> <span class="nx">the</span> <span class="nx">merchant</span><span class="p">.</span> </span><span id="L-6"><a name="L-6"></a><span class="nx">To</span> <span class="nx">get</span> <span class="nx">more</span> <span class="nx">information</span> <span class="nx">about</span> <span class="k">this</span> <span class="nx">Quote</span> <span class="nx">module</span><span class="p">,</span> <span class="nx">go</span> <span class="nx">here</span><span class="p">;</span> <span class="nx">https</span><span class="o">:</span><span class="c1">//www.fmemodules.com/en/81-prestashop-quotation-module.html</span> </span><span id="L-7"><a name="L-7"></a><span class="nx">Price</span><span class="o">:</span> <span class="mi">100</span><span class="nx">Euro</span> </span></pre></div> </td></tr></table>
module, prestashop, quote

PHP

Inject data into a module position

1
2
3
4
5
<?php
// Inject data from your component into the right module position
JFactory::getDocument()->setBuffer($data, 'modules', 'right');

// Note: Data will not be shown unless there are "real" modules present in position right
https://snipt.net/embed/130d081d59867fbbba5a542407fc5b69/
https://snipt.net/raw/130d081d59867fbbba5a542407fc5b69/
130d081d59867fbbba5a542407fc5b69
php
PHP
5
2016-12-02T08:37:16
True
False
False
Apr 01, 2014 at 11:55 AM
/api/public/snipt/126514/
inject-data-into-a-module-position-1
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> </span><span id="L-2"><a name="L-2"></a><span class="c1">// Inject data from your component into the right module position</span> </span><span id="L-3"><a name="L-3"></a><span class="nx">JFactory</span><span class="o">::</span><span class="na">getDocument</span><span class="p">()</span><span class="o">-&gt;</span><span class="na">setBuffer</span><span class="p">(</span><span class="nv">$data</span><span class="p">,</span> <span class="s1">&#39;modules&#39;</span><span class="p">,</span> <span class="s1">&#39;right&#39;</span><span class="p">);</span> </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a><span class="c1">// Note: Data will not be shown unless there are &quot;real&quot; modules present in position right</span> </span></pre></div> </td></tr></table>
joomla, module, position

Text only

Prestashop Module For Advance SEO


https://snipt.net/embed/7b5dfa1893921b646b57ba4552d5d269/
https://snipt.net/raw/7b5dfa1893921b646b57ba4552d5d269/
7b5dfa1893921b646b57ba4552d5d269
text
Text only
1
2016-12-03T15:46:56
True
False
False
Aug 14, 2013 at 01:34 AM
/api/public/snipt/74058/
prestashop-module-for-advance-seo
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a> </span></pre></div> </td></tr></table>
"Prestashop seo", module

PHP

Module position count

1
2
3
4
5
<?php if ($this->countModules( 'position' )) : ?>
  <div>
    <jdoc:include type="modules" name="position" />
  </div>
<?php endif; ?>
https://snipt.net/embed/fb456f32b8fe58fb96fbd70db002da6e/
https://snipt.net/raw/fb456f32b8fe58fb96fbd70db002da6e/
fb456f32b8fe58fb96fbd70db002da6e
php
PHP
5
2016-12-02T08:37:32
True
False
False
Sep 25, 2013 at 02:25 PM
/api/public/snipt/67730/
module-position-count
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> <span class="k">if</span> <span class="p">(</span><span class="nv">$this</span><span class="o">-&gt;</span><span class="na">countModules</span><span class="p">(</span> <span class="s1">&#39;position&#39;</span> <span class="p">))</span> <span class="o">:</span> <span class="cp">?&gt;</span><span class="x"></span> </span><span id="L-2"><a name="L-2"></a><span class="x"> &lt;div&gt;</span> </span><span id="L-3"><a name="L-3"></a><span class="x"> &lt;jdoc:include type=&quot;modules&quot; name=&quot;position&quot; /&gt;</span> </span><span id="L-4"><a name="L-4"></a><span class="x"> &lt;/div&gt;</span> </span><span id="L-5"><a name="L-5"></a><span class="cp">&lt;?php</span> <span class="k">endif</span><span class="p">;</span> <span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
count, joomla, module, position, template
Copyrighted, illegal, or inappropriate content? Email [email protected].