Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-05-10 18:42:15

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,277
GitHub

[solved] Import theme from disk - appears to be missing

Textpattern 4.8.0, clean diagnostics, no browser console errors.

On the Themes tab, I don’t have an option to import a (front side) theme from disk.

What’s the secret sauce to get that to appear, please?

Last edited by gaekwad (2020-05-11 12:39:19)

Offline

#2 2020-05-10 18:54:49

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,468
Website GitHub

Re: [solved] Import theme from disk - appears to be missing

Drop a theme in a subdir of the /themes dir.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2020-05-10 18:55:21

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,277
GitHub

Re: [solved] Import theme from disk - appears to be missing

Bloke wrote #322898:

Drop a theme in a subdir of the /themes dir.

Already done that. No dice, sadly.

Offline

#4 2020-05-10 18:58:58

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,468
Website GitHub

Re: [solved] Import theme from disk - appears to be missing

The theme must not already exist in the db. Otherwise, uhhh, not sure. It should appear.

Last edited by Bloke (2020-05-10 18:59:32)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#5 2020-05-10 19:03:23

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,277
GitHub

Re: [solved] Import theme from disk - appears to be missing

Odd. No entry in the db:

Exists in /themes/:

Definitely exists in /themes/ and rights are OK:

https://i.imgur.com/XqcVqXN.png

And yet:

I’ll keep looking.

Offline

#6 2020-05-10 19:15:56

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,468
Website GitHub

Re: [solved] Import theme from disk - appears to be missing

Odd. Is your manifest.json well-formed in theme’s dir?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#7 2020-05-10 19:18:29

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,277
GitHub

Re: [solved] Import theme from disk - appears to be missing

@manifest.json@ is fine.

Edit: passed linting tests, but I missed a typo. Whoops.

Thanks for the brains, Bloke!

Might have just figured it out – do I need the exact naming schema for the mandatory forms and pages?

Last edited by gaekwad (2020-05-10 19:33:50)

Offline

#8 2020-05-10 20:15:28

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,468
Website GitHub

Re: [solved] Import theme from disk - appears to be missing

No problemo.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB