.. include:: ../../Includes.txt .. _AddingParametersToLinks: ========================== Adding Parameters to Links ========================== It may occur that additional parameters are required with an extension generated by the SAV Library Kickstarter. There are several ways of adding parameters. At the Library Level ==================== Parameters are added in TypoScript and will be applied to all extensions using the SAV Library Plus. The syntax is the following: :: plugin.tx_savlibraryplus.link.additionalParams = ¶m1=1¶m2=3 It may happen that you want to add parameters for one type of view: :: plugin.tx_savlibraryplus.viewType.link.additionalParams = ¶m1=1¶m2=3 At the Extension Level ====================== Parameters are added in TypoScript and will be applied to one specific extension. The syntax is the following: :: plugin.tx_yourExtensionNameWithoutUnderscores_pi1.link.additionalParams = ¶m1=1¶m2=3 You may also want to apply the parameters only for one form in one specific extension. The syntax becomes: :: plugin.tx_yourExtensionNameWithoutUnderscores_pi1.formName.link.additionalParams = ¶m1=1¶m2=3 To add parameters to a specific view type, please use: :: plugin.tx_yourExtensionNameWithoutUnderscores_pi1.viewType.link.additionalParams = ¶m1=1¶m2=3 plugin.tx_yourExtensionNameWithoutUnderscores_pi1.formName.viewType.link.additionalParams = ¶m1=1¶m2=3 At the Page Level ================= Parameters are added by means of the Page TSConfig. The syntax is the following: :: tx_yourExtensionNameWithoutUnderscores_pi1.formName.link.additionalParams = ¶m1=1¶m2=3 To add parameters to a specific view type, please use: :: tx_yourExtensionNameWithoutUnderscores_pi1.formName.viewType.link.additionalParams = ¶m1=1¶m2=3