I want to make a (static) news page.
How can I ad latest entries, calendar and archive in a static page?
Have try different ways as php include, but that dont work.
Can not find a bb code for it.
Any idea?
latest entries in static page
Re: latest entries in static page
I made a static page Album and put the code
[photoswipegallery="images/album" height="100"] in it.
In the admin it show up.
In the normal view only the code show up no content.
Thats what mean with my Q.
Any idea?
[photoswipegallery="images/album" height="100"] in it.
In the admin it show up.
In the normal view only the code show up no content.
Thats what mean with my Q.
Any idea?
Re: latest entries in static page
Found the problem.
I install the Mistylook theme and that work no good with this version of flatpress.
I use now a other template, gallery work good now, last entries is not showing in a static page.
I install the Mistylook theme and that work no good with this version of flatpress.
I use now a other template, gallery work good now, last entries is not showing in a static page.
Re: latest entries in static page
Good to hear the gallery works.
Regarding the Last Entries topic: I'm afraid this is not possible with the current plugin version. The plugin output is meant to be used as a widget, not in entries or statics. To achieve this, it might just be neccessary to add a BBCode element "lastentries" that simply outputs the widget content. I will look into this, maybe it's not too much work. I'll get back to you as soon as I have something
Update 15 minutes later:
Well, that was quite a quickie. It worked exactly as I proposed
Please replace your /fp-plugins/lastentries/plugin.lastentries.php with the attached version. It provides a BBCode element "lastentries" - without any parameters or closing tag. Use this in your static page:
All the best,
Arvid
Regarding the Last Entries topic: I'm afraid this is not possible with the current plugin version. The plugin output is meant to be used as a widget, not in entries or statics. To achieve this, it might just be neccessary to add a BBCode element "lastentries" that simply outputs the widget content. I will look into this, maybe it's not too much work. I'll get back to you as soon as I have something
Update 15 minutes later:
Well, that was quite a quickie. It worked exactly as I proposed
Please replace your /fp-plugins/lastentries/plugin.lastentries.php with the attached version. It provides a BBCode element "lastentries" - without any parameters or closing tag. Use this in your static page:
If this works fine for you, I might simply put this new plugin version into the FP standard.some content ...
[lastentries]
some more content ...
All the best,
Arvid
- Attachments
-
- plugin.lastentries.php.zip
- Enhanced Last Entries plugin: Provides a BBCode element [lastentries] to show the plugin content in entries and statics
- (1.58 KiB) Downloaded 167 times
Project blogββ Docsββ Twitterββ Mastodonββ Forum RSS feedββ Project blog RSS feedββ Donate
FlatPress 1.3 "Andante" is released!
How to rework your themes and plugins for FlatPress 1.3 / Smarty 4
FlatPress 1.3 "Andante" is released!
How to rework your themes and plugins for FlatPress 1.3 / Smarty 4
Re: latest entries in static page
Note to myself: The proposed changes have side effects. I put "[lastentries]" into an entry. The latest entries are displayed correctly, but the "comments" link below the page leads to the comments page of the latest entry display by the Last Entries plugin. Weird...
Also a little idea: We could expand the BBCode element with a count parameter to display a given number of latest entries:
Also a little idea: We could expand the BBCode element with a count parameter to display a given number of latest entries:
I will look into both, but propably not before releasing FP 1.2.[lastentries count=20]
Project blogββ Docsββ Twitterββ Mastodonββ Forum RSS feedββ Project blog RSS feedββ Donate
FlatPress 1.3 "Andante" is released!
How to rework your themes and plugins for FlatPress 1.3 / Smarty 4
FlatPress 1.3 "Andante" is released!
How to rework your themes and plugins for FlatPress 1.3 / Smarty 4
Who is online
Users browsing this forum: No registered users and 33 guests