The prospects of Drupal as a web CMS will go further with the new features added in Drupal 10.
When I planned to use media upload in CKeditor for uploading files to the site, I faced one problem, i.e. I could use only predefined image style as a preset to style my image. I wanted to use a custom preset to media upload. To achieve that we have to do some customization. Add the following custom code in our custom module.
Hi guys, here I am going to explain how to enable syntax highlighting in ckeditor. Lets assume that you already have a Drupal 7 installation ready and CKeditor also (https://www.drupal.org/project/ckeditor).
Adding extra plugins to the CKEditor is like extending Drupal by installing new modules. Plugins can be used to add more functionalities to the CKEditor. In this article I will be explaining how to create a simple custom plugin and how to configure it in Drupal 6.
Suppose you have a site to test which has the following functionality. There is a text field and an editor. When we enter text on the text field, immediately it should be displayed on the editor. To be more clear, after entering the text on the field then focusing out from it, the values should be displayed in the CK editor. And our intention is to automate it using Selenium. Lets check how this can be automated.
We had a requirement by one of our Drupal client of configuring IMCE to CKeditor instead of ckfinder. I have faced the following issues after changing the file browser type as IMCE in CKeditor.
[Drupal] Issue with CKeditor when switching between plain text mode and rich text mode in CKeditor enabled textareas
The CKeditor module has an issue which will add some extra html markup tags to the original content of a CKeditor enabled text area. This will be annoying since it will break the original content formatting.
Recently, I got stuck with a strange issue while using CKEditor. The problem was, When code such as v-aligns for tables or inline styles are added in ckeditor and saved then everthing things works fine, but as soon as the page is edited inline css and classes gets stripped off the content.If you are also facing the same problem then read on to know how to solve this.
Commerce Marketplace module can be used when you want to set up a multi-vendor store. This module introduces a new entity type called "store". If you don't have any idea about how to set up your store or add products to your store, then read on. This article is going to save your day.
Recently PayPal changed their policies and creating a sandbox account was a bit confusing for me, when I wanted to test my ubercart site. However, I created one and thought of writing about it in case some one needs it. So, here it goes.
One of our client's site, which runs on Drupal 7 allows users to create envelopes based on the custom values like name, address etc submitted by the user through that Drupal website. The requirement was to load this envelope in ckeditor so that end user can edit the default values given as per their wish. So we had to load the form field with the default values given in template. We used jQuery to do this. If you are looking to know how to load a drupal 7 form field with default values from CKEDITOR body content, then read on.
Why do we use CK-Editor? Well, obviously to create customizable contents, right? If you are creating a page, you can change the heading style, color, font-size, font-style etc with the help of CK-Editor. Well,I don't know if you could create your custom color or font-size, but changing default fonts of ckeditor is definitely possible. For that you may follow the below steps: Step 1 : Create a css that contains the path to the fonts.
When we install a fresh copy of drupal, we can see that on the top bar icon, there is an image of drupal. This image is known as 'favorite icon' of a site. This is a default image which is provided by drupal. You may replace this with your custom image. If you want to know how you could change the favorite icon, please read on. To upload our custom favicon, follow the below steps. Step 1: Log into your Drupal 7 Admin panel. Using the top menu area, click on the Appearance option. This will show up the themes page where it lists all themes installed within Drupal 7.
[SOLVED][Drupal FCKeditor] FCKeditor Unknown You are using a feature that requires $cookie_domain to be set, but it is not set in your settings.php.
FCKeditor Unknown You are using a feature that requires $cookie_domain to be set, but it is not set in your settings.php. A few Drupal users have reported the presence of this warning message in the status reports of their Drupal site. If you are encountering this warning in the status report of your Drupal site then continue reading to solve the problem.
A few Drupal users noticed that their CKEditor was not working in IE8. They had also noticed that the Debug Bar they had used was showing the error "Line 11 - Error Insufficient memory to continue this operation." The IE8 debugger tool also showed the following errors 'Drupal' is undefined on line 21, 25 and 28 in ckeditor.config.js & "insufficient memory' on line 11 in ckeditor.js". If you are facing the same issue in your Drupal site when using IE8 then read on.
Drupal users who migrated from the FCKEditor to CKEditor realized that there was no easy way to Upload images in CKEditor. The reason was that unlike FCKEditor there is no upload tab available in the CKEditor browser unless CKFinder is used which requires a commercial license. If you are looking for way to overcome this limitation then continue reading.
You might encounter a situation in a Drupal site where you wish to enable CKEditor in a custom field but realized that CKEditor was not loading in custom fields. The only field CKEditor might have been loading would have been the body field. If you are looking for a way to add the CKEditor to the field of your choice in your Drupal site then continue reading.
A Drupal user encountered an error when using CKEditor in their Drupal site. Images were being uploaded but the path was incorrect as CKEditor was inserting a double slash to the image path after upload causing broken images in the Drupal site. Removing the double slash manually solved the problem. If your Drupal site is experiencing the same problem and you need a better solution then continue reading.
Some Drupal users had realized that the CKEditor module installed in their Drupal site was inserting unwanted slashes into their content when the content was saved after being edited in the CKEditor. If you are facing the same issue then continue reading to know the fix.