Skip to content

Commit

Permalink
add notice for generate XML for update from 4 to 5
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Schultschik <[email protected]>
  • Loading branch information
svanschu committed Jan 3, 2024
1 parent 03fdb46 commit 1c4ecda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ COM_INSTALLER_TYPE_SCHUWEB_SITEMAP_EXT="SchuWeb Sitemap Extension"
COM_SCHUWEB_SITEMAP_POSTFLIGHT_PLUGIN_UNINSTALL_ERR="Couldn't uninstall plugin %s. Please uninstall it manually and check our website for an updated version."
COM_SCHUWEB_SITEMAP_POSTFLIGHT_PLUGIN_UNINSTALL_MANIFEST_ERR="Couldn't read manifest of plugin %s. Please uninstall it manually and check our website for an updated version."

SCHUWEB_SITEMAP_UPGRADE_V4_V5_FAILED="Failed to upgrade the menu items from V4 to V5. You need to recreate your SchuWeb Sitemap menu items manually."
SCHUWEB_SITEMAP_UPGRADE_V4_V5_FAILED="Failed to upgrade the menu items from V4 to V5. You need to recreate your SchuWeb Sitemap menu items manually."
SCHUWEB_SITEMAP_UPGRADE_V4_V5="The generation of the XML files have been changed. The old URLs don't work anymore. You need to generate the XML files manually. See <a href='https://extensions.schultschik.com/documentation/schuweb-sitemap/how-to-get-a-sitemap-xml'>the documentation for details</a>."
2 changes: 2 additions & 0 deletions src/extension.script.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ private function upgradev4v5()
}
}
}

Factory::getApplication()->enqueueMessage(Text::_('SCHUWEB_SITEMAP_UPGRADE_V4_V5'), 'warning');
}

/**
Expand Down

0 comments on commit 1c4ecda

Please sign in to comment.