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 Plugin: Infinite Scroll / „Mehr laden“ für JTL-Shop 5 – einmalige Lizenz, kein Abo Plugins für JTL-Shop 0
Beantwortet Plugin über Pluginmanager deinstalliert – Einträge in tpluginmigration verblieben – einfach löschen? Plugins für JTL-Shop 1
Neu PlugIn: GLS Privatkundenlabels sollen über den Packtisch ausgegeben können / Schnittstelle zu GLS Privat Dienstleistung, Jobs und Ähnliches 0
Neu 💚 Plugin: DZM Bonus Plus - das Treueprogramm für deinen JTL-Shop Plugins für JTL-Shop 12
Neu Stripe plugin mit JTL SHOP Error 500 Plugins für JTL-Shop 2
Neu css Einstellungen Paypal Plugin von JTL JTL-Shop - Fehler und Bugs 1
Neu 💚 Plugin: DZM Agentic Plus - dein Shop wird für KI-Agenten lesbar und abfragbar Plugins für JTL-Shop 0
Neu JTL-Shop 5 Backup Professional Plugin Plugins für JTL-Shop 0
Neu Plugin trotz Hinweis Kompatibel mit JTL-Shop bis 5.6.* auch unter 5.7.2 nutzen Plugins für JTL-Shop 2
Neu Mail mit Plugin zum testen der Sicherheitslücke echt? Allgemeine Fragen zu JTL-Shop 47
Beantwortet [Shop 5.7.2 / Wawi 2.0.5] GPSR-Daten werden am Artikel nicht angezeigt trotz korrekter Übertragung und installiertem Plugin Allgemeine Fragen zu JTL-Shop 1
Neu JTL Shop Plugin - BD Automatisierter Widerruf (Von Händler für Händler - Schluss mit Mail-Chaos & Spam-Sorgen!) Plugins für JTL-Shop 0
Neu Plugin: JTL Exportformat Google Shopping gibt <g:google_product_category> unter Shop 5.7.1 und Wawi 2.0.4 nicht aus Plugins für JTL-Shop 1
Neu Seller2Go – Mobile App & JTL-Plugin für Bestellungen, Support und Produktmanagement Plugins für JTL-Shop 2

Ähnliche Themen