new entry

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
Macmee
Posts: 13
Joined: Sat Apr 17, 2021 4:47 pm

new entry

Post by Macmee » Tue Jul 06, 2021 12:05 pm

After i put a new entry

then it shows on the main page as

Geplaatst door admin op 13:43:29 in Algemeen in english postet by


admin is the person who is logged in. However i prefer to show blog author (in mine case Machiel Meeusen

how can i changed this?

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

Re: new entry

Post by Arvid » Sat Jul 10, 2021 11:31 am

Hi,

the author of the entrys is the user name you're logged in with. You can create a new user by running the setup again and set a new login name.

Or, as an alternative, you could simply hard-code your name into your theme's template file. In Leggero v2, that would be fp-interface/themes/leggero/entry-default.tpl:

Code: Select all

<li class="entry-info">
<!-- the login name: --> 
Posted by <span itemprop="author">{$author}</span>
<!-- the hard-coded name: --> 
Posted by <span itemprop="author">Machiel Meeusen</span>
at
All the best,
Arvid

Macmee
Posts: 13
Joined: Sat Apr 17, 2021 4:47 pm

Re: new entry

Post by Macmee » Sun Jul 11, 2021 9:40 am

Thnx Arvid

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests