I am going to move about 1000 links to this link manager module because it is integrated with Zencart. Is there an easy way to add/import all these links in bulk? If not, what about using phpmyadmin? I look at the table structures and it seems likely but I am not sure how to use it. Please advise. Thanks in advance.
In order to get your current links into links manager you will have to use phpmyadmin.
First - You will have to export the links information from the original database tables.
Second - You'll need to structure that information so that it can be imported into the Links Manager tables.
Once both of these steps are completed you could construct an sql statement from the newly structured information that could be run to insert the links into Links Manager.
Hope this helps.
If you need additional assistance PM me.
<?php
/**
* Links Select Sidebox Template
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_links_select.php 3.4.0 3/27/2008 Clyde Jones $
*/
$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
$content.= zen_draw_form('links', zen_href_link(FILENAME_LINKS, '', 'NONSSL', false), 'get');
$content .= zen_draw_pull_down_menu('lPath', $links_array, (isset($_GET['lPath']) ? $_GET['lPath'] : ''), 'onchange="this.form.submit();" size="' . MAX_LINKS_LIST . '"') . zen_hide_session_id();
$content .= zen_draw_hidden_field('main_page', FILENAME_LINKS) . '</form>';
if (BOX_DISPLAY_VIEW_ALL_LINKS == 'true') {
$content .= '<br /><a href="' . zen_href_link(FILENAME_LINKS, '', 'NONSSL') . '">' . BOX_INFORMATION_VIEW_ALL_LINKS . '</a>';
}
if (BOX_DISPLAY_SUBMIT_LINK == 'true') {
$content .= '<br /><a href="' . zen_href_link(FILENAME_LINKS_SUBMIT, '', 'SSL') . '">' . BOX_INFORMATION_LINKS_SUBMIT . '</a>';
}
$content .= '</div>';
?>
I have the submit link off because I've been getting all kinds of pornography and spam links.
I found the problem I compared my old includes/templates/cherry_zen/sideboxes/tpl_links_select.php to the one I just downloaded. style="width: 100%"' was missing from the one dated 3/27/2008 so I added it and adjusted the size.
Thanks a lot.
having problem with chery_zen and the link box is off to the right any Idea's
Its on local only, does screen shot help on the right side
Bookmarks