Neu Redirect to plugin settings page after plugin update process

joy007

Aktives Mitglied
6. Juni 2017
3
0
Hello,

I want to redirect to plugin settings page after plugin update process, plz guide me how to redirect to plugin settings page after plugin update process. :(:(
 

ag-websolutions.de

Sehr aktives Mitglied
29. Dezember 2009
14.548
233
Hi joy007,

welcome!

You must use the action-Tag in the form-Element like this

Code:
<form id="your_unique_ID" name="your_unique_NAME" action="plugin.php?kPlugin={$oPlugin->kPlugin}&cPluginTab=THIS_IS_THE_NAME_FROM_REGISTER" method="post">

and in the form

Code:
<input type="hidden" name="kPlugin" value="{$oPlugin->kPlugin}">

in the info.xml it looks like:

Code:
           <Customlink sort="98">
               <Name>THIS_IS_THE_NAME_FROM_REGISTER</Name>
               <Filename>your_php_file.php</Filename>
           </Customlink>
 

joy007

Aktives Mitglied
6. Juni 2017
3
0
Hi joy007,

welcome!

You must use the action-Tag in the form-Element like this

Code:
<form id="your_unique_ID" name="your_unique_NAME" action="plugin.php?kPlugin={$oPlugin->kPlugin}&cPluginTab=THIS_IS_THE_NAME_FROM_REGISTER" method="post">

and in the form

Code:
<input type="hidden" name="kPlugin" value="{$oPlugin->kPlugin}">

in the info.xml it looks like:

Code:
           <Customlink sort="98">
               <Name>THIS_IS_THE_NAME_FROM_REGISTER</Name>
               <Filename>your_php_file.php</Filename>
           </Customlink>



Thank you @ ag-websolutions.from,

I like to tell you my query in details.

I've developed one plugin version "1.00" and uploaded to the shop and it's working fine. :):)

Later I've upgraded my module to "1.10". :):)

When I click on update button getting one confirmation message "Wollen Sie das Plugin for real to update? ". I clicked on " ok " button then my module is updating and I am getting success message "Ihr Plugin has been successful Service." On the same "Plugin Administration" page and everything is working fine.

BUT my expectation is when I click on "ok" button it should update the plugin as it is and after update process, it should redirect to my plugin setting page instead of displaying success message "Ihr Plugin has been successful Service." on the same page. :(:(

So kindly help me to achieve my expected result in the update process if it's possible and if it's not then also plz tell me. :( :(
 

ag-websolutions.de

Sehr aktives Mitglied
29. Dezember 2009
14.548
233
Your expected result don't work.

The Update-Routine in the shop-core don't redircet to the Plugin.

See, you can mark several Plugins tu update "with one click" ... to which plugin should be re-directed?!
 
  • Gefällt mir
Reaktionen: joy007

Ähnliche Themen