Disable CKEditor Link "browse server" button - ckeditor

Looking for a very simple way to disable/remove the CKEditor "browse server" button when using the Link toolbar button.

All you need to do is ensure that filebrowserBrowseUrl config property is set to an empty string. Like so:
CKEDITOR.replace( 'editor1', {
filebrowserBrowseUrl: ''
} );
Note that this will remove the Browse Server button when inserting an image as well. To remedy this issue you can set filebrowserBrowseUrl to '' and then set filebrowserImageBrowseUrl to the url of your file/image browser.

Just replace filebrowserBrowseUrl with filebrowserImageBrowseUrl, and you will only see the "browser button" in the Image pop-up dialog.
Please refer to the document: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-filebrowserBrowseUrl

Related

sitecore how to clear cache after content edit?

I'm editing field value in content manager, then i click save. After refresh page i see old value of field. I tried increase version and clear cache manually:
var context = new SitecoreContext();
Sitecore.Caching.CacheManager.ClearAllCaches();
Item dda = Sitecore.Context.Database.GetItem("/sitecore/content/Serwisy/test");
daa item has old value. If i open page in incognito page i see correct value. How can i resolve it? The best resolve this problem will be clearing after click save but how can i do it?
Remove Sitecore caching after login.
http://[hostname]/sitecore/admin/cache.aspx and click on clear all button.

how to redirect link outside project as tag

Example: In my website I need to redirect to www.google.com. In blade engine:
Click here
After i had clicked "Click here", It return in domain http://localhost:8000/www.google.com
So why it not redirecting to www.google.com?
Try this.
Click here
Use full url like
Click here
After i had clicked "Click here", It return in domain
Click here
This will solve your problem ;) , Remember to use full URL.

elfinder no url in inputfield

I try to use Elfinder v2.1.20 with CKeditor v4.6.2 , but when wil add a image to the inpufield , Elfinder open the image in a popup window,
but NO url add in the input field.
Someone can help me with this.
test page

How do I hide "Save and Add Another" button from edit form in rails_admin?

I applied a rails_admin gem in my Rails app. I want to remove some unnecessary buttons in a specific model edit form, and add my own custom button instead. Please see the screenshot for what I'd like to remove.
#montells Copy https://github.com/sferik/rails_admin/blob/master/app/views/rails_admin/main/_submit_buttons.html.haml this page in your repo at "views/rails_admin/main/_submit_buttons.html.haml"
Now in this file, you can put the condition in which page you want to remove button
e.g.
- if params[:model_name]
- if params[:model_name] != "model_name_in_which_you_want_hide_button"
"Paste above url view"

Redirect to another page by clicking on a link in modal windows

**I have a modal window that displays a list of my groups that I create, I want by clicking on the name of the group modal window closes and redirects to the group profile is made
here is the link line
echo $this->htmlLink($link, $group->getTitle());
$link is a static link like domaine/group/4
thank you**
You can do it using javascript:
parent.Smoothbox.close();
and then redirect using javascript (with parent which means change location property of the parent window).

Resources