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
Titel Forum Antworten Datum
Neu JTL-Shop "Plugin-Vorlage" gesucht User helfen Usern 3
Neu Cross Selling Plugin Plugins für JTL-Shop 1
Neu Installation von Plugin PayPal Check-Out fehlgeschlagen, keine Verbindung zum Webshop Plugins für JTL-Shop 6
Neu Beim Versuch Paypal-Plugin mit Paypal-Konto zu verbinden Shop nicht mehr erreichbar Plugins für JTL-Shop 2
Neu Neues Plugin: Produktbundles mit Rabatten Plugins für JTL-Shop 0
Neu Widerrufsformular als kostenloses Plugin für Shops ab 5.1.5 Plugins für JTL-Shop 9
Neu Neues Plugin: Kaufimpuls Paket Plugins für JTL-Shop 0
Neu Paypal Checkout Plugin - Ist vorhanden aber nichts funktioniert Plugins für JTL-Shop 9
Neu Neues Plugin: Sauberes Meta-Tracking für JTL-Shop 5 (Pixel + CAPI + Consent) Plugins für JTL-Shop 0
Neu 📢 Plugin "Kreditlimit Plugin für JTL-Shop 5 " von CIN GmbH Plugins für JTL-Shop 0
Neu Händlerbund-Plugin lädt Texte herunter, ersetzt sie aber nicht im Frontend Technische Fragen zu Plugins und Templates 1
Neu 503 Service Unavailable bei Payrexx Webhook nach Plugin-Update - wer hat das auch? Plugins für JTL-Shop 0
Neu JTL-Shop 5.2.3 – Google-Shoppin-Plugin 2.3.0: Mehrere Rückgaberichtlinien (DE + Ausland) bei einem Feed / return_policy_label Plugins für JTL-Shop 0
Neu JTL 5.6.1 Settings page not saving JTL-Shop - Fehler und Bugs 2

Ähnliche Themen