I have just started to develop a plugin for redmine 3.
And, I'd like to hide some menu items from the top_menu or the project menu.
I know I can use the delete_menu_item helper.
But I don't know the names of the menu items.
Is there a way to get the names of the menu items,
maybe through "rails console" or something?
Thanks.
Well you can use the Redmine Custom CSS plugin. It allows you to use custom CSS styles for your redmine. You can add a CSS style that hides the menu items. You can get the ids of the menu items using the browser developer tools. For example Chrome Developers toolbox.
Related
In Superset one can customize the styles for a particular dashboard through CSS-templates, but I want to change the styles for the whole UI such as Home page on which you see the list of dashboards. What would be the easiest way to do this?
I am creating a project in Oracle Apex and need to create tabs in it like Employee Services, Manager Services etc.
However as per Apex documentation and what i read the option for creating tabs should be in Shared Components -> Navigation=> Tabs(Legacy). I found this option while importing an old apex project.
I need to implement similar thing using tabs in my latest apex application.
But what i see currently in Navigation menu is -> Navigation Menu option instead of tabs.
They dont look the same.
Please advice on how to create tabs in Apex application.
You can create region on page, Type: Static Content; Appearance -> Template -> Tabs Container. All Sub-regions will be displayed as tabs.
The Universal Theme uses navigation menus instead of legacy tabs, but these can still look like tabs. See the Universal Theme guide.
The Apache Superset UI has a CSS template tab, which can be used apparently to edit and change the UI skin.
I tried editing the the CSS sheet but nothing is changing, Am I missing something?
What will be the best way to change Apache Superset skin.
The Superset documentation is a bit sparse and I was unable to find clear instructions on how to do this. I'm leaving an answer that will hopefully save others time.
Note: tested on Apache Superset v0.22.1
Creating a CSS template
Login to Superset with an account that has admin privileges
Go to Manage. Then CSS Templates. This will take you to a page showing all the available templates.
Create a new CSS template by clicking the + icon in the top right.
Specify the Template Name and Css. Click Save.
Applying a CSS template
How it works in Superset is you manually apply the templates to dashboards. So with that in mind ...
Go to the dashboard whose CSS you'd like to change
Click Edit Dashboard. It should be available in the top right. If you can't see the Edit Dashboard button then that means you don't have the required privileges to make any changes to the dashboard.
Click the Actions dropdown button and go all the way down to Edit CSS. This will allow you to access all the templates that you'd created previously in step 1. Select the template you want. During the selection process, the CSS will be applied automatically and you can get a preview of how it's going to look.
Once you have selected a template. Go back to the Actions dropdown button but this time click Save to save your changes.
That's all there is to it!
I am using Virtuemart 2 and Joomla 2.5 . i have assigned slideshow module in home page, but slide show module is displayed in Cart Page too. I'm much confused and I have no idea to solve it.
Like Shairya said, modules depend on the item ID to determine if they need to display or not. If a page in Joomla does not have a corresponding menu item, then it will inherit the item ID from the page that linked to it. You can do a couple of things to fix your issue. First, you can make a new menu and create a menu item for the VM cart. You don't have to put the menu in a module, it does not need to display for it to work.
You can also install Advanced Module Manager and use the Display on Home Page filter for the slideshow. AMM will not display modules on a page that inherits the home page item ID if you use this filter.
I am writing an page inside Sitecore where users can create Sitecore items by entering some very basic information. One of the requirements is to the Sitecore RTE inside this form. The RTE should have all the command buttons available and working like linking to 'Media Library', 'Flash', 'Items', etc that come as defaults.
The control is working fine but I can't get any of the Sitecore commands to work. I get a -
Web.config registration missing! The Telerik dialogs require a
HttpHandler registration in the web.config file. Please, use the
control's Smart Tag to add the handler automatically, or see the help
for more information: Controls > RadEditor > Dialogs > Introduction.
I have checked all the Telerik settings and the handler is registered. I am not sure what else I can do to resolve this.
This is very crucial for the client. Also, if there are any alternatives you can suggest would be awesome.
Thanks
You can try the suggestions provided in the following help article: http://www.telerik.com/support/kb/aspnet-ajax/editor/error-web-config-registration-missing-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file.aspx