Esempio n. 1
0
def uninstall():
    """Uninstalls the blog application.
    """
    # Unregister content type
    unregister_content_type("News")
    unregister_content_type("News Entry")

    # Unregister template
    unregister_template("News")
    unregister_template("News Entry")

    # Unregister portlet
    unregister_portlet(NewsPortlet)
Esempio n. 2
0
def uninstall():
    """Uninstalls the blog application.
    """
    # Unregister content type
    unregister_content_type("Blog")
    unregister_content_type("Blog Entry")

    # Unregister template
    unregister_template("Blog")
    unregister_template("Blog Entry")

    # Unregister portlet
    unregister_portlet(BlogPortlet)
Esempio n. 3
0
def uninstall():
    """Uninstalls the ScrollNavigatorPortlet application.
    """
    # Unregister content type
    unregister_content_type("Scrollable Container")
    unregister_content_type("Scrollable Part")

    # Unregister template
    unregister_template("Scrollable Overview")
    unregister_template("Carousel Overview")
    
#    unregister_template("Scrollable Part")

    register_content_type(Page,
        name="Page",
        sub_types=["Page"],
        templates=["Article", "Plain", "Gallery", "Overview"],
        default_template="Article")

    # Unregister portlet
    unregister_portlet(ScrollableNavigatorPortlet)
    unregister_portlet(FeedbackActionPortlet)
Esempio n. 4
0
def uninstall():
    unregister_portlet(TextBlockPortlet)
    unregister_portlet(SlideshowPortlet)