0
votes

I have created a module to show products and its category on front. I have create 3 plugins in this module, one for showing category list (allcategory), one for showing category products list (categoryproduct) and last one is for product's details (productdetail). All plugins were applied on 3 individual pages.

So there URL have their namespace like

  1. /produkte/?tx_wxproducts_allcategory[pcuid]=78&tx_wxproducts_allcategory[controller]=WxCategory
  2. /produkte/produktdetails/?tx_wxproducts_productdetail[uid]=79&tx_wxproducts_productdetail[controller]=WxProducts
  3. /produkte/produkte-category/?tx_wxproducts_categoryproduct[cuid]=67&tx_wxproducts_categoryproduct[controller]=WxProducts

Now, I am writing the rules for realURL configuration to create speaking URLs for these products and category.

Issue is, when go from one plugin to another plugin controller then we do not receive the request variables which are very much required to access the page. I have search on internet and found similar issue reported in 2011: https://forum.typo3.org/index.php/t/152453/

I didn't have any idea that multi plugin could have given such issue other wise i would have made it with single plugin and services for choosing action but its too late.

I am looking for the solution, i think typo3 mentors can help me out of this problem.

1
What exactly do you mean by "when go from one plugin to another plugin controller"?sven
like i said if i am on a page when plugin 1 is applied and it has link to go to plugin 2 then because of namespace change i couldn't get the require parameter.Van Dam

1 Answers

0
votes

Build your links like this:

<f:link.action pageUid="myTargetPage" action="myAction" controller="WxProducts" pluginName="productdetail" arguments="{uid: '{myVariable}'}"

Does this help?