Remove upload tab from Link menu - ckeditor

Is there a way to remove the "Upload" tab when using the Link dialog? I don't need it removed globally, just in the Link functionality.

See config.dialogRemoveTabs:
config.removeDialogTabs = 'link:upload';

Related

Open Source dialog directly by clicking custom button

I use CKEDITOR and need to open Source Dialog only, without toolbar and button Source. I want to click button in separate place and show dialog to user. Searching in docs doesnt give any result. Can you suggest me something?

How to add button in rte editor toolbar TYPO3

I want to add button in rte editor toolbar. On clicking it automatically a specific image should be inserted in editor.
Here is an example image link https://ucarecdn.com/06a0c19f-1f75-4531-9210-e18409ee72b0/Capture.PNG
You will need to override the YAML configuration for this,
1) PageTsConfig: Typoscript settings
RTE.tt_content.types.textmedia.bodytext.preset = full
RTE.config.tx_news_domain_model_news.bodytext.preset = default
2) ext_localconf.php
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['my_preset'] = 'EXT:my_layout_extension/Configuration/RTE/Default.yaml';
Only you need to move Default.yaml to the 'EXT:my_layout_extension/Configuration/RTE' directoty. For more NITSAN Blog and typo3worx blog will help you.
Hope this makes sense!

How to make pimcre menu open items in _blank window using hardlink

I have Pimcore cms which has a menu who consist of many link. Those links is created using hardlink. I want to create such link to some page with link property target="_blank". How can I do this? Can it possible?
You can make a custom property for link target and render this into the template, while you output the menu.

Kendo UI Autocomplete open link in same tab/window

Below example allow us to open a link in a new tab/window when user selects item from the AutoComplete.
http://jsbin.com/EQamewI/2/edit
How to modify window.open(href) to open the link in same tab/window?
Instead of window.open(href) use location.assign(href);
Documentation: http://www.w3schools.com/jsref/met_loc_assign.asp
If you are in an iframe, you can use top.location.assign(href);

FB LIke Button & FBML

I have created a tab (now in the side menu) using FBML which links to my website. I have added a "Share" button which works, but can't seem to add a "Like" Button. Can anyone tell me the code?
You can't officially... However there is a workaround in using the FBML comments like button.
See: http://blog.elliotjameschong.com/2011/01/03/how-to-add-a-facebook-like-button-to-a-fbml-tab/
watch this, is in spanish but the code works
http://cosasparaelface.blogspot.com/2011/01/colocar-el-boton-me-gusta-en-pagina.html

Resources