Issue Feature Closed

#49826Linkhandler: add possibility to change query-param-selector to dropdown

Michael Bakonyi 07/09/13, 15:50 updated 10/20/17, 13:39

Description

Currently it is possible to add additional url-params to a link via a text-input, activated within pageTSconfig via queryParametersSelector.enabled = 1

Regarding usablity for editors I think it would make sense to give integrators the possiblity to change the text-input to a dropdown which offers pre-defined url-params.

The patch offers this possiblity: Within page TSconfig the integrator can at first add new params as he/she does it with css-classes:

RTE{
 parameters{
   popup{
     name = Popup
     config = popup=1
   }
 }
}

To change the input-type of the selector to “select” and to set the enabled parameters the integrator sets the following TS:

RTE{
 default{
   buttons{
     link{
       queryParametersSelector{
         enabled = 1
         input = select
       }
       properties.parameter.allowedParameters =  popup
     }
   }
 }
}

Reviews 1