Menu

Fancybox

Anonymous
2014-01-29
2014-02-12
  • Anonymous

    Anonymous - 2014-01-29

    I seem to have BOSC working okay, but I was wondering if fancybox is disabled in this installation. When I click on an image an enlarged image opens in a new window rather than the fancybox popup. Maybe there's some missing code in one of the templates e.g template_top.php or else I need a more up-to-date version of fancybox. Any ideas out there would be greatly appreciated.

    Sincerely,
    Tadeusz

     
    • Anonymous

      Anonymous - 2014-01-31

      As far as I can remember, fancybox has not been intentionally disabled. Fancybox comes with Jquery. Jquery has always had bugs.

       
    • Myles

      Myles - 2014-01-31

      As far as I can remember, fancybox has not been intentionally disabled. Fancybox comes with jquery. Jquery has always had problems.

       
  • Tadeusz Raczkowski

    RE: My earlier question regarding fancybox which I posted under Anonymous

    Apparently, fancybox 1.3.4 is kind of buggy with jquery 1.9.1. I found a solution to the problem at this site:
    http://stackoverflow.com/questions/14344289/fancybox-doesnt-work-with-jquery-v1-9-0-f-browser-is-undefined-cannot-read

    I downloaded the following file: http://www.picssel.com/playground/jquery/fancybox/jquery.fancybox-1.3.4_patch.zip

    and unzipped it into /catalog/ext/jquery/fancybox
    then renamed the unzipped file from jquery.fancybox-1.3.4_patch.js to jquery.fancybox-1.3.4.js
    then edited the template file: template_top.php located in /catalog/includes and replaced the line with jquery.fancybox-1.3.4.pack.js with jquery.fancybox-1.3.4.js. So far, fancybox seems to be working and no errors reported in JavaScript Console other than images that I haven't uploaded yet.

     
  • Karta Larch

    Karta Larch - 2014-01-30

    Many thanks!

    I havent fully explored the mysteries of jQuery, and this is certainly a great help :)

    My ultimate goal would be to figure a way to get a form of ThemeRoller working with BOSC to master the 960 grid system.

    This can be done in CSS, but it would be nice to have something on the admin panel to give some control as far as actual layouts .

     
  • Tadeusz Raczkowski

    I was wrong in the earlier posting regarding having fancybox working correctly. I just noticed that the popup image opens partially behind some clickable elements e.g. Cart Contents and Checkout. I'd like these elements to remain unclickable or part of the background while the fancybox image remains open. I'm wondering if something is missing in the jquery.fancybox-1.3.4.css or the template_top.php files.

     
    • Karta Larch

      Karta Larch - 2014-01-30

      This is a fascinating problem.
      The images created by JQ do not affect the mouse reporting it position
      over live elements underneath.
      Are the images semi-transparent?

      Taking a look at;
      http://fancybox.net/

      Some of the links did seem clickable in the grey frame area, but oddly,
      some did not.

      Hopefully Myles will have a clue as to deactivating the underlying page
      while JQ is using fancybox.

      K

      On 1/30/2014 1:36 AM, Tadeusz Raczkowski wrote:

      I was wrong in the earlier posting regarding having fancybox working
      correctly. I just noticed that the popup image opens partially behind
      some clickable elements e.g. Cart Contents and Checkout. I'd like
      these elements to remain unclickable or part of the background while
      the fancybox image remains open. I'm wondering if something is missing
      in the jquery.fancybox-1.3.4.css or the template_top.php files.


      Fancybox
      https://sourceforge.net/p/jbookcloud/discussion/scripts/thread/87f29ecc/?limit=25#beae


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/jbookcloud/discussion/scripts/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
      • Tadeusz Raczkowski

        With the fancybox image open, everything in the background is transparent except for the Cart Contents and Checkout buttons. These buttons are clickable and will send you to either shopping_cart.php or checkout_shipping.php. You can close the fancybox image by clicking anywhere outside of the image frame as long as you don't click the two buttons which are live links and not grayed out or transparent like the background. Ideally, you would like customers not to be sent to another page by mistakenly clicking on one of these buttons when the intention is merely to close the image. Hopefully, somebody out there in BOSC land will come up with something. I'm sure the answer will come to me eventually if I bone up on the ins and outs of JQuery and fancybox. In the meantime, I'll continue entering bookdata, do some more book scans, do some more testing of CATO Jr. which I downloaded some time ago.

         
        • Karta Larch

          Karta Larch - 2014-01-31

          One very good place to go for advice is the OSCommerce forums.
          Make it clear that BOSC is pure OSC 2.3.1 with only modest modifications
          for booksellers, and with standard addons - or they might not talk to you!
          One of the developers there, whose name escapes me, had developed an
          awesome JQuery toolbox better than ThemeRoller, but it got broken when
          they updated JQ as it relied on a third party site which went down. It
          might be Toyicebear. In any case there is at least one highly proficient
          JQuery programmer there.
          Myles is perhaps hunting down the info as we speak.

          Cato jr. is a product of Kevin Donaldson of bridgetownbooks.com - he did
          some updates a short while back so you might want to check the downloads
          section there. he is an excellent java programmer but has the great
          misfortunes of having a real job, as well as a life - so has had
          little time for the esoteric joys of shuffling bits and bytes about.

          It is however very useful for customizing export files for our jebay
          Ebay uploader program. testers for that are greatly needed, as currently
          only Myles in the UK and myself in the US have been able to get though
          the basics of JBC to use it among us ABE booksellers!

          :)

          K

          On 1/30/2014 8:35 PM, Tadeusz Raczkowski wrote:

          With the fancybox image open, everything in the background is
          transparent except for the Cart Contents and Checkout buttons. These
          buttons are clickable and will send you to either shopping_cart.php or
          checkout_shipping.php. You can close the fancybox image by clicking
          anywhere outside of the image frame as long as you don't click the two
          buttons which are live links and not grayed out or transparent like
          the background. Ideally, you would like customers not to be sent to
          another page by mistakenly clicking on one of these buttons when the
          intention is merely to close the image. Hopefully, somebody out there
          in BOSC land will come up with something. I'm sure the answer will
          come to me eventually if I bone up on the ins and outs of JQuery and
          fancybox. In the meantime, I'll continue entering bookdata, do some
          more book scans, do some more testing of CATO Jr. which I downloaded
          some time ago.


          Fancybox
          https://sourceforge.net/p/jbookcloud/discussion/scripts/thread/87f29ecc/?limit=50#beae/24a9/ec14


          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/jbookcloud/discussion/scripts/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

           
    • Myles

      Myles - 2014-01-31

      The Cart Contents and Checkout boxes were set to appear on top of the banner. You may be able to tune the z-index so that they appear over the banner but under the fancybox?

      This is specified in catalog/stylesheet.css

      #headerShortcuts { /BOSC modified for full width logo/
      position: absolute;
      z-index: 2000;
      margin-top: 160px;
      margin-left: 760px;
      white-space:nowrap;
      }

      Would you be interested in joining the developers?

       

      Last edit: Myles 2014-02-02
  • Tadeusz Raczkowski

    Thanks for the compliment about joining the developers, but I don't really know enough about BOSC to join a developers group just yet. I just started using BOSC and JBookCloud a couple of weeks ago, so I'm just getting my feet wet. Maybe when I've figured out how oscommerce and jquery really work I might have something to contribute. As for the suggestion regarding headershortcuts, I'll try and tinker with that a bit and see if anything changes. Meanwhile, I was finally able to get fanycybox titles or captions to appear when the fancybox images opens. Took the advice about checking out the oscommerce forums and found the answer there. Here's the link if anyone is interested:
    http://forums.oscommerce.com/topic/368172-product-popup-image-text-231/pagep1551977fromsearch1#entry1551977
    The solution is provide by kenact. I tried it out already and so far it seems to be working.

     
    • Karta Larch

      Karta Larch - 2014-02-02

      The OSC forums are a wealth of information.

      If ever posting there, remember to mention that you are working with OSC
      2.3.1 with a host of stock (that is OScommerce - rather than commercial
      - addons. myles has a list of them in the readme) addons.

      There are also thousands of addons at addons.oscommerce.com

      Some things to keep in mind for those new to OSC:

      There are basically 3 'flavors' of OSC.

      There is OSC 2.2 (which is often divided into older MS2 and later RC2).
      This is an older version of OSC, ad the version with the most addons. It
      is not as secure out of the box as later versions, but is quite powerful
      in capabilities, but without addons does require some programming
      skills, or at least familiarity with web site hosting. It has Simple
      Template System, STS, for major changes in site layout, which many
      users are in love with, so 2.2 will still be around for a while. I run
      2.2 on my commercial site, but dont use STS as I believe it will
      conflict with some of my modifications. It uses an older version of PHP
      so not all sites can host it.

      OSC 2.3 is more of a major version, than minor change. It is not
      compatible with 2.2 without reworking the addons (knowing PHP). This is
      what BOSC is - 2.3.1 .
      All 2.3 addons should be compatible with each other. STS is not
      compatible with 2.3 and no one has found a way to make it so. 2.3 uses
      the 960 grid system via CSS and so is architecturally different from
      2.2. It also uses a newer version of PHP so should be more compatible
      with newer web host sites. It has built in security features lacking in
      2.2 . Major changes to the panel configurations must be done in CSS -
      this is not like Wordpress or Drupal where there are unlimited amount of
      'themes' and even semi-automated programs for creating them. there was
      once a program to do that, but as mentioned previously, it was broken by
      a JQ upgrade and a key host site shut down.

      Avoid OSC 3.0 - it is a developers experiment with OSC modelled on a CMS
      (content management system ala Wordpress or Drupal).
      It has almost no support and apparently even less addons.

      CMS type sites are not really designed for ecommerce - their typically
      enormous databases can be notably slower especially with added modules.

      Are you running BOSC on a test site, or a live site?
      For testing you can run it on your own machine with LAMPP software.
      (Either Linux or Win).

      Are you a bookseller?
      On ABE?
      If so drop by the bookseller forum there!

      :)

      K

      On 2/1/2014 10:33 PM, Tadeusz Raczkowski wrote:

      Thanks for the compliment about joining the developers, but I don't
      really know enough about BOSC to join a developers group just yet. I
      just started using BOSC and JBookCloud a couple of weeks ago, so I'm
      just getting my feet wet. Maybe when I've figured out how oscommerce
      and jquery really work I might have something to contribute. As for
      the suggestion regarding headershortcuts, I'll try and tinker with
      that a bit and see if anything changes. Meanwhile, I was finally able
      to get fanycybox titles or captions to appear when the fancybox images
      opens. Took the advice about checking out the oscommerce forums and
      found the answer there. Here's the link if anyone is interested:
      http://forums.oscommerce.com/topic/368172-product-popup-image-text-231/pagep1551977fromsearch1#entry1551977
      http://forums.oscommerce.com/topic/368172-product-popup-image-text-231/page__p__1551977__fromsearch__1#entry1551977
      The solution is provide by kenact. I tried it out already and so far
      it seems to be working.


      Fancybox
      https://sourceforge.net/p/jbookcloud/discussion/scripts/thread/87f29ecc/?limit=50#a274


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/jbookcloud/discussion/scripts/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Tadeusz Raczkowski

    No, I'm not a bookseller per se although I did at one time sell a few items through Alibris. I use Abe and Alibris quite a lot, but only for database, price info, bibliographic formating stuff. When I switched over to Linux several years ago about the only thing I really missed was HomeBase from AbeBooks which I was using as a database for my personal book collection. I really fell in love with its features. It was while trolling through Sourceforge looking for a Homebase substitute that I could use on a Linux machine that I discovered a similar product JBookCloud, BOSC, and Cato Jr. I'm basically running BOSC/JBookCloud on localhost on a Linux Mint 13 machine to test out its features. Hopefully, down the road, I would like to go live, but we'll see. If I do go live it will be on a home server rather than a hosting company. If I ever get around to it I would like to install the new FreeBSD 10.0 and test it out as a server and see how it compares to some of the other Linux based distros out there.

     
    • Karta Larch

      Karta Larch - 2014-02-03

      I was able to get Homebase to run in Wine under Ubuntu 10.04 , but had
      no success under Mandriva, Fedora, or Debian.
      I m currently using Debian Mint Jesse but i need to do some work on it
      since the upgrade - so most of the time I've been in Win lately.
      I believe the problem is related to ARFrmExt.ocx, possibly mixed case
      issues. I replaced the JET libraries , dumped in most of Winetricks, and
      even copied over most of my /System32 directory. There may be
      additional JET issues. Homebase is based on Access, which uses the
      Office97 libraries.

      In Linux (as well as Win) I use XAMPP in /opt . By not using the system
      utils it seems to keep things simpler.
      The main thing to keep in mind is that you may need to open up some
      values in php.ini and/or my.cnf - for large databases it is. Mine have
      20,000 listings. .

      Ideally we should all be able to run our web sites from our desktop
      machines. The problem of course is that Internet providers usually do
      everything they can to prevent that, including blocking certain ports.
      But some ISPs do not block ports, and there are services for maintaining
      your IP to your domain name and its highly unlikely that the bandwidth
      used by a home server for books would even attract their attention. If
      you use Paypal you should personally not need SSL - but i am not certain
      that at least a 'partial SSL' cert may be required. All financial info
      is handled by the Paypal site itself, but you still need the shipping
      info and users who look for that lock icon might be wary if it is
      missing. .

      If you collect more than books, take a look at GCStar, which pretty
      much handles everything.

      FreeBSD has historically at least been the best server system, capable
      of great loads comapred to others. But keep in mind there is a world of
      difference between server systems, commercial systems, and consumer
      systems. And the options for software and support - hopefully fully Open
      Source with forum support.

      For sheer versatility I would stick with Debian/Ubuntu. Especially for
      smaller systems/servers most problems should be no more than a google away.
      You might not be aware that Mint comes in two varieties: Ubuntu, and
      Debian. The Ubuntu version uses the somewhat different Canonical
      Coropration architecture, with some packages incompatible to the wider
      Debian world. Linux Mint Debian Edition -LMDE - is pure Debian, but its
      a 'rolling distribution' - its technically Debian Testing (was Wheezy,
      now Jesse) which ideally should never require a troublesome major
      upgrade from scratch. it should automagically update to newer versions,
      but some hurdles can be experienced if your system is like mine with
      half the Debian archives loaded and 2 million files!

      As a bookseller I collect things.

      And not just books ;)

      K

      On 2/2/2014 2:03 PM, Tadeusz Raczkowski wrote:

      No, I'm not a bookseller per se although I did at one time sell a few
      items through Alibris. I use Abe and Alibris quite a lot, but only for
      database, price info, bibliographic formating stuff. When I switched
      over to Linux several years ago about the only thing I really missed
      was HomeBase from AbeBooks which I was using as a database for my
      personal book collection. I really fell in love with its features. It
      was while trolling through Sourceforge looking for a Homebase
      substitute that I could use on a Linux machine that I discovered a
      similar product JBookCloud, BOSC, and Cato Jr. I'm basically running
      BOSC/JBookCloud on localhost on a Linux Mint 13 machine to test out
      its features. Hopefully, down the road, I would like to go live, but
      we'll see. If I do go live it will be on a home server rather than a
      hosting company. If I ever get around to it I would like to install
      the new FreeBSD 10.0 and test it out as a server and see how it
      compares to some of the other Linux based distros out there.


      Fancybox
      https://sourceforge.net/p/jbookcloud/discussion/scripts/thread/87f29ecc/?limit=50#5e5a


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/jbookcloud/discussion/scripts/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.