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
When use AutoCompleteFiield on the fronend with Subsite module; the autocomplete field in the frontend fails to call the Suggest function without the SubsiteID parameter included in the SuggestURL
public function getSuggestURL() {
if (!empty($this->suggestURL)) {
return $this->suggestURL;
}
// Attempt to link back to itself
return parse_url($this->Link(), PHP_URL_PATH) . '/Suggest?SubsiteID=' . Subsite::currentSubsiteID();
}
The text was updated successfully, but these errors were encountered:
IMHO, so many modules use variables etc translatable, subsites, versioned etc etc probably out of scope for the module to handle all the variables. Perhaps use $field->setSuggestURL() to handle your specific instance.
When use AutoCompleteFiield on the fronend with Subsite module; the autocomplete field in the frontend fails to call the
Suggest
function without theSubsiteID
parameter included in the SuggestURLThe text was updated successfully, but these errors were encountered: