You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having installed Geomate via composer I can access all craft.geomate.country, craft.geomate.countryCode and craft.geomate.city within my templates. HOWEVER I have been unsuccessful in retrieving anything except NULL from redirect information.
I see that you have 'autoRedirectEnabled' => true,, maybe that's why. If you're already on the site that the user is meant to end up on, ie you've been redirected there, craft.geomate.redirectInformation() will always be null. That function is meant to be used in cases where you don't have autoRedirectEnabled enabled, and instead want to figure out if the user should be redirected, and either do it manually, or present the user with the option.
Having installed Geomate via composer I can access all craft.geomate.country, craft.geomate.countryCode and craft.geomate.city within my templates. HOWEVER I have been unsuccessful in retrieving anything except NULL from redirect information.
geomete.php (in config folder) looks like...
While in my template files I am using...
Sorry, what am I doing wrong?
The text was updated successfully, but these errors were encountered: