Esempio n. 1
0
def uninstall():
    """Uninstalls the compositor application.
    """
    # Unregister content types
    unregister_content_type("Composite")

    # Unregister Templates
    unregister_template("Composite")
Esempio n. 2
0
def uninstall():
    """Uninstalls the lfc_contact_form application.
    """
    # unregister your stuff here
    unregister_content_type("ContactForm")

    # Unregister template
    unregister_template("Contact Form")
Esempio n. 3
0
def uninstall():
    """Uninstalls the program application.
    """
    # Unregister content type
    unregister_content_type("ProgramCatalog")
    unregister_content_type("Program")
    unregister_content_type("Trainer")
    unregister_content_type("Video")
    unregister_content_type("Article")
Esempio n. 4
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. 5
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. 6
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. 7
0
def uninstall():
    """Uninstalls the page application.
    """
    # Unregister content type
    unregister_content_type("Page")