Întrebare VirtueMart Product Type Filter module

25 Dec 2010 16:03 #105 de rajeev_kk

  • Fresh Boarder
  • Fresh Boarder

  • Postări: 1
  • Karma: -1
  • Ai primit o mulțumire:

  • Gen: Necunoscut
  • Data nașterii: Necunoscut
  • the demo given in www.drijendesigns.co.uk/sites/Hilton/

    is not the same as the download you provided.

    I am unable to get the output as shown in
    www.drijendesigns.co.uk/sites/Hilton/ind..._virtuemart&Itemid=3

    for the filter module VirtueMart Product Type Filter

    Vă rugăm Autentificare să participaţi la discuţie.

    27 Dec 2010 10:15 #106 de webgobe

  • Administrator
  • Administrator

  • Postări: 153
  • Karma: 4
  • Ai primit o mulțumire: 8

  • Gen: Bărbat
  • Data nașterii: 18 Ian 1960
  • Yes, on Hilton site there is added an extra formatting - has nothing to do with the functionality.
    The trick added there to obtain that lock is an advanced JavaScript library called jNice wich allows to formatting the standard form elements. It's applied to most of forms/form elements, is not specific to this module.
    Just download the library (you will find it easily, it's an open source project), load it to your site, and you will have the same look.

    Vă rugăm Autentificare să participaţi la discuţie.

    03 Feb 2011 09:47 #126 de marald

  • Fresh Boarder
  • Fresh Boarder

  • Postări: 1
  • Ai primit o mulțumire:

  • Gen: Necunoscut
  • Data nașterii: Necunoscut
  • I would like to have the same output/style as well.

    How can I include Jnice libraries in joomla? I've downloaded the jnice package zip, but where to include? In every template header?

    Also, when I try to go into the module from the backend of joomla, the layout breaks and I have several page errors. (see picture 2) the module seems to be working though on the front end, but it shows a field I don't want to use: (all filters, one filter dropdown) how do i disable this? (see picture 1)

    Joomla version is 1.5.22 running the latest virtuemart.

    regards,
    Marald

    Acest mesaj are o imagine atașament.
    Te rugăm să te conectezi sau să te înregistrezi pentru a-l vedea.

    Vă rugăm Autentificare să participaţi la discuţie.

    03 Feb 2011 10:51 - 03 Feb 2011 10:52 #127 de webgobe

  • Administrator
  • Administrator

  • Postări: 153
  • Karma: 4
  • Ai primit o mulțumire: 8

  • Gen: Bărbat
  • Data nașterii: 18 Ian 1960
  • jNice: include it in your template's header, as any other JavaScript library you want to use.
    Backend problems: Do you use the default Kephri template for your backend? I tested it only with that, and works as expected. If you use anything else... you need to find and fix the display problems cause.
    As for the product type selector: IT'S A MANDATORY PARAMETER, you need to set it for the module to work properly. If you don't like it how it looks/works, you can do one of two:
    1. Go to /lib subdirectory of the module, and edit the "producttypes.php" to match your needs
    2. Edit the mod_vm_product_filter.xml file, and replace this line:
      <param name="product_type_id" type="producttypes" label="SELECT PRODUCT TYPE"  description="SELECT PRODUCT TYPE DESC"/>
      with something like
      <param name="product_type_id" type="text" label="SELECT PRODUCT TYPE"  description="SELECT PRODUCT TYPE DESC"/>
      , wich will replace the selector with a plain textfield where you can insert the Product Type ID. It's a hard way to do it.... but if you prefer the hard way :woohoo: , I have nothing against :whistle:
    Last Edit: 03 Feb 2011 10:52 de webgobe.

    Vă rugăm Autentificare să participaţi la discuţie.

    19 Iun 2011 21:11 #170 de kregus

  • Fresh Boarder
  • Fresh Boarder

  • Postări: 2
  • Ai primit o mulțumire:

  • Gen: Necunoscut
  • Data nașterii: Necunoscut
  • Dear Webgobe,

    The jNice script is correctly loaded in my header, but the form elements stay unaffected, nothing is happening. Is there some very simple step I'm overlooking? Do I have to add anything in the HTML/PHP code of the form as well?

    It seems like simply loading jNice should do the trick, as the jNice script rewrites the HTML/PHP, but nothing happens. I really want to get this to work.

    Thanks in advance!

    Vă rugăm Autentificare să participaţi la discuţie.

    20 Iun 2011 07:05 #171 de rene

  • Fresh Boarder
  • Fresh Boarder

  • Postări: 1
  • Ai primit o mulțumire:

  • Gen: Necunoscut
  • Data nașterii: Necunoscut
  • I am having the same "problem". I added the jNice to my template, but it does not work. Somehow you need to make a connection between the various elements on the page and the javaScript. How can we do that?

    Vă rugăm Autentificare să participaţi la discuţie.

    Forum

    Forum Statistics

    • Total utilizatori:14.58k
    • Ultimul membru:samuel
    • Total mesaje:335
    • Total subiecte:77
    • Secţiuni totale:2
    • Total categorii:14
    • Deschis astăzi:0
    • Deschis ieri:0
    • Răspuns astăzi:0
    • Răspuns ieri:0

    Sign In or Create Account

    Please login to Automatic Backlinks and activate this site.