Making Greymatter work with Flatpress 1.3 beta

Ask questions about FlatPress themes, present your themes, request new themes.
Post Reply
User avatar
Wolfram
Posts: 4
Joined: Tue Mar 05, 2024 3:51 pm

Making Greymatter work with Flatpress 1.3 beta

Post by Wolfram » Wed Mar 13, 2024 4:23 am

If, for any chance, one of you also tried to run Marc Thibeaults awesome Greymatter theme on the 1.3 beta, you might have seen … nothing except a blank page …

The solution is not that complicated, though, because it's only the include file statements without quotes, as stated in the official Flatpress 1.3 theme rework guide on the bottom https://wiki.flatpress.org/doc:tips:smarty2to4

In order to make Greymatter work, you just have to open each *.tpl file and put quotes around the filenames. Searching for "tpl" helps, as some of the template files include several other files.

I do not have a GitHub account and my Git knowledge is also quite miserable, so I am posting this description instead of fixing or forking the repository on GitHub.

Happy blogging,
cheers,
Wolfram.
== Happily flatpressing since July 2008 ==

eagleman
Posts: 196
Joined: Sat Mar 02, 2019 12:10 pm

Re: Making Greymatter work with Flatpress 1.3 beta

Post by eagleman » Wed Mar 13, 2024 4:55 am

You are right.
If you check here on the forum, I'm trying to convert all available themes, but sometimes it's impossible because the only available link (the author website) doesn't exist anymore.
I haven't still converted Greymatter theme, but i'll do it someday, unless you want to try on your own. Is not too complicated, especially when you use a good editor like RJ TextEd or Notepad++

User avatar
fraenkiman
Posts: 223
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Making Greymatter work with Flatpress 1.3 beta

Post by fraenkiman » Wed Mar 13, 2024 8:54 pm

Hello everyone,

I have updated the theme. It is now available for download via the wiki.

With best regards
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
Arvid
FlatPress Coder
Posts: 576
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Making Greymatter work with Flatpress 1.3 beta

Post by Arvid » Sat Mar 16, 2024 12:57 pm

Love that community working together :D
Thanks to all of you!

User avatar
Num7
Posts: 4
Joined: Wed Jun 22, 2022 12:01 am

Re: Making Greymatter work with Flatpress 1.3 beta

Post by Num7 » Sun Mar 17, 2024 4:54 pm

fraenkiman wrote: ↑Wed Mar 13, 2024 8:54 pm Hello everyone,

I have updated the theme. It is now available for download via the wiki.

With best regards
Frank
Hi,

Interesting timing. I've taken over the original dev's Github repos. Would you allow me to update it with the code you just shared?

I'll keep it updated from now on.

Thank you for taking part in the theme's development! :)

eagleman
Posts: 196
Joined: Sat Mar 02, 2019 12:10 pm

Re: Making Greymatter work with Flatpress 1.3 beta

Post by eagleman » Mon Mar 18, 2024 5:56 am

Num7 wrote: ↑Sun Mar 17, 2024 4:54 pm
fraenkiman wrote: ↑Wed Mar 13, 2024 8:54 pm Hello everyone,

I have updated the theme. It is now available for download via the wiki.

With best regards
Frank
Hi,

Interesting timing. I've taken over the original dev's Github repos. Would you allow me to update it with the code you just shared?

I'll keep it updated from now on.

Thank you for taking part in the theme's development! :)
I think there are no problem.
Just download the new Greymatter theme from the wiki, extract it from the zip file and then compare every theme file with a program like, for example, Winmerge, to check every difference into the files.
Obviously we have to wait for fraenkiman answer.

User avatar
Num7
Posts: 4
Joined: Wed Jun 22, 2022 12:01 am

Re: Making Greymatter work with Flatpress 1.3 beta

Post by Num7 » Tue Mar 19, 2024 9:32 pm

Alright, I updated Grey Matter to v1.2 today, here it is:
https://github.com/Num7normalis/greymatter

What's new in this release:
- Made the theme fully compatible with FlatPress 1.3. (If you're using FlatPress 1.2 or older, use Grey Matter v1.1)
- Removed social media share icons in the entry footer.
- Fixed a bug that crashed a couple of pages on FP 1.3. (Admin CP, ContactUs, etc)
- Tweaked a couple of colors in the admin CP.
- Updated preview images and readme.

I ended up modifying it manually, to familiarize myself with FP's templates. It was a lot of fun.

Feel free to make a pull request if you spot anything I missed. Or let me know on here if it's easier for you.

See ya!

User avatar
Arvid
FlatPress Coder
Posts: 576
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Making Greymatter work with Flatpress 1.3 beta

Post by Arvid » Fri Mar 29, 2024 1:04 pm

Num7, welcome aboard and thank you for your great work. I felt free to promote this a little:
https://fosstodon.org/@flatpress/112179099327862303
https://twitter.com/FlatPress/status/17 ... 3891794045

:)

All the best,
Arvid

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests