WordPress.org

Ready to get started?Download WordPress

Forums

CataBlog
How to use my own Lightbox? (10 posts)

  1. YYalamov
    Member
    Posted 1 year ago #

    Hello! Im not going to begin from the post topic, because I`ve got some things to say- Im really excited by this plugin, because its really useful, flexible and easy for work. There isn't a drop down menu with "Most Viewed" or "Price: Low - High", and this is the biggest flaw, but it will be feature improvement :)

    Now, my problem is that I cant use my own Lightbox, im using that plugin http://wordpress.org/extend/plugins/lightbox-plus/installation/
    can you tell me, if there is a way to use it in my catablog?

    Thanks,
    Yordan!

    http://wordpress.org/extend/plugins/catablog/

  2. macguru2000
    Member
    Plugin Author

    Posted 1 year ago #

    To use your own Lightbox simply disable CataBlog's Lightbox and add whatever appropriate HTML markup your Lightbox needs to the CataBlog Template you are using.

  3. YYalamov
    Member
    Posted 1 year ago #

    I cant do it, can you give me an example?

  4. macguru2000
    Member
    Plugin Author

    Posted 1 year ago #

    I am not familiar with the Lighbox plugin you are using, but something like this usually works. Pay special attention to the rel attribute of the anchor tag.

    <a href="%LINK%" class="catablog-image" rel="lightbox" %LINK-TARGET%>
    	<img src="%IMAGE-THUMBNAIL%" alt="" />
    	<strong class="catablog-title">%TITLE%</strong>
    </a>
  5. turiyamoore
    Member
    Posted 1 year ago #

    Hi.

    If I disable the lightbox in Catablog, I am successful with using WP Lightbox 2 plugin, but I don't know how to get the description info in Catablog items to show in that case.

    On this page each item has a description and a buy button.
    http://www.joyiswithinyou.com/store/meditation-benches/

    Can this render in the other lightbox? I'm using the Gallery view.

    thanks.

  6. mbrsolution
    Member
    Posted 1 year ago #

    Hi @turiyamoore what catablog template are you using?

  7. turiyamoore
    Member
    Posted 1 year ago #

    gallery template.

  8. mbrsolution
    Member
    Posted 1 year ago #

    Hi, the gallery template has the proper tokens. I don't use WP Lightbox 2 plugin. So I can't really help you with this.

    However there has to a be a way for you can call CataBlog token in WP Lightbox 2 plugin.

    Kind regards

  9. macguru2000
    Member
    Plugin Author

    Posted 1 year ago #

    You should be able to set a selector or some kind of markup requirement for lightbox 2 to work with an image. I recommend enabling both catablog lightbox and lightbox 2 and setting it so that lightbox 2 ignores catablog items. I am not sure how to do this off the top of my head, since I am not familiar with lightbox 2, but I am sure it is possible.

  10. turiyamoore
    Member
    Posted 1 year ago #

    macguru2000, Thanks. Is there another lightbox plugin you are familiar with, so you can help me make this work?

    thanks! Any tips at all would help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic