About this topic

  • Posted by matthewshore 1 year ago. There are 3 posts. The latest reply is from matthewshore.
  1. The plugin works great as it is - its the best example of this type of plugin i have found, but we cant really use it on our site as is. What we really need for our site (http://www.moveoneinc.com) is a sidebar that only displays the current top level parent page and its children, grand children, etc, not the whole site... is this something that one could do to the code of your plugin, or even better, an option I'm missing in the menu?

    So for example, on my site, i'm on the logistics page (http://www.moveoneinc.com/logisitics), i want to only display that page and its children... we already have something like this, but crucially, it isn't collapsible, so the list of pages gets quite long as you can see.

    We use wordpress 2.9.2, and what ever the latest version of the plugin is.

  2. You can achieve this effect by hand-coding collapsing pages into the sidebar. Try putting the following code in your page.php file

    <?php
    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar') ) {
    $thisPage = $post->ID;
      $options = array('inExcludePage' => 'include',
                       'inExcludePages'  => $thisPage
                       );
      collapsPage($options);
    }
    ?>
  3. Many thanks, i tried that, but we have other widgets, so the sidebar is never 'empty'.

    here is what we currently have with the pulgin:
    http://www.moveoneinc.com/wp-content/uploads/2010/05/Kyrgyzstan-Move-One-Inc._1272967158084.png

    and this is what we would like it to look like
    http://www.moveoneinc.com/wp-content/uploads/2010/05/Kyrgyzstan-Move-One-Inc._1272967158084-ideal.png

    I really appreciate your help on this, and maybe this is a feature that you could integrate into your plugin in the future

    Matthew

RSS feed for this topic

Have you read the FAQ?
Have you tried the latest development version (at the bottom)?

Reply

You must log in to post.