atheneus [atheneus]

Created on 22 December 2009, almost 15 years ago
Updated 16 April 2023, over 1 year ago

CVS edit link for atheneus

On my most recent project involving order processing I needed to be able to pass a parameter from my node module to a regular Drupal page that would then allow the client to place the value of the parameter in arbitary positions in their page. Although, I could achieve this by using a PHP filter to print request parameters from the global $_GET request array, there was a conflicting requirement that editors could not have access to PHP. The obvious solution was to use Token Filter and to use a Token provider module that would filter, tokenize and expose request parameters. I was unable to find such a module. Therefore, I have written a module "Token request parameters" (token_request_params) that provides these tokens, that can then be used within a Token filter.

The module is 100% complete and functional. I have run it through Coder to ensure Drupal coding standards compliance and all reported issues have been fixed. I would like to contribute this module back to the community. I have a D6 version right now and will start work on updating and testing on D7 soon.

I had considered whether this functionality should be provided as a patch to Token Filter considering the small size of that module and the dependency on that module. However, I think it should probably remain discrete functionality, since there may be other use cases requiring these tokens outside of the concerns of Token Filter. I believe there is a valid separation of concerns. As far as I know there is no similar project available. If there is, I am more than willing to submit a patch. I asked around on #drupal-support IRC if anyone knew of a similar project.

Thanks!

📌 Task
Status

Fixed

Component

new project application

Created by

🇺🇸United States atheneus

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024