-
Posts
225 -
Joined
-
Last visited
-
Days Won
1
jack_frost last won the day on January 24 2010
jack_frost had the most liked content!
Profile Information
-
Real Name
Jesper
-
Gender
Male
-
Location
Denmark
- Website
Recent Profile Visitors
12,475 profile views
jack_frost's Achievements
-
Not sure if this is the correct support thread but i installed this Wishlist on my page: http://addons.oscommerce.com/info/8665/v,23 Everything seems to work fine except when i am on the wishlist page, i dont seem to have the Email fields: Only the My Email and My name is displayed. Also, in the admin section, under configuration, this is what i see in the Wishlist tab: This is my catalog/wishlist.php <?php /* $Id: wishlist.php,v 3.11 2005/04/20 Dennis Blake osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Released under the GNU General Public License */ // This version, removes the product when adding to a cart now, replaced all of the HTTP_POST_VARS for $_POST require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_WISHLIST); /******************************************************************* ******* ADD PRODUCT TO WISHLIST IF PRODUCT ID IS REGISTERED ******** *******************************************************************/ if(tep_session_is_registered('wishlist_id')) { $wishList->add_wishlist($wishlist_id, $attributes_id); /******************************************************************* ******* CREATES COOKIE TO STORE WISHLIST ON LOCAL COMPUTER ******** ******************************************************************** ******* TO CHANGE THE LENGTH OF TIME THE COOKIE IS STORED: ******** ******* ******** ******* EDIT THE "DAYS" VARIABLE BELOW. THIS VARIABLE IS ******** ******* THE NUMBER OF DAYS THE COOKIE IS STORED. ******** *******************************************************************/ // $days = 30; // $time = time() + (3600 * 24 * $days); // $cook_id = serialize($wishList->wishID); // tep_setcookie('wish', $cook_id , $time); /***********************END CHANGE*********************************/ $product_id = $wishlist_id; tep_session_unregister('wishlist_id'); if(tep_session_is_registered('attributes_id')) tep_session_unregister('attributes_id'); if(WISHLIST_REDIRECT == 'Yes') { tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_id)); } } /******************************************************************* ****************** ADD PRODUCT TO SHOPPING CART ******************** *******************************************************************/ if (isset($_POST['add_wishprod'])) { if(isset($_POST['wlaction']) && $_POST['wlaction'] == 'cart') { foreach ($_POST['add_wishprod'] as $value) { $product_id = tep_get_prid($value); $cart->add_cart($product_id, $cart->get_quantity(tep_get_uprid($product_id, $_POST['id'][$value]))+1, $_POST['id'][$value]); $wishList->remove($value); } if (DISPLAY_CART == 'true') tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } } /******************************************************************* ****************** DELETE PRODUCT FROM WISHLIST ******************** *******************************************************************/ if (isset($_POST['add_wishprod'])) { if(isset($_POST['wlaction']) && $_POST['wlaction'] == 'delete') { foreach ($_POST['add_wishprod'] as $value) { $wishList->remove($value); } } } /******************************************************************* ************* EMAIL THE WISHLIST TO MULTIPLE FRIENDS *************** *******************************************************************/ $wishlist_not_empty = false; if (is_array($wishList->wishID) && !empty($wishList->wishID)) { $wishlist_not_empty = (count($wishList->wishID) > 0); } if (isset($_POST['wlaction']) && ($_POST['wlaction'] == 'email') && isset($_POST['formid']) && ($_POST['formid'] == $sessiontoken) && $wishlist_not_empty) { $error = false; $guest_errors = ""; $email_errors = ""; $message_error = ""; $message = tep_db_prepare_input($_POST['message']); if(strlen($message) < 1) { $error = true; $message_error .= "<div class=\"messageStackError\"><img src=\"images/icons/error.gif\" /> " . ERROR_MESSAGE . "</div>"; } // check for links to other web sites, a sign that a spammer is trying to use this site to send spam $protocols = array('http://', 'https://', 'file://', 'ftp://', 'news://' 'mailto:', 'telnet://', 'ssh:'); $check = strtolower($message); $thisdomain = HTTP_SERVER; $thisdomain = strtolower(substr($thisdomain, strpos($thisdomain, '://') + 3)); foreach ($protocols as $p ) { $x = 0; while (strpos($check, $p, $x) !== false) { $x = strpos($check, $p, $x) + strlen($p); if ((substr($check, $x, strlen($thisdomain)) != $thisdomain) || !preg_match('/\/|\s/', substr($check, $x + strlen($thisdomain), 1))) { $error = true; $message_error .= "<div class=\"messageStackError\"><img src=\"images/icons/error.gif\" /> " . ERROR_INVALID_LINK . "</div>"; } } } if(tep_session_is_registered('customer_id')) { // logged in $customer_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'"); if (tep_db_num_rows($customer_query) != 1 ) tep_redirect(tep_href_link(FILENAME_LOGOFF, '', 'SSL')); // invalid customer id $customer = tep_db_fetch_array($customer_query); $from_name = $customer['customers_firstname'] . ' ' . $customer['customers_lastname']; $from_email = $customer['customers_email_address']; $subject = $customer['customers_firstname'] . ' ' . WISHLIST_EMAIL_SUBJECT; $link = tep_href_link(FILENAME_WISHLIST_PUBLIC, "public_id=" . $customer_id); $body = $message . sprintf(WISHLIST_EMAIL_LINK, $from_name, $link, $link); } else { // guest $from_name = tep_db_prepare_input($_POST['your_name']); $from_email = tep_db_prepare_input($_POST['your_email']); if(strlen($from_name) < 1) { $error = true; $guest_errors .= "<div class=\"messageStackError\"><img src=\"images/icons/error.gif\" /> " . ERROR_YOUR_NAME . "</div>"; } if(strlen($from_email) < 1) { $error = true; $guest_errors .= "<div class=\"messageStackError\"><img src=\"images/icons/error.gif\" /> " .ERROR_YOUR_EMAIL . "</div>"; } elseif(!tep_validate_email($from_email)) { $error = true; $guest_errors .= "<div class=\"messageStackError\"><img src=\"images/icons/error.gif\" /> " . ERROR_VALID_EMAIL . "</div>"; } $subject = $from_name . ' ' . WISHLIST_EMAIL_SUBJECT; $z = 0; $prods = ""; foreach($_POST['prod_name'] as $name) { $prods .= '<a href="' . tep_db_prepare_input($_POST['prod_link'][$z]) .'">' . tep_db_prepare_input($name) . " " . tep_db_prepare_input($_POST['prod_att'][$z]) . "\n" . tep_db_prepare_input($_POST['prod_link'][$z]) . "</a>\n\n"; $z++; } $body = $message . "\n\n" . $prods . "\n\n" . $from_name . WISHLIST_EMAIL_GUEST; } //Check each posted name => email for errors. $email = tep_db_prepare_input($_POST['email']); $friend = tep_db_prepare_input($_POST['friend']); for ($j=0; $j < sizeof($friend); $j++) { $friend[$j] = $friend[$j]; if($j == 0) { if($friend[0] == '' && $email[0] == '') { $error = true; $email_errors .= "<div class=\"messageStackError\"><img src=\"images/icons/error.gif\" /> " . ERROR_ONE_EMAIL . "</div>"; } } if(isset($friend[$j]) && $friend[$j] != '') { if(strlen($email[$j]) < '1') { $error = true; $email_errors .= "<div class=\"messageStackError\"><img src=\"images/icons/error.gif\" /> " . ERROR_ENTER_EMAIL . "</div>"; } elseif(!tep_validate_email($email[$j])) { $error = true; $email_errors .= "<div class=\"messageStackError\"><img src=\"images/icons/error.gif\" /> " . ERROR_VALID_EMAIL . "</div>"; } } if(isset($email[$j]) && $email[$j] != '') { if(strlen($friend[$j]) < '1') { $error = true; $email_errors .= "<div class=\"messageStackError\"><img src=\"images/icons/error.gif\" /> " . ERROR_ENTER_NAME . "</div>"; } } } // check for attempt to send email from another page besides this sites Wish List script if (substr($_SERVER['HTTP_REFERER'], 0, strpos($_SERVER['HTTP_REFERER'], '.php') + 4) != tep_href_link(FILENAME_WISHLIST)) { if (tep_session_is_registered('customer_id')) { $cid = $customer_id; } else { $cid = TEXT_SPAM_NO_ID; } $spammsg = sprintf(TEXT_SPAM_MESSAGE, date('l F j, Y H:i:s'), $cid, $from_name, $from_email, $_SERVER['HTTP_REFERER'], tep_get_ip_address(), $_SERVER['REMOTE_PORT'], $_SERVER['HTTP_USER_AGENT']) . $message; tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, TEXT_SPAM_SUBJECT, $spammsg, $from_name, $from_email_address); foreach ($_SESSION as $key => $value) unset($_SESSION[$key]); echo ERROR_SPAM_BLOCKED; tep_exit(); } $actionRecorder = new actionRecorder('ar_wish_list', (tep_session_is_registered('customer_id') ? $customer_id : null), $from_name); if (!$actionRecorder->canPerform()) { $error = true; $actionRecorder->record(false); $messageStack->add('wishlist', sprintf(ERROR_ACTION_RECORDER, (defined('MODULE_ACTION_RECORDER_WISH_LIST_EMAIL_MINUTES') ? (int)MODULE_ACTION_RECORDER_WISH_LIST_EMAIL_MINUTES : 15))); } if($error == false) { for ($j=0; $j < sizeof($friend); $j++) { if($friend[$j] != '') { tep_mail($friend[$j], $email[$j], $subject, $friend[$j] . ",\n\n" . $body, $from_name, $from_email); } //Clear Values $friend[$j] = ""; $email[$j] = ""; } $message = ""; $actionRecorder->record(); $messageStack->add('wishlist', WISHLIST_SENT, 'success'); } } $breadcrumb->add(NAVBAR_TITLE_WISHLIST, tep_href_link(FILENAME_WISHLIST, '', 'SSL')); require(DIR_WS_INCLUDES . 'template_top.php'); if ($messageStack->size('wishlist') > 0) { echo '<div>' . $messageStack->output('wishlist') . '</div>'; } ?> <h1><?php echo HEADING_TITLE; ?></h1> <div class="contentContainer"> <?php echo tep_draw_form('wishlist_form', tep_href_link(FILENAME_WISHLIST), 'post', '', true); if (is_array($wishList->wishID) && !empty($wishList->wishID)) { reset($wishList->wishID); ?> <table border="0" width="100%" cellspacing="0" cellpadding="3" class="smallTexties"> <tr> <td class="smallTexties"><?php echo BOX_TEXT_IMAGE; ?></td> <td class="smallTexties"><?php echo BOX_TEXT_PRODUCT; ?></td> <td class="smallTexties"><?php echo BOX_TEXT_PRICE; ?></td> <td class="smallTexties" align="center"><?php echo BOX_TEXT_SELECT; ?></td> </tr> <?php $i = 0; while (list($wishlist_id, ) = each($wishList->wishID)) { $product_id = tep_get_prid($wishlist_id); $products_query = tep_db_query("select pd.products_id, pd.products_name, pd.products_description, p.products_image, p.products_status, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from ( " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd ) left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where pd.products_id = '" . (int)$product_id . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by products_name"); $products = tep_db_fetch_array($products_query); if (($i/2) == floor($i/2)) { $class = "smallTexties"; } else { $class = "smallTexties"; } ?> <tr class="<?php echo $class; ?>"> <td valign="top" class="smallTexties" align="left"><?php if($products['products_status'] == 0) { echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT); } else { ?> <a href="<?php echo tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $wishlist_id, 'NONSSL'); ?>"><?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'], SMALL_IMAGE_WIDTH-80, SMALL_IMAGE_HEIGHT); ?></a> <?php } ?> <td valign="top" class="contentTextir" align="left" class="main"> <strong> <?php if($products['products_status'] == 0) { echo $products['products_name']; } else { ?> <a href="<?php echo tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $wishlist_id, 'NONSSL'); ?>"><?php echo $products['products_name']; ?></a> <?php } ?> </strong> <input type="hidden" name="prod_link[]" value="<?php echo tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $wishlist_id, 'NONSSL'); ?>" /> <input type="hidden" name="prod_name[]" value="<?php echo $products['products_name']; ?>" /> <?php /******************************************************************* ******** THIS IS THE WISHLIST CODE FOR PRODUCT ATTRIBUTES ********* *******************************************************************/ $attributes_addon_price = 0; // Now get and populate product attributes $att_name = ""; if (isset($wishList->wishID[$wishlist_id]['attributes'])) { while (list($option, $value) = each($wishList->wishID[$wishlist_id]['attributes'])) { echo tep_draw_hidden_field('id[' . $wishlist_id . '][' . $option . ']', $value); $attributes = tep_db_query("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_OPTIONS_VALUES . " poval, " . TABLE_PRODUCTS_ATTRIBUTES . " pa where pa.products_id = '" . (int)$wishlist_id . "' and pa.options_id = '" . (int)$option . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . (int)$value . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . (int)$languages_id . "' and poval.language_id = '" . (int)$languages_id . "'"); $attributes_values = tep_db_fetch_array($attributes); if ($attributes_values['price_prefix'] == '+') { $attributes_addon_price += $attributes_values['options_values_price']; } else if($attributes_values['price_prefix'] == '-') { $attributes_addon_price -= $attributes_values['options_values_price']; } $att_name .= " (" . $attributes_values['products_options_name'] . ": " . $attributes_values['products_options_values_name'] . ") "; echo '<br /><small><em> ' . $attributes_values['products_options_name'] . ': ' . $attributes_values['products_options_values_name'] . '</em></small>'; } // end while attributes for product } echo '<input type="hidden" name="prod_att[]" value="' . $att_name . '" />'; if (tep_not_null($products['specials_new_products_price'])) { $products_price = '<del>' . $currencies->display_price($products['products_price']+$attributes_addon_price, tep_get_tax_rate($products['products_tax_class_id'])) . '</del> <span class="productSpecialPrice">' . $currencies->display_price($products['specials_new_products_price']+$attributes_addon_price, tep_get_tax_rate($products['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($products['products_price']+$attributes_addon_price, tep_get_tax_rate($products['products_tax_class_id'])); } /******************************************************************* ******* CHECK TO SEE IF PRODUCT HAS BEEN ADDED TO THEIR CART ******* *******************************************************************/ if($cart->in_cart($wishlist_id)) { echo '<br /><strong style="color: red">' . TEXT_ITEM_IN_CART . '</strong>'; } /******************************************************************* ********** CHECK TO SEE IF PRODUCT IS NO LONGER AVAILABLE ********** *******************************************************************/ if($products['products_status'] == 0) { echo '<br /><strong style="color: red">' . TEXT_ITEM_NOT_AVAILABLE . '</strong>'; } $i++; ?></td> <td valign="top" class="smallTexties"><?php echo $products_price; ?></td> <td valign="top" class="smallTexties" align="center"><?php /******************************************************************* * PREVENT THE ITEM FROM BEING ADDED TO CART IF NO LONGER AVAILABLE * *******************************************************************/ if($products['products_status'] != 0) { echo tep_draw_checkbox_field('add_wishprod[]',$wishlist_id); } ?></td> </tr> <?php } ?> </table> <br /> <div id="mydiv"></div> <?php echo tep_draw_button(BUTTON_TEXT_ADD_CART, 'cart', null, 'primary', array('params' => 'onclick=\'var input = document.createElement("input"); input.setAttribute("type", "hidden"); input.setAttribute("name", "wlaction"); input.setAttribute("value", "cart"); document.getElementById("mydiv").appendChild(input);\'')) . " " . tep_draw_button(BUTTON_TEXT_DELETE, 'trash', null, 'primary', array('params' => 'onclick=\'var input = document.createElement("input"); input.setAttribute("type", "hidden"); input.setAttribute("name", "wlaction"); input.setAttribute("value", "delete"); document.getElementById("mydiv").appendChild(input);\''))?> <?php /******************************************************************* *********** CODE TO SPECIFY HOW MANY EMAILS TO DISPLAY ************* *******************************************************************/ if(!tep_session_is_registered('customer_id')) { ?> <div class="contentTextir"> <p><?php echo WISHLIST_EMAIL_TEXT_GUEST; ?></p> <table cellpadding="2" cellspacing="0"> <tr> <td colspan="2"><?php echo $guest_errors; ?></td> </tr> <tr> <td class="main"><?php echo TEXT_YOUR_NAME; ?></td> <td class="main"><?php echo tep_draw_input_field('your_name', $your_name); ?></td> </tr> <tr> <td class="main"><?php echo TEXT_YOUR_EMAIL; ?></td> <td class="main"><?php echo tep_draw_input_field('your_email', $your_email); ?></td> </tr> </table> </div> <?php } else { ?> <div class="contentTextir"> <p><?php echo WISHLIST_EMAIL_TEXT; ?></p> </div> <?php } ?> <p><?php echo $email_errors; ?></p> <?php $email_counter = 0; ?> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <?php while($email_counter < DISPLAY_WISHLIST_EMAILS) { ?> <tr> <td class="main"><?php echo TEXT_NAME; ?> <?php echo tep_draw_input_field('friend[]', $friend[$email_counter]); ?></td> <td class="main"><?php echo TEXT_EMAIL; ?> <?php echo tep_draw_input_field('email[]', $email[$email_counter]); ?></td> </tr> <?php $email_counter++; } ?> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td colspan="2"><?php echo $message_error; ?></td> </tr> <tr> <td colspan="2" class="main"><?php echo TEXT_MESSAGE . tep_draw_textarea_field('message', 'soft', 45, 5); ?></td> </tr> <tr> <td colspan="2" align="right"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', null, 'primary', array('params' => 'onclick=\'var input = document.createElement("input"); input.setAttribute("type", "hidden"); input.setAttribute("name", "wlaction"); input.setAttribute("value", "email"); document.getElementById("mydiv").appendChild(input);\'')); ?></td> </tr> </table> </form> <?php } else { // Nothing in the customers wishlist ?> <div class="smallTexties"> <?php echo BOX_TEXT_NO_ITEMS; ?> </div> <?php } ?> </form> </div> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> I cant seem to figure out if i made a mistake in isntalling the add-on, if im just too stupid to figure out how it works. - Jack
-
Hello! I am having some trouble with this add on. When looking at my wish list, i dont seem to have any fields in which to write who shoul receive the wishlist: And also, in my admin section under the "Wishlist category" i dont seem to have any data: Anyone who have had similar problems, and know of a solution? Best Regards - Jack
-
I will, but before breaking everything i thought that id ask :) No guts no glory!
-
Thank you so much! quick question though... what happens to all the 8 digit codes allready in place? will they still work?
-
Hello! I have made some flyers, with a Discount Code printed on it, but i forgot to check the length of the code allowed in the Discount Code 2.6 system, so i have made a 10digit code on the flyer, but the system only allows 8 -___-' is there a way to change the system, so it can allow longer codes? This is the Add On i have: http://addons.oscommerce.com/info/7700 Thank you in advance! Best Regards. Jack
-
Looking for a Stock light add on
jack_frost replied to jack_frost's topic in General Add-Ons Support
What is it called if you dont mind me asking? :) -
Looking for a Stock light add on
jack_frost replied to jack_frost's topic in General Add-Ons Support
Hi! Yes maybe, is there one where it shows yellow when low stock? I tried searching the Add on section but couldnt find one (for 2.3) -
Hi! I have a webshop and a physical store, and everything on the webshop is in stock at my physical store. However i would like to open a warehouse, so i can expand the number of items on my webshop without regards to what i can fit in my physical store. But to help my customers to see what i have in stock in my physical store, and what is ready to ship becaouse we have it in stock in my warehouse, i would like something like this Stock information: http://www.4sound.dk/shop/elektriske-guitarer/gibson/les-paul-traditional-ebony-black.html You can see it in the right side. It displays that it is in stock in some of their departments, and out of stock in others. Is there such a contribution for OsC? Best Regards. Jack
-
I made this change: This is what you have written: // if the order contains only virtual products or the cart wt is zero and the cart total is zero as well, // forward the customer to the billing page as a shipping address is not needed. - www.theukwaltons.co.uk if ($order->content_type == 'virtual' || $total_weight == 0 && $cart->show_total() == 0) { But should read // if the order contains only virtual products or the cart wt is zero and the cart total is zero as well, // forward the customer to the billing page as a shipping address is not needed. - www.theukwaltons.co.uk if ($order->content_type == 'virtual' || $total_weight == 0 || $cart->show_total() == 0) { However, it seems to skip the shipping page regardless of the weight i have a product that weighs 0.00 but my other products weigh something and they skip the shipping as well
-
Yes! - again thank you so much, that worked. However, i would like it to have more lines. like the Text_input field in Product description. if i 'style="width:400px;height:200px"' it doenst make more lines, it only gives me alot of white over and under the one input line.
-
Yes that was what i meant! Width and height! - i would very much like to be able to see more than one line at a time. <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '100', '15') . ' ' . tep_draw_pull_down_menu($field['field_name'].'[' . (int)$field['language_id'] . ']', $optionArray, $selected) . ' ' . $languages[$field['language_id']-1]['name']; ?></td> <?php } else if ($field['table_name'] == TABLE_PRODUCTS_DESCRIPTION) { ?> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '100', '15') . ' ' . tep_draw_input_field($field['field_name'] . '[' . (int)$field['language_id'] . ']', $field['field_value']) . ' ' . $languages[$field['language_id']-1]['name']; ?></td> <?php } else { ?> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '100', '15') . ' ' . tep_draw_input_field($field['field_name'], $field['field_value']); ?></td> this is the code that defines the input fiel correct? How would one add a width (aand height) attribute to it? (i am not that good at coding) Help is very much apriciated!
-
This Contrib works great! - but is there a way to make the data field bigger? I would very much like it to be the same size as the product description data field. But i cant figure out were the data input fields size is defined. Thank you - Jesper
-
hmmm, back again. Its becouse of this code: <div id="headerShortcuts"> <td> <?php if (!is_object($lng)) { include(DIR_WS_CLASSES . 'language.php'); $lng = new language; } if (getenv('HTTPS') == 'on') $connection = 'SSL'; else $connection = 'NONSSL'; $languages_string = ''; reset($lng->catalog_languages); while (list($key, $value) = each($lng->catalog_languages)) { $languages_string .= ' <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $connection) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a>;'; } echo $languages_string; ?> </td> </div> not sure what part. (the code is my work around, to get the language boxes up in the header shortcuts)
-
You are correct sir, it loads with the original Header.php thank you, let the modification begin! :)
-
this is what i get when i say "show source" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="LTR" lang="en"> <head> <link rel="icon" type="image/jpg" href="http://fatima.dk/images/icon.jpg"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Fatima</title> <base href="http://fatima.dk/shopp/catalog/" /> <link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.6.css" /> <script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script> <script type="text/javascript" src="ext/jquery/bxGallery/jquery.bxGallery.1.1.min.js"></script> <link rel="stylesheet" type="text/css" href="ext/jquery/fancybox/jquery.fancybox-1.3.4.css" /> <script type="text/javascript" src="ext/jquery/fancybox/jquery.fancybox-1.3.4.pack.js"></script> <link rel="stylesheet" type="text/css" href="ext/960gs/960_24_col.css" /> <link rel="stylesheet" type="text/css" href="stylesheet.css" /> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-23015164-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body> <link rel="stylesheet" media="only screen and (max-device-width: 1024px)" href="ipad.css" type="text/css" /> <div id="bodyWrapper" class="container_24"> <div class="fixcenter"> <div id="header" class="grid_24"> <div id="storeLogo"><a href="http://fatima.dk/shopp/catalog/index.php"><img src="images/store_logo.png" alt="Fatima" title=" Fatima " width="960" height="137" /></a></div> <div id="headerShortcuts"> <td> no error .__.