Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 10 of 10

Thread: Installing and customizing Superfish

  1. #1
    fbmondia
    Guest


    Default Installing and customizing Superfish

    Hi All,

    I was looking for a horizontal drop down menu bar and found superfish as the recommended module to do it. However, I could not find an installation and user guide for it.

    If someone knows, please point me to it.

  2. #2
    osCMax Development Team

    Installing and customizing Superfish

    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,517
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    pgmarshall     $ 35.00
    Rep Power
    81


    Default Re: Installing and customizing Superfish

    Have a look at the pgm template - it is already in there.

    Regards,
    pgmarshall
    _______________________________

  3. #3
    fbmondia
    Guest


    Default Re: Installing and customizing Superfish

    Hi pgmarshall,

    Thanks for the reply. I went to my templates directory to see if I can find the pgm template. I'm using oscmax v2.0.25.

  4. #4
    osCMax Development Team

    Installing and customizing Superfish

    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,517
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    pgmarshall     $ 35.00
    Rep Power
    81


    Default Re: Installing and customizing Superfish

    pgmarshall
    _______________________________

  5. #5
    fbmondia
    Guest


    Default Re: Installing and customizing Superfish

    Hi pgmarshall,

    I took a look at the template and I have some questions. The simple way to be able to install it would be just to use the template but I think it's not possible because download is not possible. I'm also worried about compatibility issues since it's for 2.1, not for 2.0 branch.

    So I would like to ask what is the bare minimum files that I will need to download to be able to make it appear in my site? I also examined the code of the main page to see where it placed the invocation of the superfish menu but could not find it.

    If possible, can you also provide me with a rough outline what to get this to appear? From the looks of things, a simple copy and paste will not be sufficient.

  6. #6
    fbmondia
    Guest


    Default Re: Installing and customizing Superfish

    Hi pgmarshall,

    would just like to update on my previous post. I already found the code for using the superfish menu at line 204. How do I link this to the actual categories of my site? Looking at it, seems like the example did it manually.

  7. #7
    osCMax Development Team

    Installing and customizing Superfish

    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,517
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    pgmarshall     $ 35.00
    Rep Power
    81


    Smile Re: Installing and customizing Superfish

    It does do it manually - since your categories are unlikely to change very often once you have constructed your store I didn't see the point of coding up an admin interface to simply put in 6 or 7 links.

    You could download the template using SVN or just copy and paste the code from the google code link I posted.

    The pgm template is a pretty big rewrite of quite a lot of the code in v2.0.25 which is now mostly included in v2.1 ... I can see no reason why it would not work for v2.0.25.

    You will need all the javascript files in the javascript folder in pgm template - lines 13 - 33, 42 - 59 and 204 -221.

    Hope this gets you started.

    Regards,
    pgmarshall
    _______________________________

  8. #8
    fbmondia
    Guest


    Default Re: Installing and customizing Superfish

    Hi pg,

    I was able to download the pgm theme and it worked like a charm, no code tinkering necessary. It saved me a lot of work for when I was trying to modify to default fallback theme.

    Thanks for all your help.

  9. #9
    fbmondia
    Guest


    Default Re: Installing and customizing Superfish

    Hi pg,

    The question still remains, how do I link the menus to the actual categories?

  10. #10
    osCMax Development Team

    Installing and customizing Superfish

    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,517
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    pgmarshall     $ 35.00
    Rep Power
    81


    Default Re: Installing and customizing Superfish

    Just hold your mouse over the category you want to link to in the categories infobox. Copy down the URL and shove it in the <li> bit.

    http://localhost/testing2.1/catalog/index.php?cPath=6&osCsid=d8qc61s6na5c0oqquuu002n3b5

    <li><a href="<?php echo tep_href_link(FILENAME_DEFAULT, 'cPath=6'); ?>" title=""><span>Category 1</span></a>

    Using the pgm template does mean that your store will be using code stored in the pgm template rather than some of the code in the main core. For example, it has its own product listing modules, shopping cart etc. (Also the shopping cart in the header does not use Gift vouchers so you would need to keep the infobox on)

    Have fun with it.

    Regards,
    pgmarshall
    _______________________________

Similar Threads

  1. Superfish Horizontal Category Menu, Jquery and/or CSS
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-06-2010, 04:03 PM
  2. Superfish Horizontal Category Menu, Jquery and/or CSS
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-06-2010, 04:03 PM
  3. Customizing the Sidebar
    By Cameron in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 12-12-2009, 08:33 PM
  4. Help needed with installing & customizing 2checkout modu
    By mickilein95 in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 12-01-2004, 07:27 PM
  5. Need Help getting starting customizing the look
    By pgowder in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-03-2003, 01:55 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •