Two plugins extended the same block of smarty in backend(ExtJs).
Both plugins are adding buttons in the toolbar of order listing. Separately they working correctly but if they installed together one of them only is showing.
I tried one of them prepend and 2nd append.
Solutions --- in overrided Ext.js component's method should call
me.callOverridden(arguments)
instead of
me.callParent(arguments).
Related
I have a file layout that gonna apply when I reformat the code. It is doing well. However, I got some specific codes that I have a #region around them. The ReSharper would remove these existing #region and apply its pattern.
Is there any way to prevent that? I selected [Remove Regions] to None for the Pattern setting but it doesn't work.
Screenshot of the File Layout Setting
You have to ensure several things:
Set Remove Regions to None in the Default Pattern
Enable Apply file layout in the code cleanup profile of your choice
Check all other R# layers to make sure that your custom layout doesn't get overridden.
Doing all these checks, the region MyRegion doesn't get removed on code cleanup.
I have put "config.tabSpaces = 4;" to configCKEditor, and I can make tabs in usual text.
But if I create bulleted list and try to make tab after some text in second point, sublist is created, but I want just a tab.
first -
result -
This is a "built-in" feature into CKEditor. The list indentation on tab key is handled by indentlist plugin which is required by the list plugin which means that you can't remove it if you want to use lists inside CKEditor.
How to disable aui.css for custom pages in Liferay 7. Is it possible to do this somehow via portal-notmal.ftl
aui.css is coming in through the unstyled theme, which typically is the basis for every theme there is. That being said, you can override it and remove it this way. It's refined in the styled theme, and also in the classic theme (in the same github repo, you'll find it).
If you do so, note that you'll still have to deal with a lot of formatting on your own - the classes and other DOM elements will be generated, but it looks like aui now includes the Lexicon CSS that you'll have to simulate if you get rid of it. Why you'd want to do so, instead of accepting the defaults and overriding what you don't like, is beyond me.
Edit, answering to your comment:
You'd simply create your own theme (Linking to 7.1 here, see below) with any overrides that you'd like to have. There's not a single file with an option, as this configuration file would be too complex and unmanageable.
Also, you sound like you've just started building your site - my recommendation would be to always go with the latest release and use 7.1 (at this time) and note that 7.2 is around the corner, Beta 3 has just been released
I use rails.vim but would like to override one or two snippets with my own using ultisnips.
I've created the snippets but since they're already defined by rails.vim a menu now appears when triggered. I'd like my snippets to override the existing one to avoid the menu.
The solution is to use priority directive. All snippets default to a priority of 0. Therefore, adding this to the top of my custom snippets solved the issue:
# top of custom snippets file
priority 1
I've installed vim latex recently and this plugin causes a lot of additional menu items to appear in macvim:
-------------------------------------------------------------------------------
<apple icon> File Edit Tools Syntax TeX-Suite TeX-Environments TeX-Elements
-------------------------------------------------------------------------------
These are unnecessary to me and actually cause a problem since the new longer menu now hides other info on the top of my screen (such as the clock, battery life, etc). Is there a way to get rid of these additional menu items (TeX-Suite, TeX-Environments, TeX-Elements)? It seems like the relevant file is in .vim/ftplugin/latex-suite/texmenuconf.vim. I'd prefer to add something to my .vimrc, rather than edit files directly in the plugin.
You can use :unmenu to remove menu items. Try :help :unmenu to get the details.