Carry URL address query params across pages
This module automatically carries specified URL query parameters across all pages on your site. It can also convert special link tokens into HTML anchor tags, allowing you to easily manage links with query parameters.
This module provides functionality to carry URL address query parameters across all the pages.
No need to use javascript or jQuery to append the query parameters to HTML tags or buttons.
Below are the steps:
- Add the query parameter key in the configuration that needs to be carry forwarded to next pages.
- Note: Links added in the ckeditor are not processed by this module. For adding links in ckeditor use [link:route:?] or [link:path:?] token. For example [link:route:system.admin] or [link:path:admin/content] in this way module can process the URL's. advanced usage of these tokens mentioned below
How to use link tokens:
We can use link tokens with following token format to place the HTML a tag.
[link:route:< route.name >,id=<id>,class=<classnames sperated by | symbol>,text=<text to appear in HTML a tag>]
exapmple:
[link:route:system.admin,id=myid,text=mandatory text appears in a tag,class=myclass1|myclass2]
[link:path:admin/content,id=myid,text=mandatory text appears in a tag,class=myclass1|myclass2]