Disable primary menu link in drupal 6 without using any drupal module? - menu

I am using drupal 6. in My project i have used primary menu's but from them i want disable one primary menu link. For that i don't want to any special module. Please help me.

There are two options:
admin/build/menu-customize/primary-links - > You can uncheck the
enabled check-box to just disable the primary link
In css, you could just disable the primary link with
visibility:hidden or display:none

Related

Add attribute in Bannercomponents Admin tab [cmscockpit] Hybris

I have added one custom attribute in SimpleCMSComponent which I am able to see in backoffice but not in CMS cockpit.
Is there any file do I need to update to show this field in CMSCockpit ?
to be more precise I am trying to show this field in BannerComponent's Admin or Basic tab.
Thanks
Changes need to be added in EditorArea_BannerComponent.xml and then system update is required by selecting OOTB cockpits and custom cockpit extensions.

Renaming Custom Preferences in NetSuite

I've got some parameters creating custom preferences in NetSuite.
By default they are grouped in a General heading under custom preferences. However I see other bundles have their custom preferences grouped (pic attached).
How do I group my preferences in my own "named" section??
Thanks in advance.
As far as I know there is no way to do that. NetSuite automatically does the grouping for the preferences when you install the bundle.
What you can go is create a bundle of your preferences and install it in your account. I have not tried this so I don't know if it will work.

PJS.Bootstrap Orchard Theme Settings

I'm trying to use the PJS.Bootstrap Theme in Orchard. After I've enabled the module I can see a "Theme-Bootstrap" menu option under Settings on the Dashboard. When I click that menu item, all I see is Settings page with just a "Save" button and nothing else.
I'm expecting to see something where I can switch between different CSS styles. When I look at the source for the Theme I'm seeing items like cosmo, cyborg, darkly, etc.
Is there something else I need to do to get the PJS.Bootstrap Theme to show Settings? I'm using Orchard v.1.10.1
Thanks!
You'll probably need to upgrade the module to .NET 4.5.2, it is currently at 4.5.1. So if you add the theme to your themes folder and add it in Visual Studio, then right click the project and select Properties, here you can change the .NET version. You'll probably also need to remove the references to JetBrains in the BootstrapThemeSettingsPartHandler.cs class.

How can you disable blog comments in Orchard CMS?

How can you disable blog comments in Orchard CMS? I can't see how to do this. There's nothing about disabling comments in settings.
You can add control functionality on your site by enabling and disabling features exposed by the modules that are installed to Orchard. To view the available features, click Features under the Modules heading in the Orchard admin panel.
I think you will have one called Orchard.Comments
To disable the feature, simply click Disable for that feature.
Also, you can modify the page content type in Orchard to not allow comments.
Log in as an administrator and then head over to the Admin Dashboard. On the left hand navigation, select the Content item.
Then click on the Content Types tab at the top.
Find the Page Content Type and click the edit link.
Click the Add Parts button.
And then uncheck the Comments part check box.
Click Save on this page and then Save again on the Page content type.
Also, when you create a new Page in your Orchard site you will see the Allow new comments check box so that your users can leave comments on the page/article that you create.

show administration theme when editing page in drupal

I am using a custom theme for the front end of my drupal website.I created it by modifying garland theme.And I am using garland as the admin theme.
When I try to edit a page from admin it shows the edit page with my custom theme (http://example.com/node/2/edit?destination=admin%2Fcontent%2Fnode). And It breaks up the layout.
I want to show the admin theme for all the admin tasks. This problem also occurs on the blocks page (http://example.com/admin/build/block).
Is there any custom module or core hack to show admin theme when editing pages.
If you want to use admin theme by non-admin users you must give permissions to that user: Permitions->System->View the administration theme
Be sure that you check the option in the page example.com/admin/settings/admin
To get the admin theme showing for non-admin users, I went to admin/people/permissions/list and checked the "View the administration theme" box for all roles.
Sounds simple except that the Filter list wasn't showing that entry when I typed theme, so it took me awhile to find it. Finally I used the browser find to find all instances of the word "theme".
Or, you could type "System" in the Filter list to show only a few options in the relevant category.
You can use admin theme module, download and install it , the go to permission in dmin/people/permissions then in Administration theme set permission to waht user you want by checking Access administration theme.
Then goto http://chapboo.com/admin/appearance in bottom of the page in custom page add
admin/*
node/add/*
node/*/edit
and finally clear the cache
You have to check the checkbox under:
exemple.com/admin/appearance

Resources