Back to Zenii Support

administrator57283
administrator57283

Hello Sir,

I was experimenting with other TailwindCSS theme.

In the meanwhile I got this error on my active Zenii theme: "The edit theme is not found"

Please help.

The Bakerdev
The Bakerdev

Hi,

Can provide more information on what you did with your setup?

administrator57283
administrator57283

I first installed Multisite plugin:

https://octobercms.com/plugin/voipdeploy-multisite

That worked perfectly.

But at that time I didn't check if CMS editor was working or not.

Along with that I installed TailwindCSS Boiler plate: https://octobercms.com/theme/romainmazb-tailwindcssboilerplate

And used its commands from SSH those which were provided in that theme's description below:

Launch a terminal from the romainmazb-tailwindcss-boilerplate directory Run npm install to install the boilerplate dependencies. Then go to the blank-src directory and launch again npm install, this will install your theme dependencies, for now just the ones required by October, PostCSS and TailwindCSS. Go back to the romainmazb-tailwindcss-boilerplate directory and run npm run watch` to run the development server with hot reload. Since a new blank theme were created, go to the October backend settings and activate your new theme.

After that the editor gave this error.

The Bakerdev
The Bakerdev

Hi administrator57283,

The error comes from https://octobercms.com/theme/romainmazb-tailwindcssboilerplate. I tried installing the theme and I got the same error. The theme comes with a plugin called RMB Boilerplate's Plugin. On the plugin file, it has this code:

  Event::listen('cms.theme.getEditTheme', static function () use ($theme_name) {
            return $theme_name . '-src';
  });

I assume that the plugin is looking for themename-src folder format, which zenii and some other theme folders are named that way. If you disable the plugin or remove the .'-src' from the code the error will go away.

It's best to ask for support in the https://octobercms.com/theme/romainmazb-tailwindcssboilerplate and RMB Boilerplate's Plugin regarding this error.

Hope this helps.

Regards,

1-4 of 4