# \[PAID\] USD 555 for upgrading the discourse-static-pages plugin to the new Discourse API

**URL:** https://meta.discourse.org/t/paid-usd-555-for-upgrading-the-discourse-static-pages-plugin-to-the-new-discourse-api/46655
**Category:** Marketplace
**Created:** [30 juni 2016 om 08:35 UTC](https://meta.discourse.org/t/paid-usd-555-for-upgrading-the-discourse-static-pages-plugin-to-the-new-discourse-api/46655 "2016-06-30T08:35:05Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)
#### Post date: [3 juli 2016 om 17:53 UTC](https://meta.discourse.org/t/paid-usd-555-for-upgrading-the-discourse-static-pages-plugin-to-the-new-discourse-api/46655/4 "2016-07-03T17:53:38Z")

</div>

@bzg do you need backwards compatibility with versions of Discourse which don’t have plugin api support, because I’ve run into a little problem trying to achieve that:

> [@A versioned API for client side plugins](https://meta.discourse.org/t/a-new-versioned-api-for-client-side-plugins/40051/36):
>
> It may well be that there are no versions of Discourse for which noApi support is needed anymore, so this might be irrelevant, but I can’t seem to work out how to import a module which doesn’t exist in later versions of Discourse, in order to provide backwards compatibility, without breaking the plugin in those later versions. The completely expected error I get (in the later versions) is: Error: Could not find module `discourse/components/hamburger-menu` imported from `discourse/plugins/stati…

Otherwise, I’m mostly done. I still need to blow the cobwebs out of my docker environment to test the plugin in a production environment, and to ensure the functionality now matches the functionality before, but once I’ve done that I think I’m all done and I’ll send a pull request your way.

---

_[View the full topic](https://meta.discourse.org/t/paid-usd-555-for-upgrading-the-discourse-static-pages-plugin-to-the-new-discourse-api/46655)._
