This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Webform Custom URL ?sid=[submission:sid] does not pick up sid

Hi,

I have moved a correctly functioning Drupal 7 website to a subdomain, and my webform is no longer working fully. Here is a summary of the problem:

Custom Address book field module

Hey there!

Now, before anybody says 'theres already a module for that', let me point out that what I am trying to build is a special use case that doesn't quite fit into all the other modules I can piece together to make work, so let me explain.

I am working on a management system where users can store addresses in a personal address book. Simple enough, right? 

Sure, but to go beyond that, there is other functionality that I need to build, and was wondering how best to approach it. 

How pass blocks with view ajax form inside to custom route

I need to switch blocks in some region using ajax, I tried a custom route with a controller

$.ajax({
        url: Drupal.url('ajax/my-custom-route')

And in controller tried render blocks:

Can't Seem to Get Absolute URL from Token of Entry Reference

I have a field in a content type called 'field_news_image' and in is an entry reference field type. I'm trying to find the appropriae token to use in the Metatag module for an og:image meta tag on the content type, but nothing I've tried seems to output a complete URL (absolute).

I've tried: 

Deny access to specific public files

Hi there,

I have a folder 'user-pictures' inside the public files folder. On the website, there is a 'large' and a 'thumbnail' image style, where the large one is only accessible for authorized user, while the thumbnail is public. However, these images (all image styles and originals) are all accessible in the files folder. Note that these images are not sensible data, but still i was wondering if i can minimize the access.

Creating an API

I have created a API endpoint in drupal which validates the session and redirects to particluar page. I need to consume this API from another application. But my drupal app has MFA protected, which genertes an unique cookie for every session after successfull authentication.
So Everytime if I try to consume my API, got MFA login page as respone with http code 303 redirect. If generated unique Cookie is sent in header, I got the actual response.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions