<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : shopsystem</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 13 Apr 2026 16:43:26 -0000</pubDate>

		<item>
			<title>ruben</title>
			<description><![CDATA[<p>
	this is what i wanted, if prdct_extra4 is empty (or now i set '0' in the form were i add the photo's) there is a 'nophoto' image showing.</p>
<pre class="brush:php;">
if($row1['prdct_extra4']=='0') 
{ $shopsystem_items .= "&lt;td width=\"200px\"&gt;&lt;img src=https://www.cotonti.com/\"images/nophoto.jpg\" width=\"100px\" id=\"ads\" &gt;&lt;/td&gt;";}
 else { $shopsystem_items .= "&lt;td width=\"200px\"&gt;&lt;a href=https://www.cotonti.com/\"datas/users/".$cfg['plugin']['shopsystem']['shopsystem_userid']."/".$row1['prdct_extra4']."\" class=\"fancybox\"&gt;
&lt;img src=https://www.cotonti.com/\"datas/users/".$cfg['plugin']['shopsystem']['shopsystem_userid']."/".$row1['prdct_extra4']."\" width=\"100px\" id=\"ads\" &gt;&lt;/a&gt;&lt;/td&gt;"; };</pre>
<p>
	 </p>
]]></description>
			<pubDate>Wo, 09 Jan 2013 09:56:41 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36761]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	I haven't had any time to work on it, or any of my other modules except I have started working on a project/portfolio but I have a  client who needs the shop module so that should be released fully functioning in the next 2-3 weeks.</p>
]]></description>
			<pubDate>Di, 08 Jan 2013 17:43:25 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36758]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<blockquote>
	<a href="https://www.cotonti.com/forums?m=posts&amp;p=36729#36729">#36729</a> <strong>lukgoh: </strong><br /><p>
		Oh yeah, wow. I need to get my shop module finished so people can stop using this outdated stuff. </p>
</blockquote>
<p>
	How's that shop module coming along?</p>
]]></description>
			<pubDate>Ma, 07 Jan 2013 21:11:43 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36736]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Oh yeah, wow. I need to get my shop module finished so people can stop using this outdated stuff. </p>
]]></description>
			<pubDate>Zo, 06 Jan 2013 23:14:28 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36729]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<p>
	Nah, the code in the shop plugin is like this:</p>
