djangocms_blog.cms_menus

class djangocms_blog.cms_menus.BlogCategoryMenu(*args, **kwargs)

Main menu class

Handles all types of blog menu

get_nodes(request)

Generates the nodelist

Parameters:request
Returns:list of nodes
class djangocms_blog.cms_menus.BlogNavModifier(renderer)

This navigation modifier makes sure that when a particular blog post is viewed, a corresponding category is selected in menu

modify(request, nodes, namespace, root_id, post_cut, breadcrumb)

Actual modifier function :param request: request :param nodes: complete list of nodes :param namespace: Menu namespace :param root_id: eventual root_id :param post_cut: flag for modifier stage :param breadcrumb: flag for modifier stage :return: nodeslist

djangocms_blog.cms_menus.clear_menu_cache(**kwargs)

Empty menu cache when saving categories