Search found 65 matches

by Tongara
Sat Feb 20, 2021 6:21 pm
Forum: General Support
Topic: How add a sharing button on Static pages ?
Replies: 9
Views: 892

Re: How add a sharing button on Static pages ?

Hi, I have tried to modify in: <a href="http://www.facebook.com/sharer.php?u={$id|link:page_link}&title={$subject|tag:the_title}" target="_blank"><img src="/Immagini/facebook.png" border="0" alt="Facebook" width="36" height="36&qu...
by Tongara
Sat Feb 20, 2021 2:19 am
Forum: General Support
Topic: How add a sharing button on Static pages ?
Replies: 9
Views: 892

Re: How add a sharing button on Static pages ?

On the plugin you made last year, I did add a thing on how to make it work on static pages. The same change will work here.

Please see this post: viewtopic.php?f=4&t=144&start=10#p453
by Tongara
Wed Feb 17, 2021 6:26 am
Forum: General Support
Topic: Use PHP in entries
Replies: 18
Views: 2113

Re: Use PHP in entries

Tongara: Move to the previous page [html]<a href="javascript:history.back(1)">Back</a>[/html] Haha I am well aware on how to create a back link in Javascript. If you read my post again, that is not exactly what I am trying to do here. It is appreciated, though. Will put here again, just i...
by Tongara
Tue Feb 16, 2021 5:53 am
Forum: General Support
Topic: Use PHP in entries
Replies: 18
Views: 2113

Re: Use PHP in entries

YES, you can run file /fp-plugins/locale.php [exec]require_once('../locale.php');[/exec] Okay, good to know. Anyway, still trying to fix my issue, so if anyone has any idea as requested in one of my last posts, I'd appreciate it. Like I said, I'm open to ideas, and I'm sure I'm just missing somethi...
by Tongara
Mon Feb 15, 2021 8:54 pm
Forum: General Support
Topic: Use PHP in entries
Replies: 18
Views: 2113

Re: Use PHP in entries

Lubomír Ludvík wrote: Mon Feb 15, 2021 2:09 pm plugin inlinephp
http://flatpress.cz/flatpress/fp-plugin ... inephp.zip

Code: Select all

[exec]echo(rand(10,100));
echo PHP_VERSION;[/exec]
Sadly this doesn't fix my issue, but it's an absolute game changer when it comes to using PHP in all kinds of entries!
by Tongara
Mon Feb 15, 2021 9:03 am
Forum: General Support
Topic: Use PHP in entries
Replies: 18
Views: 2113

Re: Use PHP in entries

No problem at all, you can't be expected to remember every person and everything! hehe So, I did try this, but it sadly didn't turn out how I wanted it to. I'll explain the basic idea before sharing any files or code... With how my website is set up, I wanted the option of adding a custom "Back...
by Tongara
Sun Feb 14, 2021 4:54 pm
Forum: FlatPress project
Topic: First beta release of FlatPress 1.2 "Legato": Please help testing
Replies: 32
Views: 3208

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Depends on your server configuration. Some servers report every single little PHP notice (although most do not). And there were quite a lot of them (see laborix' posting). Very true! In fact, it still works with at least PHP 5.6. Although you're right that one should run only still supported versio...
by Tongara
Thu Feb 11, 2021 7:38 am
Forum: General Support
Topic: New admin theme [Beta][Responsive][Boostrap]
Replies: 30
Views: 12346

Re: New admin theme [Beta][Responsive][Boostrap]

WOW! I've put off trying this until now, but my gosh... From the login page onwards, this looks and feels so nice to use! It really makes Flatpress feel a bit less dated. Don't get me wrong, the current Admin Panel is great and does it's job well, but this is very lovely and modern feeling. The only...
by Tongara
Thu Feb 11, 2021 7:18 am
Forum: FlatPress project
Topic: First beta release of FlatPress 1.2 "Legato": Please help testing
Replies: 32
Views: 3208

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

Well. Of course updating PHP s better. But if removing a few spaces solves a problem for one user and does no harm to any other? Seems like a no brainer to me. Remove the spaces and make someone happy. Detlef Which is why I recommended him to do so if he wishes. I simply don't believe there won't b...
by Tongara
Wed Feb 10, 2021 9:55 am
Forum: FlatPress project
Topic: First beta release of FlatPress 1.2 "Legato": Please help testing
Replies: 32
Views: 3208

Re: First beta release of FlatPress 1.2 "Legato": Please help testing

I disagree, not all users have the option to upgrade the server. I think backward compatibility is better, after all, delete only a few space. Again, PHP 7.0 reached its end of life on December 3rd, 2018. It is important that everyone uses the latest PHP versions, not only for security reasons but ...