<pre class="brush:php;">
while ($row = sed_sql_fetcharray($sql))
{  
    // products output
    $shopsystem_items .= "&lt;div id=\"shop_item\"&gt;";
    $shopsystem_items .= "&lt;div id=\"shop_image\"&gt;";
    $shopsystem_items .= "&lt;h2&gt;".$L['shopystem']['prdcttitle']."".$row['prdct_title']."&lt;/h2&gt;&lt;hr /&gt;";
    $shopsystem_items .= "&lt;center&gt;&lt;a href=https://www.cotonti.com/\"plug.php?e=shopsystem&amp;m=detail&amp;id=".$row['prdct_id']."\"&gt;&lt;img src=https://www.cotonti.com/\"datas/".$cfg['plugin']['shopsystem']['shopsystem_thumbimg']."/".$cfg['plugin']['shopsystem']['shopsystem_userid']."/".$row['prdct_url']."\" width=\"".$cfg['plugin']['shopsystem']['shopsystem_xthumb']."\"&gt;&lt;/a&gt;&lt;/center&gt;";
    $shopsystem_items .= "&lt;/div&gt;";
    $shopsystem_items .= "&lt;div id=\"shop_desc\" style=\"width:".$cfg['plugin']['shopsystem']['shopsystem_xdesc'].";\"&gt;";
    $shopsystem_items .= "&lt;h2&gt;".$L['shopystem']['prdctdesc']."&lt;/h2&gt;&lt;hr /&gt;";
    $shopsystem_items .= "&lt;p&gt;&lt;img src=https://www.cotonti.com/\"plugins/shopsystem/img/help.png\"&gt; ".$row['prdct_desc']."&lt;/p&gt;";
    $shopsystem_items .= "&lt;p&gt;&lt;img src=https://www.cotonti.com/\"plugins/shopsystem/img/money.png\"&gt; ".$row['prdct_price']." ".$cfg['plugin']['shopsystem']['shopsystem_money']."&lt;/p&gt;";
    $shopsystem_items .= "&lt;p&gt;&lt;img src=https://www.cotonti.com/\"plugins/shopsystem/img/cart_error.png\"&gt; ".$row['prdct_amount']." ".$L['shopystem']['prdct_amount']."&lt;/p&gt;";
    $shopsystem_items .= "&lt;a href=https://www.cotonti.com/\"plug.php?e=shopsystem&amp;m=cart&amp;id=".$row['prdct_id']."\"&gt;&lt;img src=https://www.cotonti.com/\"plugins/shopsystem/img/cart_add.png\"&gt; ".$L['shopystem']['prdctaddtocart']."&lt;/a&gt;";
    $shopsystem_items .= "&lt;a href=https://www.cotonti.com/\"plug.php?e=shopsystem&amp;m=detail&amp;id=".$row['prdct_id']."\"&gt;&lt;img src=https://www.cotonti.com/\"plugins/shopsystem/img/magnifier.png\"&gt; ".$L['shopystem']['prdctdetails']."&lt;/a&gt;";
    $shopsystem_items .= "&lt;/div&gt;";
    $shopsystem_items .= "&lt;/div&gt;";
}</pre>
<pre class="brush:php;">
$t-&gt; assign(array(
    "SHOPSYSTEM_TITLE" =&gt; $plugin_title, 
    "SHOPSYSTEM_OPENCLOSED" =&gt; $plugin_closed, 
    "SHOPSYSTEM_LOGO" =&gt; "&lt;img src=https://www.cotonti.com/\"".$cfg['plugin']['shopsystem']['shopsystem_logo']."\"&gt;", 
    "SHOPSYSTEM_ITEMS" =&gt; $shopsystem_items, 
    "SHOPSYSTEM_SUBTITLE" =&gt; $shopsystem_menu,    
));</pre>
<p>
	 </p>
]]></description>
			<pubDate>Zo, 06 Jan 2013 23:11:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36728]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	Ah man, I didn't read his first post properly. At least its sorted, good job. How comes Kingsley's suggestion didn't work, because Genoa doesn't support template call backs or something?</p>
]]></description>
			<pubDate>Zo, 06 Jan 2013 23:08:13 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36727]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<p>
	He wanted to show a 'No image available' image when a product didn't have an image.<br />
	He's using an old shop plugin for Genoa, and most of the stuff posted above wasn't going to work.<br /><br />
	Because he manually needed to add images to every product anyway, I suggested he could just as well manually add a 'No image available' image to products that didn't have their own image.</p>
]]></description>
			<pubDate>Zo, 06 Jan 2013 22:32:18 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36726]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	What was your solution?</p>
]]></description>
			<pubDate>Zo, 06 Jan 2013 22:26:23 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36725]]></link>
		</item>
		<item>
			<title>ruben</title>
			<description><![CDATA[<p>
	i changed some things but it still shows the code where there shouldn't be an img like this</p>
<pre class="brush:xml;">
&lt;a href="https://www.cotonti.com/datas/users/1/"&gt;&lt;img src="https://www.cotonti.com/datas/users/1/" width="100px" id="ads" "&gt;</pre>
<div>
	<pre class="brush:xml;">



     {SHOPSYSTEM_ITEMS}
&lt;!-- IF {SHOPSYSTEM_ITEMSEX4} --&gt;{SHOPSYSTEM_ITEMSEX4}&lt;!-- ENDIF --&gt;
&lt;!-- IF {SHOPSYSTEM_ITEMSEX5} --&gt;{SHOPSYSTEM_ITEMSEX5}&lt;!-- ENDIF --&gt;
&lt;!-- IF {SHOPSYSTEM_ITEMSEX6} --&gt;{SHOPSYSTEM_ITEMSEX6}&lt;!-- ENDIF --&gt;
&lt;!-- IF {SHOPSYSTEM_ITEMSEX7} --&gt;{SHOPSYSTEM_ITEMSEX7}&lt;!-- ENDIF --&gt;
&lt;!-- IF {SHOPSYSTEM_ITEMSEX8} --&gt;{SHOPSYSTEM_ITEMSEX8}&lt;!-- ENDIF --&gt;
&lt;!-- IF {SHOPSYSTEM_ITEMSEX9} --&gt;{SHOPSYSTEM_ITEMSEX9}&lt;!-- ENDIF --&gt;
     {SHOPSYSTEM_ITEMSEND}
     {SHOPSYSTEM_OPENCLOSED}</pre>
</div>
<p>
	 </p>
<p><strong>Added 2 hours later:</strong></p><p>
	already found a solution!</p>
]]></description>
			<pubDate>Zo, 06 Jan 2013 18:56:34 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36712]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	&lt;!-- IF {SHOPSYSTEM_EXTRA_LINE} --&gt;</p>
