Removing email subscription and posting from options menu

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Removing email subscription and posting from options menu

Mark W. Kidd
I have an unrelated issue to my other thread that's cropping up as I customize my options menu with NAML. I'd like to remove both menu items related to Nabble email functionality from the interface.

I can change other parts of app_dropdown without any trouble, but when I try to remove those two lines I get a flashing "Loading ..." message that stays in place indefinitely. This is happening at http://link.appalachiancommunites.org/ and here's the override I'm attempting to use:

<override_macro name="app_dropdown" requires="node">
    <n.dropdown.
        id="appdropdown"
        text="[t]Options[/t]"
        title="[t]Click for options[/t]"
        loadOnClick="/template/NamlServlet.jtp?macro=app_dropdown_later&node=[n.id/]"
    >

        <n.menu_group. text="[t]Application[/t]">
            <n.menu_edit_name_and_description/>
            <n.menu_change_type/>
            <n.menu_change_appearance/>
            <n.menu_change_domain_name/>
            <n.menu_mailing_list_archive_settings/>
            <n.menu_change_language/>
            <n.menu_change_title_and_meta_tags/>
            <n.menu_extras_and_addons/>
            <n.menu_use_google_analytics/>
        </n.menu_group.>

        <n.menu_group. text="[t]Structure[/t]">
            <n.menu_create_sub_app/>
            <n.menu_manage_pinned_topics/>
            <n.menu_manage_sub_apps/>
            <n.menu_parent_options/>
        </n.menu_group.>

        <n.menu_group. text="[t]Users[/t]">
            <n.menu_change_permissions/>
            <n.menu_manage_users_and_groups/>
            <n.menu_manage_subscribers/>
            <n.menu_manage_banned_users/>
        </n.menu_group.>

        <n.menu_separator/>

        <n.menu_embedding_options/>
        <n.menu_download_archives/>
        <n.menu_delete/>

        <n.other_menu_entries/>

        <n.menu_sysadmin_options/>
    </n.dropdown.>
</override_macro>
Reply | Threaded
Open this post in threaded view
|

Re: Removing email subscription and posting from options menu

Pedro
Hi,
now that you've done that, please, go to the macro "app_dropdown_later".  
You'll see:
<override_macro name="app_dropdown_later" requires="servlet">
    <n.javascript_response/>
    <n.get_node_from_parameter.>
        <n.menu_subscription/>
        <n.menu_post_by_email/>
Now, remove the line 5 and save.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Removing email subscription and posting from options menu

Mark W. Kidd
That's got it. Thanks!