Active
Project:
HybridAuth Social Login
Version:
7.x-2.10
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2014 at 17:04 UTC
Updated:
22 Nov 2018 at 09:04 UTC
Jump to comment: Most recent
Comments
Comment #1
pedrospComment #2
pedrospI managed with Hybridauth 2.9 to declare variables in a custom module, not in a fancy way, but fair enough to solve my problem of using different configurations of hybridauth when using Domain Access (aka several domains). It was all like this:
However with the new 2.10 version and #2303237: Remove plenty of variables new "enhancement" I'm screwed again :(
Since the "enabled" is now embedded in an array, I'm not able to declare the array variable and save independent values for each domain.
I have tried to use something like this but it ain't worked.
I could then declare the variable in a domain realm, but neither
Any clue please ?
Comment #3
duozerskpedrosp,
The issue is that the settings form doesn't use the 'hybridauth_providers' variable directly and so the Variable module can't detect its usage (at least this is what I assume).
We need to understand how Variable module changes the variable_get() calls so that it returns different values for different domains. Then we probably would need to code another settings form (modify the existing one) so that it saves the values per domain.
Thanks
AndyB
Comment #4
sano commentededits to the issue description, that hopefully make more clear its meaning to the readers.