All added links open as target, how to prevent it?

All added links open as target, how to prevent it?

In my Drupal based website, all links that I added from CKeditor open as (target=”_blank” Link example: (<a href=”node/add/name”>Name</a>) After adding, example from html source: (<a target=”_blank”... read more
All added links open as target, how to prevent it?

EntityMalformedException: Missing bundle property on entity of type taxonomy_term

I have strange behavior that when i visit www.mysite.com/taxonomy/term/516/sdfsdf i get EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7788 of /../includes/common.inc). The website encountered an... read more
All added links open as target, how to prevent it?

SearchApiQuery – possible to remove a filter?

The query parameter that is passed to search_api_query_alter has SearchApiQueryFilter member. It contains a protected array of filter elements. I can add to this by calling the createFilter() and filter() methods, but it does not appear that there is a way to remove a... read more
All added links open as target, how to prevent it?

Display decimal field without right side zeros

I have a decimal field for length (cm) with precision 2. If I enter number without ‘.’ it should display as it is only. For example If I enter 23 it should display 23 only not 23.00. If I enter 23.14 it should display 23.14. How can I do that? Am I missing... read more
All added links open as target, how to prevent it?

How to get the vocabulary terms for the current language

How do I programmatically get all the terms within a vocabulary for the current language? This is a similar question to Get translated term name, but not for a single term, but for the entire tree. read more
All added links open as target, how to prevent it?

Add the same field multiple times to a display suite node display

So I’m using display suite with a 2-column layout, and my node has an entity reference field (field_journal). I’m already displaying field_journal as a rendered entity in the LH column, but I’d also like to display a different grouping of fields from... read more
All added links open as target, how to prevent it?

How To Upload Image From Media Library Programmatically?

I enabled latest version of media module to upload images in wysiwyg. It is working fine. There is no problem. I want to upload images programmatically from media library. Below is my code. function test_form_upload_form_alter(&$form, $form_state) {... read more
All added links open as target, how to prevent it?

Error entries in Watchdog duplicated dozen and hundreds of times

I have seen that the table watchdog in my MySQL database is growing enormously, and after TRUNCATE, I see that for each visit to a single page, it generates hundreds of inserts, and when seeing them, they appear to repeat dozen and dozen of times. How can I trace... read more
All added links open as target, how to prevent it?

How to display block with term image field when viewing term node

I’m using the default Taxonomy term view in drupal 7. I have Vocabulary: Portfolio with terms: Wedding Photos, Kids Photos, Other Photos. And I want to show a block of the term image field when a specific term is visited. similar to this ( Add taxonomy term... read more
All added links open as target, how to prevent it?

drush cannot update commerce kickstart

I just installed Commerce Kickstart and got a prompt to upgrade from 7.x-2.20 to 7.x-2.21. drush cannot update throws error: The commerce_kickstart directory could not be found within the modules directory at [error]... read more
All added links open as target, how to prevent it?

How do I add a Confirm Order button in Commerce Checkout?

Using Commerce Kickstart 2 With the default checkout, the payment is taken on the Review page. Then the next page (Payment) processes with the merchant (in our case Authorize.Net). Then there is a Confirmation Page… and the only pane on that page is Express... read more
All added links open as target, how to prevent it?

Getting date_popup new value with JS

I’m currently working on a module with a form where people enter information about their order and select products, where the product selection is handled by JavaScript. The handling of the form will happen with AJAX. But my current problem is that when... read more
All added links open as target, how to prevent it?

How to make a page visible only to users with permission to use the administration theme?

I have created a basic page which I only want to be viewable by people who have access to the administration theme. I have given the page a path of admin/shipping-help but to my surprise the page is visible to anonymous visitors, nor does the page display in the admin... read more
All added links open as target, how to prevent it?

Saving form fields on custom entity

I’m having problems saving my custom entity to the db. I created a custom entity called ‘review’ using hook_entity_info() with a custom controller. I have specified some parameters in the controller using: public function create(array $values =... read more
All added links open as target, how to prevent it?

Set default value for Enity Reference using View and Entity Reference View Widget Checkbox

Basically i have a field (in line item(commerce custom product)) with Field type: Entity Reference and Widget:View. The view is a list of terms and has an aditional field type:Entity Reference View Widget Checkbox to provide a checkbox in so user could configure the... read more
All added links open as target, how to prevent it?

Alert message after add product

I am using Drupal 7 and the Commerce module. How can I set the alert message after adding a product in Drupal Commerce. read more
All added links open as target, how to prevent it?

Multi Country and Language Site

I’m trying to build a single global website that houses multiple countries, each with their own set of language translations. There is also a global overview site that also has its own language options. The global site will live on global.domain.com and function... read more
Align fields in created webforms

Align fields in created webforms

I am new to drupal, and currently i am creating a webpage in drupal from html . i have almost completed. I have created web form for “Contact us” form, after creation it is not in proper alignment. So, my form should be look like the picture shown as... read more
All added links open as target, how to prevent it?

Set minimum quantity in product

I’m looking for a way to set a minimum quantity per product in a Drupal Commerce store. I found this module which claims to do just this, but I can’t get it working and the project seems abandoned: I found this one which is useful if you need to set a... read more
All added links open as target, how to prevent it?

How do I display taxonomy child terms?

I used the Taxonomy View Depth module to create a taxonomy vocabulary like this. Animal Cats Brown white Dogs Brown White What I did was enabling the default taxonomy view, and changing the depth in Content: Has taxonomy term ID (with depth) to 1 instead of 0 (also... read more