All Questions
0
votes
0answers
3 views
Search404 is not using Custom Search Path with more than one key
Drupal 8
Using the Search 404 module. In admin/config/search/search404 I have Custom search path selected with looking-for/@keys .
This works only when 404 comes from a URL such as mysite/content-...
0
votes
0answers
5 views
User Specific content on a page - Beginner question
So there are a few threads that might be my answer, but it doesn't seem like the modules are for Drupal 8.
So what I'm trying to do is to create a page that filters its content to display only ...
0
votes
0answers
5 views
How to handle environment URLs in Drupal 7
I am working on a Drupal project where I have multiple blocks for "Quick Link" access through the site. The URLs in this quick link block have QA/Beta/Production URLs. I am currently calling just the ...
1
vote
0answers
5 views
How to open a popup form from a view link?
I'm really struggling with this issue.
Well I'm having a view, in this view a field configured as personalized text as a link.
I want to open a popup form on click on the link.
Here is what I did in ...
-1
votes
1answer
6 views
how to hide one field but have a link to open it
How can I have a content type which has one of the fields hidden, but has a link which will cause it to show ? I am using display suite .
0
votes
0answers
14 views
Files with FILE_STATUS_PERMANENT are still being routinely deleted
I have a module which acts as a connector between a mobile application and my Drupal site.
The connector code accepts a singular (never multiple) image file ($_FILES['file']) uploaded from the mobile ...
0
votes
0answers
7 views
Drupal Form API - #states & #ajax is not working on pop up
I need to get form only with HTML. To do this, I've used delivery callback in hook_menu(). This is my sample code:
function test_menu() {
$items['htmlform'] = array(
'access callback' => ...
1
vote
1answer
7 views
How can I add a custom currency to commerce?
I'm trying to add a custom currency (like points) but I can only choose the "real world" currency. Can I change the currency in commerce or I have to do it with a module? If so, which module should I ...
0
votes
0answers
17 views
How to add css class to specific rows base on fields in order commerce view page
I would like to add a class based on the field value I used in commerce order view. I have tried a solution from here I have installed "devel" module and already enabled it. However, I cannot find the ...
2
votes
1answer
30 views
How can I build an FAQ Page with sections?
I am seeking to build an FAQ page that covers a few different types of topics, thus creating a need for sections, preferably with links. Like below:
I am using Drupal 8 and have the FAQ Field module ...
0
votes
0answers
4 views
Updated modules still show up in Available updates after cron
E.g. I updated module Ctools to latest 7.x-1.12 version and after running update.php and cron, it still shows older version of Ctools (7.x-1.10) in admin/reports/updates/update and tells that it still ...
0
votes
0answers
8 views
setup drupal multisite into multi server
I developed multi site using drupal 7. like -
example.com
site1.example.com
site2.example.com
and all subdomain is same codebase. into - /sites/site1 and /sites/site2
my question is - is it ...
0
votes
1answer
16 views
How to use Tokens [current page arguments]?
I dont know how to use tokens to get arguments from url.
I have url: site/country
On this page i have links to terms, i want them to have in alias first argument from current page /country/term-name....
0
votes
1answer
11 views
How to add client side validation to form via FAPI?
I can't figure what to add Client Side Validation for form fields.
'#element_validate' => array('_file_generic_settings_max_filesize'),
I also don't know which value to put for different types of ...
0
votes
1answer
23 views
How to pass an array to template
i am trying to get my first module to work which is supposed to render an array in his own template file.
1) i got an array of variables and return it in my controller
array(
'#theme'...