• Resolved Adam Nowak

    (@adam320)


    What happened to the development mode button. I use this plugin so that clients can turn on development mode without needing to log in to the cloudflare site?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @adam320,

    You can enable Development Mode in the 3.x versions of the plugin by following these steps:

    Change:
    wp-content/plugins/cloudflare/config.js
    "homePageCards": ["ApplyDefaultSettingsCard", "PurgeCacheCard", "PluginSpecificCacheCard"],
    to
    "homePageCards": ["ApplyDefaultSettingsCard", "PurgeCacheCard", "PluginSpecificCacheCard", "DevelopmentModeCard"],

    Now you should be able to toggle development mode on the plugin homepage.

    Thread Starter Adam Nowak

    (@adam320)

    Thanks, that worked. Here is another tidbit, for users of All in One WordPress security. The 6G firewall rules break the cloudflare plugin. If you comment out this line under the “#AIOWPS_ADVANCED_CHAR_STRING_FILTER_START” section in .htaccess it will work again:

    #RedirectMatch 403 config\.

    Symptoms:

    If you try to go to the setting page the query string lacks the ‘home part’: ?page=cloudflare#/home?_k=iqlvzi

    So with the RedirectMatch 403 config\. rule in htaccess the url looks like this and doesn’t load the settings page: ?page=cloudflare#/?_k=iqlvzi

    Thread Starter Adam Nowak

    (@adam320)

    Hey, When you turn development mode off from the plugin or from cloudflare, the dev mode switch dissappears from the plugin settings page, despite the option being on for “DevelopmentModeCard”

    Hi @adam320,

    Can you explain in more detail what you mean by the switch disappearing? Does it show the wrong value or does the card no longer show up?

    We released 3.0.5 today – is it possible you upgraded which overwrote config.js?

    Thanks,
    John

    Thread Starter Adam Nowak

    (@adam320)

    The card does not show up. It showed up when I changed the config file, but I was in development mode. I turned it off from the plugin, then the card itself went away. Seems to only show the card when dev mode is on at cloudflare.

    Thread Starter Adam Nowak

    (@adam320)

    This seems to be showing up now card wise. I definitely had to jump through a lot of hoops to get this major release plugin working on several sites. The main issue is that ‘home’ part of the query string not showing up. kind of baffling, might have a lot to do with the caching of htaccess perhaps.

    Really appreciate the new update, lots of new features, thank you. Building on Adam’s thread here, I’m curious why dev mode toggle was removed from the plugin? It was a useful feature. Thanks for your time.

    Hi,

    Based on the feedback we’ve received we’ve decided to reintroduce the ability to toggle Development Mode. You can read more here: https://wordpress.org/support/topic/reintroducing-development-mode/

    Thanks,
    John

    Glad to hear that, thank you @jwineman !

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘No Development mode’ is closed to new replies.