0
votes
0answers
2 views

Views PHP references

I would like to use Views PHP module in my Drupal Site. But I don't have any idea on how to use this and I can't find good tutorial for this module. Anyone who can suggest any references or videos ...
1
vote
1answer
7 views

Node Creation Paths

I added a custom node-type (content-type) called Document (for example), i also allowed it to create a menu item for navigation purposes. Then assigned a non-admin role the permission to create new ...
1
vote
0answers
14 views

Hooks placements in Drupal 7

I am trying to place some hooks, but i don't even think they are being called. THEMENAME_menu_alter(&$items) and THEMENAME_user_view_access($account) are the hooks i am placing in my ...
0
votes
0answers
12 views

gallery ordering

I am using drupal 7, Gallery formatter and lightbox2 for displaying images. I have a content type 'gallery' with image and text fields. the display is set to jQuery gallery. settings ; Slides style: ...
0
votes
0answers
15 views

Drupal 7 Register Form Fields Order

I am using Drupal 7, and trying to make a custom register form to fit my needs. I am also using a contrib module named "Auto Assign Role" to let the user choose his role. Now heres the issue, the ...
0
votes
0answers
8 views

How to Button a Rules Link URL

I'm using Rules Link, via a Views block set in a user Panel page. At the moment it sits ready for a users click response to trigger an event and works fine in its approach. Prior to major ...
1
vote
1answer
8 views

Core overlay on path defined in views

Anyone know how to render a path defined in a view in the core overlay. hook_admin_paths_alter() does not work in that instance. I can only think that it has to do with the execution pipeline. ...
0
votes
0answers
10 views

CSRF validation failed?

Drupal Version is 7 and the Services version is 3.7. I enabled session authentication and I use poster with my request URL to http:/.../user/login.json. I get a "401 unauthorized: CSRF validation ...
-1
votes
0answers
7 views

Bind Textfield With taxonomy at adding content

In project I have taxonomy terms hotel room service which include following terms 1. Delux room 2. Standard room 3. Common Room I have added this taxonomy to content type Hotel Details. While adding ...
-2
votes
1answer
13 views

Registration pop up for new guest users

I have a drupal 7 site. I have users that are coming to many pages of my site (not only home page) from different sources on the internet. My goal is that when a guest user is entering the site, no ...
0
votes
0answers
17 views

How to read a Entity reference node's fields?

I had a field using entity reference in my site. I'm trying to develop a module can read/use it. $wrapper = entity_metadata_wrapper('node',$node); dpm($wrapper->myRefField->getPropertyInfo()); ...
0
votes
0answers
8 views

IIS - how to handle file permission problem

