Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

kiku90

Pioneers
  • Posts

    9
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by kiku90

  1. Hello all,

     

    Demo works perfect.

    I've installed this great contribution even a few times and I'm getting confused because it doesn't work in my shop. "Share" button seems to appear but when I click on it, it doesn't work at all.

     

    I've done a bit of reading on this and unfortunately Mootools (Socializer) and Scriptaculous (Lightbox) are mutually exclusive, so you can't use them both at the same time.

     

    The workaround I have found is to use Slimbox which is a minimalist version of lightbox (looks exactly the same) but uses Mootools rather than Scriptalicious and it works fine.

     

    Just download the Mootools version of Slimbox from here and upload to your catalogue root and then use this code to call both socializer and slimbox on your product_info page

     

    <script language="javascript" type="text/ecmascript" src="social/js/mootools-1.2-core.js"></script>
    <script language="javascript" type="text/ecmascript" src="social/js/socializer.js"></script>
    <link href="social/css/socializer.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/slimbox.js"></script>
    <link rel="stylesheet" href="css/slimbox.css" type="text/css" media="screen" />

     

    Hope that helps :)

     

    Demo here http://www.dirtbikebitz.com/sidi-charger-m...ite-p-2093.html

     

    Dave

     

    Well... it still doesn't work, even on your page :'(

     

     

    (!) If you ran into the problem with mootools conflicting with jquery, I have a simple solution for you! It took an hour to find, and 20 seconds to implement and it works.

     

    From http://blog.phil-taylor.com/2007/01/31/usi...thout-conflict/ :

     

    The jQuery library, and virtually all of its plugins are constrained within the jQuery namespace. As a general rule, “global” objects are stored inside the jQuery namespace as well, so you shouldn’t get a clash between jQuery and any other library (like Prototype, MooTools, or YUI).

     

    That said, there is one caveat: By default, jQuery uses “$” as a shortcut for “jQuery” and so does MooTools!!!

     

    However, you can override that default by calling jQuery.noConflict() at any point after jQuery and the other library have both loaded. For example (modified from original):

     

    <script src="prototype.js">

     

    <script src="moo.js">

     

    <script src="jquery.js">

     

    <script>

     

    jQuery.noConflict();

     

    // Use jQuery via jQuery(...)

     

    // Use Prototype/Mootools with $(...), etc.

     

    </script>

     

    This will revert $ back to its original library. You’ll still be able to use “jQuery” in the rest of your application.

     

    I was trying to implement jQuery.noConflict(); but I'm doing something wrong or it also doesn't work on my site.

     

    I'm sure that it's all about js conflict because I've got tons of addons. I'm stuck. Any advice, please?

  2. Modification for Languages that have Special Characters

     

    ...

     

    IMPORTANT:

    This file now MUST be saved as the correct charset, it can no longer be saved as a standard ASCII file.

     

    Hello, thank you for another great contribution.

    Everything seems to work fine, but situation gets complicated because of special chars in my shop. I have a polish language shop encoded in UTF-8. When I "install" the modification for languages that have Special Characters and save the file in UTF-8 encode I get a warning at the very top of my page:

     

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\sklep\includes\modules\fwr_media_security_pro.php:1) in C:\xampp\htdocs\sklep\includes\functions\sessions.php on line 102

     

    but the search with special char which I inserted in $lang_additions = 'Ż'; works fine. It's just that wired warning.

     

    Line 102 in ...\includes\functions\sessions.php:

    return session_start();

     

    Any advice?

    Please help.

  3. It should work. Can you post the generated HTML-Code for this text.

     

    What does it looks like if you make echo('ę ó ą ś ł ż ź ć ń'); in products_info.php before:

     

    //PRONUX TMS START
    include DIR_WS_INCLUDES.'TMS/Conf.php';

     

    It looks like "� � � � � � � � �" but when I make it utf8 encode echo('ę ; ó ; ą ; ś ; ł ; ż ; ź ; ć ; ń ;') ( without that free spaces before ';' ) it looks like "ę ó ą ś ł ż ź ć ń".

     

     

    OK, I think I just fixed it. Now I find out that the tabs names being converted (private function convertTabNamesToHTMLEntities()).

     

    I have just removed that function from TabMenuSection.php and a few lines below also removed '$convertTabNamesToHTMLEntities = true' and statement if($convertTabNamesToHTMLEntities).

     

    I Don't know if there will be any further consequences of doing that :-"

    but it worked for me. All my special chars in titles of the tabs seems to be ok.

     

    pscreen.jpg

     

    Thank you very much for your suggestions.

  4. Hello,

    thanks for the contribution, really great job.

    I've installed it successfully and almost everything works fine.

     

    Almost because: I have a polish language store encoded in UTF8 and I have a problem with special chars like ę ó ą ś ł ż ź ć ń etc. In the content it shows it correctly but in the title of a (for example 3rd) tab it shows something like that (it should be 'Dostępność'):

     

    printscreenp.jpg

     

    When I encode special chars in utf8 ( ex. ę -> ę ; ) it will show ę ; instead of ę.

     

    Please help.

  5. I haven't looked at this in ages so I'm afraid I can't comment.

     

    I'll try to have a look when I get a sec.

     

     

    Thank you very much for interest in my problem.

     

    I read in description of this addon:

    " Products can be bought as normal even if auctioned "

    So it is not my mistake and the contribution works perfect.

     

    If you would be so kind ( and have a free time and willingness :) ), please post, is it possible that products on auctions can't be bought as normal? If it is, where do I have to make changes to the code? Or the hard way - is it possible to choose which products can be bought as normal even if auctioned and which can't be bought as normal because auctioned :blush:

     

    Once again thank you for replying ;)

  6. Hello,

    fantastic contribution, I have osc 2.2 rc2 with tons of addons and I'm really impressed because AuctionTastic works with them really great. I had some problems with Total B2B addon and the "missing argument 3..." in display_price but I think I fixed it by putting $products_id in every occurrence of $currencies->display_price in AuctionTastic files. Also had problems with fatal error "call to undefined function calculate_price..." but I found the solution in this topic (adding to includes/classes/currencies.php function calculate_price). Everything works so f great I just cant' believe it :lol:

     

    BUT

     

    I'm confused about one thing and I don't know am I doing something wrong or I misunderstood the purpose of this contrib :blink:

     

    An exemple:

     

    I have demo product lets say title "A Bug's life" (quantity 1).

    I'm putting it on an auction and now: when I click on an "auction products" (link under categories tree menu) it shows me the auction of product "A Bug's life", when I click on it, it shows product page with description and informations about auction (without an add to cart button) - ok that's fine, but when I click on a category DVD Movies->Cartoons and then on a title "A Bug's life" it will not show me the product on an auction but a product with a standard description and add to cart button - that's not fine. Notice that I have qty = 1, so if customer will find the product by going through DVD Movies->Cartoons->A Bug's life it will do the mess. I guess that something could be wrong in products_info.php but I have no idea what.

     

    Hope I described by problem well.

    Any help, please? I would be thankful for an advice.

  7. Hello all,

    first I would like to say thanks for a really great contribution! I installed it without any problems and I added, on a basic of code manufacturers2, a similar table "authors" authors.php... etc and it worked.

     

    To the point:

     

    I'm just wondering how to change a pull down menu in box manufacturers2.php and in advanced_search.php to an input field so the customer could write name of a manufacturer2 (or author in my case) and it would show the results page? Is it possible? My knowledge about sql an php is limited to "copy & paste" so any advices will be welcome :)

     

    Thank you for any advice,

    very sorry for my english, I'm not sure if I described my problem correctly... :(

×
×
  • Create New...