Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,571
    Plugin Contributions
    30

    Default How to detect if a specific sidebox is enabled/active

    Apart from a SQL query, as far as I can see there is no function to determine if a specific sidebox is active.
    Or is there another way?
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: How to detect if a specific sidebox is enabled/active

    There's no built-in function if that's what you're asking.
    If you want to see the logic for doing the SQL query to figure it out, see includes/modules/sideboxes/bootstrap/search_header.php.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,571
    Plugin Contributions
    30

    Default Re: How to detect if a specific sidebox is enabled/active

    Exactly what I did thanks.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

 

 

Similar Threads

  1. v155 how to detect im on search page
    By bn17311 in forum General Questions
    Replies: 2
    Last Post: 29 Jan 2017, 04:00 PM
  2. v151 How to detect if an order has been paid?
    By chuckles_net in forum General Questions
    Replies: 9
    Last Post: 24 Jun 2014, 10:32 PM
  3. No free shipping on specif product
    By TonyB6 in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 28 Feb 2011, 03:05 PM
  4. How to disbale a 'Discount Coupon' for a specif category?
    By samar777 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 10 Mar 2010, 12:39 PM
  5. How to detect if logged in?
    By monkeyjr47906 in forum General Questions
    Replies: 3
    Last Post: 3 Dec 2007, 05:48 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR