New tech blog
New tech blog
Dear FlatPress community,
I would like to re-release my old blog with new content. New entries are Wordpress is a bit oversized for my requierments so I like to ask some questions:
1. Is there a syntax highlight plugin e.g. for python or perl?
2. Why is smarty used in a flat file system? PHP by itself is the template enginge and it makes no sense to cache files to reduce database access. It is difficult for me to design my own theme.
3. I noticed, not all strings are able for translation.
Hope some plugin is available.
Best regards,
Michael
I would like to re-release my old blog with new content. New entries are Wordpress is a bit oversized for my requierments so I like to ask some questions:
1. Is there a syntax highlight plugin e.g. for python or perl?
2. Why is smarty used in a flat file system? PHP by itself is the template enginge and it makes no sense to cache files to reduce database access. It is difficult for me to design my own theme.
3. I noticed, not all strings are able for translation.
Hope some plugin is available.
Best regards,
Michael
Re: New tech blog
For the third point of your list I can help you.mschatz wrote: ↑Sat Dec 11, 2021 6:19 pm Dear FlatPress community,
I would like to re-release my old blog with new content. New entries are Wordpress is a bit oversized for my requierments so I like to ask some questions:
1. Is there a syntax highlight plugin e.g. for python or perl?
2. Why is smarty used in a flat file system? PHP by itself is the template enginge and it makes no sense to cache files to reduce database access. It is difficult for me to design my own theme.
3. I noticed, not all strings are able for translation.
Hope some plugin is available.
Best regards,
Michael
Not all the strings are available for the translation because most probably you have translated only the main core.
All the remaining strings are available into each plugin itself.
Check every plugin folder and add your preferred language if missing or improve the existing one if you want.
Re: New tech blog
Michael, welcome to FlatPress
It's integrated with the "code" BBCode element, check out fp-plugins/bbcode/plugin.bbcode.php on line 404.
If you get it revived, let us know - I would then gladly add it to our FlatPress Extras repository, and we could add it to the wiki as well.
All the best (und viele Grüße aus dem Ruhrpott)
Arvid
There used to be NoWhereMan's SyntaxHighlighter plugin, I found it in the very old FP stuff and attached it to this posting. It's not actively maintained and I never used it; it might not be much work to get it running.
It's integrated with the "code" BBCode element, check out fp-plugins/bbcode/plugin.bbcode.php on line 404.
If you get it revived, let us know - I would then gladly add it to our FlatPress Extras repository, and we could add it to the wiki as well.
This question has to be asked to the ancestors Smarty provides some clever ways to include templates into each other, but of course you must understand its mechanisms first. Do you stumble upon specific questions?
Which ones?
All the best (und viele Grüße aus dem Ruhrpott)
Arvid
- Attachments
-
- syntaxhighlighter.zip
- (24.45 KiB) Downloaded 979 times
Re: New tech blog
Hello,
thank you for your feedback and sorry for my delay in replying.
I found a better solution for my purpose and switch over to dokuwiki!
Think you can close/delete this topic.
To point 3:
I saw "Posted by" which is not translated: Best regards and all the best with flatpress!
Michael
thank you for your feedback and sorry for my delay in replying.
I found a better solution for my purpose and switch over to dokuwiki!
Think you can close/delete this topic.
To point 3:
I saw "Posted by" which is not translated: Best regards and all the best with flatpress!
Michael
Re: New tech blog
You have to translate the used Template to get this and some other points in german language. If you want to translate Flatpress completly to german you have to do that manually directly on a few more points in the Flatpress source code.
Let me know if you want to do that, geht auch in Deutsch
Re: New tech blog
Michael,
DokuWiki is great, we have an instance running
The "posted by" link is indeed part of the theme, not the FP code itself.
All the best,
Arvid
DokuWiki is great, we have an instance running
The "posted by" link is indeed part of the theme, not the FP code itself.
All the best,
Arvid
Re: New tech blog
Hi Michal,
where is your DokuWiki-driven blog located now?
https://www.blogschatz.de/ is still running FlatPress and quite empty.
Re: New tech blog
I took some time for it today and hacked "syntaxhighlighter-ng" together See the result here: https://git.la10cy.net/DeltaLima/flatpr ... lighter-ngArvid wrote: ↑Sat Dec 18, 2021 1:07 pm ..
If you get it revived, let us know - I would then gladly add it to our FlatPress Extras repository, and we could add it to the wiki as well.
..
Small Demo site: https://deltalima.org/blog/index.php/sy ... -testpage/
Best greetings!
DeltaLima
- fraenkiman
- Posts: 263
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: New tech blog
Hello DeltaLima,
welcome aboard! Thanks for the write up on NoWhereMan's SyntaxHighlighter plugin . I have tested the SyntaxHighlighter-NG -plugin on the development version of FlatPress. It works very well . Nice stuff! It does cause a few layout/CSS glitches in the individual styles of the FlatPress theme Leggero, but they can be fixed quickly.
With best regards
Frank
welcome aboard! Thanks for the write up on NoWhereMan's SyntaxHighlighter plugin . I have tested the SyntaxHighlighter-NG -plugin on the development version of FlatPress. It works very well . Nice stuff! It does cause a few layout/CSS glitches in the individual styles of the FlatPress theme Leggero, but they can be fixed quickly.
With best regards
Frank
You are strong in PHP and Java Script? Then help us to improve FlatPress.
Looking for ideas, templates, examples and answers to frequently asked questions?
You'll find it here.
My FlatPress-Blog: https://frank-web.dedyn.io
Looking for ideas, templates, examples and answers to frequently asked questions?
You'll find it here.
My FlatPress-Blog: https://frank-web.dedyn.io
Re: New tech blog
Hello Deltalima.
I have downloaded both your themes and I merged it into a new one.
In other words I have downloaded snail orange theme and the main theme of your blog with the tux on it and I created an hybrid theme using the colorful theme but with the simple header of snail orange.
I called it Rainbow and you can see the result on my blog.
If you like my simple mashup of your themes I can publish it on the wiki.
I have only to test it with FP 1.3 beta.
I have downloaded both your themes and I merged it into a new one.
In other words I have downloaded snail orange theme and the main theme of your blog with the tux on it and I created an hybrid theme using the colorful theme but with the simple header of snail orange.
I called it Rainbow and you can see the result on my blog.
If you like my simple mashup of your themes I can publish it on the wiki.
I have only to test it with FP 1.3 beta.
Who is online
Users browsing this forum: No registered users and 0 guests