Jump to content

tolinho

Members
  • Content count

    34
  • Joined

  • Last visited

Profile Information

  • Real Name
    Tolinho

Recent Profile Visitors

4,752 profile views
  1. tolinho

    Sort Products By Dropdown

    Hi, I figured out the problem and fixed it. I also have Ultimate SEO URLs contribution. In the URLs it was adding a "&" instead of only "&" and that was causing the listing to get confused because it could not read the parameters. So I fixed the issue with the URL that was caused by the other contribution and all works fine now. In case you bump in to the same issue now you now!! :)
  2. tolinho

    Sort Products By Dropdown

    Hi everyone. I have a little issue, that I do not know if its only me that has it. If I'm in a category and I select to filter products for certain manufacturer and then use the dropdown box to sort the listing, no matter what option I click, it never works. If only works if I do not have a manufacter selected. Ive checked in Admin the visible columns and there numbers and they all are the same has the ones in Index.php $sort_list = array('10d' => 'Best Sellers', '2a' => 'Products Name A to Z', '2d' => 'Products Name Z to A', '3a' => 'Price Low to High', '3d' => 'Price High to Low'); foreach($sort_list as $id=>$text) { I also have the manufacter column visible, its number 6. One more thing... If I use oscommerce default sort option, with a manufacter selected, and then sort list by price, again using oscommerce default heading sort option, it works, and the dropdown box with the sort option will hold the correct option. Weird ah? seems it will not work if I click on it. Can you please help me? Thanks.
  3. tolinho

    AJAX Attribute Manager support

    Hi steve, I checked both files: D:\IIS\store\admin\attributeManager\languages\english\attributeManager.php and D:\IIS\store\admin\attributeManager\attributeManager.php and found no spaces betwin code and the last ?> of the files. Here is the ending code of my D:\IIS\store\admin\attributeManager\attributeManager.php file ?> <td> <?php echo tep_draw_input_field("stockQuantity", $db_quantity, ' style="margin:3px 0px 3px 0px;" id="stockQuantity" size="4"'); ?> </td> <td valign="top"> <input type="image" src="attributeManager/images/icon_add.png" value="Add" onclick="return root('<?php echo implode(",", $dropDownOptions); ?>');" title="<?=AM_AJAX_UPDATE_OR_INSERT_ATTRIBUTE_COMBINATIONBY_QUANTITY?>" border="0" /><br/>t: </td> </tr> </table> <?php if(!isset($_GET['target'])) echo '</div>'; } // end target = newProductStockValue if(!isset($_GET['target'])) echo '</div>'; ?> <?php } // End QT Pro Plugin ?> and my D:\IIS\store\admin\attributeManager\languages\english\attributeManager.php file: <? /* $Id: attributeManager.php,v 1.0 21/02/06 Sam West$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Released under the GNU General Public License English translation to AJAX-AttributeManager-V2.7 by Shimon Doodkin http://help.me.pro.googlepages.com helpmepro1@gmail.com */ //attributeManagerPrompts.inc.php define('AM_AJAX_YES', 'Yes'); define('AM_AJAX_NO', 'No'); define('AM_AJAX_UPDATE', 'Update'); define('AM_AJAX_CANCEL', 'Cancel'); define('AM_AJAX_OK', 'OK'); define('AM_AJAX_SORT', 'Sort:'); define('AM_AJAX_TRACK_STOCK', 'Track Stock?'); define('AM_AJAX_TRACK_STOCK_IMGALT', 'Track this attribute stock ?'); define('AM_AJAX_ENTER_NEW_OPTION_NAME', 'Please enter a new Option Name'); define('AM_AJAX_ENTER_NEW_OPTION_VALUE_NAME', 'Please enter a new Option Name'); define('AM_AJAX_ENTER_NEW_OPTION_VALUE_NAME_TO_ADD_TO', 'Please enter a new Option Value Name to add to %s'); define('AM_AJAX_PROMPT_REMOVE_OPTION_AND_ALL_VALUES', 'Are you sure you want to remove %s and all the values below it from this product?'); define('AM_AJAX_PROMPT_REMOVE_OPTION', 'Are you sure you want to remove %s from this product?'); define('AM_AJAX_PROMPT_STOCK_COMBINATION', 'Are you sure you want to remove this stock combination from this product?'); define('AM_AJAX_PROMPT_LOAD_TEMPLATE', 'Are you sure you want to load the %s Template? <br />This will overwrite this products current options and cannot be undone.'); define('AM_AJAX_NEW_TEMPLATE_NAME_HEADER', 'Please enter a new name for the new Template. Or...'); define('AM_AJAX_NEW_NAME', 'New Name:'); define('AM_AJAX_CHOOSE_EXISTING_TEMPLATE_TO_OVERWRITE', ' ...<br /> ... Choose an existing one to overwrite'); define('AM_AJAX_CHOOSE_EXISTING_TEMPLATE_TITLE', 'Existing:'); define('AM_AJAX_RENAME_TEMPLATE_ENTER_NEW_NAME', 'Please enter the new name for the %s Template'); define('AM_AJAX_PROMPT_DELETE_TEMPLATE', 'Are you sure you want to delete the %s Template?<br>This cannot be undone!'); //attributeManager.php define('AM_AJAX_ADDS_ATTRIBUTE_TO_OPTION', 'Adds the selected attribute on the left to the %s option'); define('AM_AJAX_ADDS_NEW_VALUE_TO_OPTION', 'Adds a new value to the %s option'); define('AM_AJAX_PRODUCT_REMOVES_OPTION_AND_ITS_VALUES', 'Removes the option %1$s and the %2$d option value(s) below it from this product'); define('AM_AJAX_CHANGES', 'Changes'); define('AM_AJAX_LOADS_SELECTED_TEMPLATE', 'Loads the selected template'); define('AM_AJAX_SAVES_ATTRIBUTES_AS_A_NEW_TEMPLATE', 'Saves the current attributes as a new template'); define('AM_AJAX_RENAMES_THE_SELECTED_TEMPLATE', 'Renames the selected template'); define('AM_AJAX_DELETES_THE_SELECTED_TEMPLATE', 'Deletes the selected template'); define('AM_AJAX_NAME', 'Name'); define('AM_AJAX_ACTION', 'Action'); define('AM_AJAX_PRODUCT_REMOVES_VALUE_FROM_OPTION', 'Removes %1$s from %2$s, from this product'); define('AM_AJAX_MOVES_VALUE_UP', 'Moves option value up'); define('AM_AJAX_MOVES_VALUE_DOWN', 'Moves option value down'); define('AM_AJAX_ADDS_NEW_OPTION', 'Adds a new option to the list'); define('AM_AJAX_OPTION', 'Option:'); define('AM_AJAX_VALUE', 'Value:'); define('AM_AJAX_PREFIX', 'Prefix:'); define('AM_AJAX_PRICE', 'Price:'); define('AM_AJAX_SORT', 'Sort:'); define('AM_AJAX_ADDS_NEW_OPTION_VALUE', 'Adds a new option value to the list'); define('AM_AJAX_ADDS_ATTRIBUTE_TO_PRODUCT', 'Adds the attribute to the current product'); define('AM_AJAX_QUANTITY', 'Quantity'); define('AM_AJAX_PRODUCT_REMOVE_ATTRIBUTE_COMBINATION_AND_STOCK', 'Removes this attribute combination and stock from this product'); define('AM_AJAX_UPDATE_OR_INSERT_ATTRIBUTE_COMBINATIONBY_QUANTITY', 'Update or Insert the attribute combination with the given quantity'); //attributeManager.class.php define('AM_AJAX_TEMPLATES', '-- Templates --'); ?> And where error code points to line 72 I have: header('Content-type: text/html; charset='.CHARSET); I realy dont know whats going on. With my defaut language (portugues) selected from the dropbox in the admin/index.php page and then edit the product all works perfectly. no errors The problem is when I go to admin/index.php and select a nother language, english, spanish or german, then go edit a product I get the error. Hope someone has the solution for this. Thanks
  4. tolinho

    AJAX Attribute Manager support

    Hello. Im configuring the store to work with multilanguage. With my defaut language (portugues) selected from the dropbox in the admin/index.php page and then edit the product all works perfectly. The problem is when I go to admin/index.php and select a nother language, english, spanish or german, then go edit a product I get the error below: Warning: Cannot modify header information - headers already sent by (output started at D:\IIS\store\admin\attributeManager\languages\english\attributeManager.php:1) in D:\IIS\store\admin\attributeManager\attributeManager.php on line 72 First I hade the version 2.8.2 so I updated to 2.8.5 but still have the same problem. Ive got trough this thread and found a similar problem with the session.php so I updated my files with that fix, but did not resolve my problem. Does anyone know how to fix this problem? Thanks
  5. tolinho

    AJAX Attribute Manager support

    Hi naiadomare. How did you resolve that issue? I installed version AJAX-AttributeManager-V2.8.2 and get the same problem when setting "$this->add('AM_USE_SORT_ORDER' , true);" I would like your help please :rolleyes: Hello TomaszBG Is there some way to turn sort order on and get the contribution working? I really need it lol :blush:
  6. tolinho

    Dynamic SiteMap

    Hi, Please can someone help or share there knowledge on this issue? I’m still stuck here. Did I not install the contribution correctly?
  7. tolinho

    Dynamic SiteMap

    Hi guys. I really need some help with this issue. I’ve got it working local on my pc where I do all my tests. When I upload to the online server I get the error. Catchable fatal error: Object of class box could not be converted to string in /home/ercomer/public_html/admin/includes/functions/html_output.php on line 281 The only difference I find is not on the code, but on the server system. Locally I run PHP Version: 5.1.6 (Zend: 2.1.0) Database: MySQL 5.0.24a-community-nt And the online server runs 5.2.1 (Zend: 2.2.0) MySQL 4.1.22-standard Could this be the cause for the error? How can I fix it? Locally on the file html_output.php at the line 281 works with both: if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]); or with if ( ($default == '' && $GLOBALS[$name] == $values[$i]['id']) || ($default == $values[$i]['id']) ); But on the online server none of the lines work :'( I really could do with some help. Thanks.
  8. tolinho

    Dynamic SiteMap

    Hello. I got the same problem. I did the changes you said, but I still get the same error Catchable fatal error: Object of class box could not be converted to string in /home/ercomerc/public_html/admin/includes/functions/html_output.php on line 281 Here is my code: // Output a form pull down menu function tep_draw_pull_down_menu($name, $values, $default = '', $parameters = '', $required = false) { $field = '<select name="' . tep_output_string($name) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; //if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]); // For Dymanic Sitemap to work must change this line if ( ($default == '' && $GLOBALS[$name] == $values[$i]['id']) || ($default == $values[$i]['id']) ); for ($i=0, $n=sizeof($values); $i<$n; $i++) { $field .= '<option value="' . tep_output_string($values[$i]['id']) . '"'; if ($default == $values[$i]['id']) { $field .= ' SELECTED'; } $field .= '>' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '</option>'; } $field .= '</select>'; if ($required == true) $field .= TEXT_FIELD_REQUIRED; return $field; } //// Can you help?
  9. Hi Guys. I really need help, I hope someone has the solution. :'( I’ve got other contributions installed, in this case been “Options as Images for MS2” and it works beautifully no problem at all. I came across this wonderful contribution “Option Type Feature”. I’ve installed it and it works fine but there is an issue. Unfortunately my PHP knowledge it not enough to figure out the solution to get these contributions to work in harmony on the “product_info.php” page. That’s the only problem I have. The issue is that they interfere with hitch other. Does someone have both of these contributions installed and working? Or does someone know that are the changes that need to be done on “product_info.php” for this page to work properly? I do not know where to place the code for Option Type Feature product_info.php without messing up the Option Type Feature and vice versa. I have tried but I only get one working at a time, not both in conjunction with hitch other. Thank you in advance. :thumbsup:
  10. tolinho

    Easy Coupons

    I got it... ^_^ Ive installed the contribution.
  11. tolinho

    Easy Coupons

    Hello Im trying to install this contribution I´ve been following install.txt but now I am stuck on: :blink: 5)invoice.php add: <?php // extract configuration detail $config = split(';',EASY_COUPONS); $ec_invoice = $config[3]; if ($ec_invoice) { $coupon_query = tep_db_query("select code from coupons where orders_id_issued = ".$HTTP_GET_VARS['oID']); $coupon = tep_db_fetch_array($coupon_query); if ($coupon['code']) { echo '<br><CENTER><span style="font-size:12px">Your Coupon Code : <b>'.$coupon['code'].'</b></span></CENTER>'; echo '<CENTER><span style="font-size:10px">(Use this code during your next purchase to receive a nice discount)</span></CENTER>'; } } ?> The problem is that I don’t know where to put this code :'( I can’t advance any further because on this. I read the install.txt file until the end and I noticed there are not are guides on where to past the code. Seems so many of you have successfully installed this contribution can you please tell me where I must past the code on each file. On the Admin side and on Store side. Thanks. :thumbsup:
  12. tolinho

    Product Listing in Columns v2.0

    Does someone have any information on this issue? Please let me know. :'(
  13. tolinho

    Product Listing in Columns v2.0

    Does any body have some help for me regarding my previous post? any at all... :'(
  14. tolinho

    Product Listing in Columns v2.0

    Hi folks I have two contributions that installed - Individual Boxes for products in central boxes - Product Listing in Columns And I’ve got everything working perfect, I would just like to change one thing in the product listing page. Where’s the thing. - With the contribution Individual Boxes I get the picture on the left and the right I get the rest Example - With the contribution Product Listing, all gets centred, the product name, picture under, then description etc Example What I would really like to do and cant find any where on the forum is to change Product Listing in Columns contribution to list my products like Individual Boxes contribution does, with the picture on the left and the rest on the right. I really need some help, hope to get some help to solve this issue. Cheers
  15. tolinho

    Wishlist 3.0 Support Thread

    Thanks for taking the time to reply. What must I change? all fields that are p.products_id change them to pd.products_id ?? Could you be a little more specific, its just that i'm not very good with PHP. Thank you
×