Here is a generic error message, shown several times on each page : Warning: file_put_contents(temporary://fil25BC.tmp): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call ...
0
votes
0answers
16 views

How to move drupal site from remote server to localhost?

I have a drupal site running currently on bluehost. The site is big and I want to test every thing I change on local host before doing it on production site. Unfortunately, I can not move it to from ...
0
votes
0answers
12 views

Unable to set data value of a enity through Rule

I am trying to create sub order from an order place on my portal . so this I have created a rules which triggers at checkout.I have created this rules with help of a component as per below. Main ...
0
votes
1answer
11 views

I would like to create a database of dogs [on hold]

I'd like to create a custom site but I don't familiar with drupal and its plugins. So my Idea is I have two kind of users: owners and breeders And an another table I have to store the dog details like ...
0
votes
0answers
20 views

%20 being added to the end of url

i have a dual language site (English and Arabic). I have a view that has pix that link to different parts of the site. My problem is that when im not logged into the site and im in the arabic version ...
0
votes
0answers
10 views

Taxonomy Terms - Views Services

I have created a view of type service that fetches Taxonomy terms, response as following : { data: [ { taxonomy_term_data_name: "Child Term", tid: "6", parent_id: "37", ...
1
vote
2answers
14 views

change the list option based on the selection type

In a form, user have an option to choose the submission type. Based on the selected submission type, user should get an option to choose sub-type. Please let me know how this is done in Drupal 7. ...
0
votes
1answer
12 views

Display categories in views to get chosen and to display specific tags

I wonder if there is a possibility to display categories and after clicking them, views display only specific category's items. Is it possible?
0
votes
0answers
9 views

Where can I find file_field_sorces for drupal 8 to enable ELFinder in CKEditor to work? [on hold]

Where can I find file_field_sources for Drupal 8 to enable ELFinder in CKEditor to work? I have installed Drupal 8 Alpha 10 with the integrated CKEditor. I have installed Drupal 8 ELFinder and ...
0
votes
1answer
14 views

Display formresults in same block as form

I have created a module that writes a block with a very simple form in it. The purpose of it is calculating distance between 2 adresses, one fixed, one asked by the form. Now I can't get the ...
0
votes
0answers
20 views

Print file description in field template

I've successfully made field templates to customize the rendering of several fields using Devel and the example field.tpl.php. But I'm stuck on this one: I have a file field that I'm rendering with ...
0
votes
0answers
14 views

How to get all filters and functions available in Twig templates?

I have an option to create and edit twig templates via UI but I need to display what filters and functions are available to the user but I don't know how to get them.
0
votes
2answers
6 views

Different Site name and slogan for Organic Groups based multisite architechture

I am using OG based multisite in Drupal. I need to override sitename and slogan of default values so that each organic group has its own set of system values like Sitename and slogan etc.Also I am ...
0
votes
0answers
7 views

Any module to add two users on registration?

Is there a module that allows you to create two users on a single registration form. The use case is as follows The site is an online educational portal. Either a student or parent can register. When ...
0
votes
1answer
33 views

Drupal 8 Twig Debug - not seeing all template suggestions for views

I'm trying to get all the template suggestions for my view and back in the day, there was a simple theme:suggestion link you could click on in Views UI to get all the dozens of template suggestions ...
0
votes
0answers
5 views

How to use contextual filters views pane with panels and term view

How do you setup a contextual filters views pane for panels like a views page with a path i.e hobbies/% The url of the site is mysite.com/hobbies/(term names) enter image description here ...
1
vote
1answer
44 views

Migrate old admin's posts to his new user

I'm taking over maintenance of a Drupal site but the old admin is staying on as a user. I need to adjust the ownership of the posts currently under uid 1. Is this query sufficient or is uid ...
2
votes
2answers
31 views

How do I post a node that has its created field set to the past in a test class?

I am creating a test class using the framework of the core Testing module for a module that is supposed to autoexpire nodes some time after they've been created. Nodes have two timestamp fields: ...
5
votes
1answer
250 views

What is the convention for naming routes?

Lets say I have these paths: /admin /admin/settings /admin/settings/myentities myentity/id /admin/settings/myentities/id/edit /admin/settings/myentities/id/delete What would be the proper route ...
-3
votes
1answer
24 views

How to remove the grid lines in a view?

I've got a view in which I'm displaying 2 columns of products. All products are being displayed in a grid with lines, that's ok. But within each product "cell" there is another dotted line (under the ...
2
votes
2answers
73 views

There is no register form but spams are sending register request in Drupal 7!

There is no register or login form in front-page or any other pages in my website but every day I receive emails of my website that some people asked for registration, How does such a thing is ...
0
votes
0answers
11 views

How to show a node but return HTTP 404 response

I want to show an existing page(node) normally but return a HTTP404/410 etc instead of HTTP200. How can I do it? Is there any simple way to do it?
0
votes
0answers
18 views

one page website

I want to create a single page website with drupal 7. I am using the modules single page website and panels. I want to import my custom theme but could not select my custom theme with the single page ...
1
vote
0answers
15 views

Libraries in render array

I'm trying to attach a JS library to a render array for a field formatter. I'm using $element[$delta] = array( '#theme' => 'image', '#prefix' => "<a class='fluidbox' ...
-1
votes
0answers
10 views

Menu link content number display

How do you make a Menu link to display the number of contents it has e.g. Cars(40)? I have looked through all the help topics but still can't find away to achieve this.
0
votes
0answers
12 views

hook form alter with hidden field, throw an error

I try to alter taxonomy edit form. This is my hook: function MYMODULE_form_taxonomy_form_term_alter(&$form, &$form_state, $form_id) { // hide the desciption field and relations group ...
0
votes
0answers
10 views

How to add custom template for different term in a taxonomy in Drupal 7

I am having Science as main category which have project, fieldwork, Research and Development and library as sub-category. So with drupal prespectives, I use Science as a vocabalary in which I have ...
0
votes
0answers
19 views

onClick event on the submission button of an AJAX form

I've an AJAX form, built by contributed module, and I need to add a JavaScript listener (for the click event) to the submission button, but I did not get to work. I have tried: Adding the listener ...
0
votes
0answers
4 views

Getting error message with JCarousel using with Product Dispaly type format

Error message is as follows: An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: admin/structure/views/view/photo_gallery1/preview/block/ajax StatusText: OK ...
0
votes
0answers
3 views

How to display multicurrency with product display in commerce kickstart

I want to display multicurrency in INR and Dollar. I want only one price field with add product in INR. But want to display both currency with product display. I have created a rule to convert ...
0
votes
1answer
15 views

How to use node_load() after workbench_moderation_moderate function of workbench module?

I want to unpublish a node using node_load()/node_save(), but with the code I am using, the content type is missing and I get errors. function oz_workbench_moderation_unpublish_live_node($node_id){ ...
0
votes
0answers
11 views

Export a field with its content out of a field collection

I am actualy stuck in some kind of trouble. The last couple of days, I created a test stage for one of my websites to integrate Search API Attachments ...
0
votes
0answers
6 views

How To Set A Panel Page For a Term vocabulary

I've 1.made a new custom page 2.Selection rules selected "Taxonomy: vocabulary" 3.Selected my vocabulary i.e "cars" Go to term page mysite.com/cars/ford Default term page still shows Many thanks ...
0
votes
1answer
7 views

Drupal 6, Boost Cache, External CDN?

I have been thrown into a Drupal 6 environment, helping a client whose site has been running terribly for some time now. Among other issues, they had a ton of traffic and were serving it all locally, ...
0
votes
1answer
7 views

Images missing in Newsletters email created using Simplenews

I have created newsletter in drupal 7 using simplenews. I have inserted images using wysiwyg editor. The mail received is missing those images. there is no indication of images in the newsletter. How ...
0
votes
0answers
11 views

Vertical image high resolution after uploading displaying horizontally

While uploading Profile picture of user, horizontal images & vertical images with low resolutions are displaying fine, but when I upload Vertical image having "2560 x 1536" resolution or above, it ...
0
votes
0answers
13 views

Display Jalali (Shamsi) Date in Archive View

I have a Persian language website and I need to a archive block in my site. but date of default archive view is Gregorian. I install Datex module and it convert all date of nodes to Jalali(Shamsi) ...
1
vote
0answers
18 views

drupal_static_reset causing errors

I have developed a custom template for a node where I wanted to essentially show the node in a blank white page. I created a file called node--results.tpl.php and page--node--results.tpl.php that ...
0
votes
0answers
12 views

Faceted Search Block

I am using faceted search module in my Drupal7 install. Most things are working fine, but when I set up the faceted blocks, I noticed that the links within the block only capture the first or last ...

15 30 50 per page