<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Zen Cart Module for 2.3.2]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1907</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1907&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Zen Cart Module for 2.3.2.]]></description>
		<lastBuildDate>Sat, 19 Feb 2011 17:31:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Zen Cart Module for 2.3.2]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8356#p8356</link>
			<description><![CDATA[<p>I am modifying the OSCommerce module to work with a Zen Cart. I have made the hooks.php file so that the module loads in and is presented correctly, but I have having trouble connecting to the Zen Cart database.</p><p>There is a form that takes info about the Zen Cart database. Is there anything wrong with this code? It works in FA 2.2, but not in the current version.<br /></p><div class="codebox"><pre><code>include($path_to_root . &quot;/includes/ui.inc&quot;);

if ($action == &#039;show&#039;) {

    start_form(true);
    start_table(TABLESTYLE2, &quot;width=40%&quot;);

    $th = array(&quot;Function&quot;, &quot;Description&quot;);
    table_header($th);

    $k = 0;

    alt_table_row_color($k);

    label_cell(&quot;Table Status&quot;);
    if ($found) $table_st = &quot;Found&quot;;
    else $table_st = &quot;&lt;font color=red&gt;Not Found&lt;/font&gt;&quot;;
    label_cell($table_st);
    end_row();

    text_row(&quot;Mysql Host&quot;, &#039;dbHost&#039;, $dbHost, 20, 40);

    text_row(&quot;User&quot;, &#039;dbUser&#039;, $dbUser, 20, 40);

    text_row(&quot;Password&quot;, &#039;dbPassword&#039;, $dbPassword, 20, 40);

    text_row(&quot;DB Name&quot;, &#039;dbName&#039;, $dbName, 20, 40);
    tax_groups_list_row(_(&quot;Default Tax Group:&quot;), &#039;taxgroup&#039;, $default_TaxGroup);

    end_table(1);

    if (!$found) {
        hidden(&#039;action&#039;, &#039;create&#039;);
        submit_center(&#039;create&#039;, &#039;Create Table&#039;);
    } else {
        hidden(&#039;action&#039;, &#039;update&#039;);
        submit_center(&#039;update&#039;, &#039;Update Mysql&#039;);
    }

    end_form();

    end_page();
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ckrosco)]]></author>
			<pubDate>Sat, 19 Feb 2011 17:31:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8356#p8356</guid>
		</item>
	</channel>
</rss>