<p>
	&lt;img src="https://www.cotonti.com/{SHOPSYSTEM_EXTRA_LINE}" /&gt;</p>
<p>
	&lt;!-- ENDIF --&gt;</p>
<p>
	He doesn't want to display anything if it isnt set.</p>
]]></description>
			<pubDate>Zo, 06 Jan 2013 18:49:03 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36710]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	or:</p>
<p>
	&lt;!-- IF {SHOPSYSTEM EXTRA LINE} --&gt;</p>
<p>
	{SHOPSYSTEM EXTRA LINE}</p>
<p>
	&lt;!-- ELSE --&gt;</p>
<p>
	&lt;img src="https://www.cotonti.com/{WHAT_EVER_THE_IMG_TAG_IS}" /&gt; (e.g. no image photo)</p>
<p>
	&lt;!-- ENDIF --&gt;</p>
]]></description>
			<pubDate>Zo, 06 Jan 2013 18:42:46 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36709]]></link>
		</item>
		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>
	You can use a callback in the tpl file. &lt;!-- IF {WHAT_EVER_THE_IMG_TAG_IS} --&gt; &lt;img src="https://www.cotonti.com/{WHAT_EVER_THE_IMG_TAG_IS}" /&gt; &lt;!-- ENDIF --&gt;</p>
<p>
	 </p>
<p>
	Luke.</p>
]]></description>
			<pubDate>Zo, 06 Jan 2013 18:15:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36708]]></link>
		</item>
		<item>
			<title>ruben</title>
			<description><![CDATA[<p>
	i have the shopsystem plugin running at my site, and added the prdct_extra lines to be able to add some extra photo's.<br />
	but when there is no photo-url added it does add the code accept for the URL that was not added<br />
	so i get an image with a dead url</p>
<p>
	how can i change the code in the shopsystem.detail.php code so it shows a "No Photo" image when the prdct_extra field is empty?</p>
<p>
	i tried a little bit myself but i have no php coding skills at all <img alt="cheeky" height="20" src="http://www.cotonti.com/plugins/ckeditor/lib/plugins/smiley/images/tounge_smile.gif" title="cheeky" width="20" /></p>
<div>
	<div>
		if (empty($row1['prdct_extra9']) {$shopsystem_items .= "&lt;td width=\"200px\"&gt;&lt;img src=https://www.cotonti.com/\"images/geenfoto.jpg width=\"100px\" id=\"ads\" \"&gt;&lt;/td&gt;" : '';} else { </div>
	<div>
		$shopsystem_items .= "&lt;td width=\"200px\"&gt;&lt;a href=https://www.cotonti.com/\"datas/users/".$cfg['plugin']['shopsystem']['shopsystem_userid']."/".$row1['prdct_extra9']."\" target=\"_blank\"&gt;</div>
	<div>
		&lt;img src=https://www.cotonti.com/\"datas/users/".$cfg['plugin']['shopsystem']['shopsystem_userid']."/".$row1['prdct_extra9']."\" width=\"100px\" id=\"ads\" \"&gt;&lt;/a&gt;" : '';}; </div>
</div>
<p>
	 </p>
]]></description>
			<pubDate>Zo, 06 Jan 2013 17:48:30 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7295&d=0#post36706]]></link>
		</item>
	</channel>
</rss>