Hello.
I am using header language currency module and i need to replace the language link( flag icons ) with html Dropdown . i replace the tpl_ header_languages.php in /template/common with following code.
this produces the FORM tag and Select box. but ofcourse is not being populated with languages.PHP Code:$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
$content .= zen_draw_form('language_form', zen_href_link(basename(ereg_replace('.php','', $PHP_SELF)), '', $request_type, false), 'get');
$content .= zen_draw_pull_down_menu('languages', $languages_array, $languages_selected, 'onchange="this.form.submit();"') . $hidden_get_variables . zen_hide_session_id();
$content .= '</form>';
$content .= '</div>';
echo $content;
I was wondering if anyone knows how to fix this.
I am way limited in php specially zencart functions and stuff.
thanks


Reply With Quote
