Project

General

Profile

Actions

Feature #49826

closed

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

Added by Michael Bakonyi over 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2013-07-09
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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
     }
   }
 }
}
Actions

Also available in: Atom PDF