def render_subnavigation(options = {}, html_options = {})
      default_options = {
        from_page: @page,
        submenu: true,
        level: 2
      }
      options = default_options.merge(options)
      if !options[:from_page].nil?
        while options[:from_page].level > options[:level]
          options[:from_page] = options[:from_page].parent
        end
        render_navigation(options, html_options)
      else
        return nil
      end
    end
def render_subnavigation(options = {}, html_options = {})
      default_options = {
        from_page: @page,
        submenu: true,
        level: 2
      }
      options = default_options.merge(options)
      if !options[:from_page].nil?
        while options[:from_page].level > options[:level]
          options[:from_page] = options[:from_page].parent
        end
        render_navigation(options, html_options)
      else
        return nil
      end
    end
Renders navigation the children and all siblings of the given page (standard is the current page).

 Use this helper if you want to render the subnavigation independent from the mainnavigation. I.E. to place it in a different area on your website.

 This helper passes all its options to the the render_navigation helper.

 === Options:

   from_page: @page                              # The page to render the navigation from
   submenu: true                                 # Shows the nested children
   level: 2                                      # Normally there is no need to change the level parameter, just in a few special cases