Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Posts
    76
    Plugin Contributions
    0

    Default Get a list of just Sidebox Ezpages

    I have a Mega Menu i am using but i wanted to limit the Ezpage list to just show pages that are set to Sidebox.

    I am using the below but it shoes ALL ezpages not just the ones that are set to Sidebox , any idea how i just get the Sidebox ones ?

    Thanks


    Code:
    <?php require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . 'ezpages_drop_menu.php'); ?>

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Get a list of just Sidebox Ezpages

    The place you want to look is probably in ezpages_drop_menu.php, where the SQL query that retrieves the list of ez-pages is built. You will want to test for the sidebox status and sort order of each ez-page while retrieving the list. Look up the correct field names in the database.

 

 

Similar Threads

  1. changing ezpages sidebox title
    By troymation in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 24 Nov 2011, 02:31 PM
  2. Cloning EZpages Sidebox
    By raimond in forum Addon Sideboxes
    Replies: 0
    Last Post: 1 Jun 2010, 04:19 PM
  3. EZPages TOC Sidebox
    By Ajeh in forum Addon Sideboxes
    Replies: 18
    Last Post: 7 Dec 2008, 05:55 PM
  4. Separator line in EZPages sidebox
    By Heather88 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Mar 2007, 07:06 PM
  5. EzPages just wont show up using Latest Version.
    By arpeggio in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 13 Jan 2007, 11:30 PM

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