Page 1 of 3

Static home page and blog via a menu item ?

Posted: Tue May 02, 2023 7:33 pm
by jeronath
Hello,

I have created a personal website with Bludit and I would now like to modify the presentation by making the home page a static page and accessing the blog from the menu which would also give access to other static pages.

Is this configuration feasible with Bludit? If so, please tell me clearly what changes to make to the php code! I know a bit about html and css but my knowledge of php is almost nil. And I can't completely understand the general functioning of Bludit.
Thanks in advance to all for your insights!

Jeronath

Re: Static home page and blog via a menu item ?

Posted: Sat May 06, 2023 12:52 pm
by Edi
For this you don't need PHP or CSS.

Set the following:
  • Enter the title of your mainpage at "Settings" > "General" > "Advanced" in the field "Homepage".
  • Create a static page "Blog".
Done.

Please be aware that the slug of the static page has to be blog. The title can be modified.

Re: Static home page and blog via a menu item ?

Posted: Mon May 08, 2023 10:43 am
by jeronath
Thank you Edi for your advice!
But I tried it without success.
I chose a main page as indicated in your article, I created a static page named Blog with the url "slug" and I got a new blog item in the menu but when I write new articles, nothing appears on this new page.
Maybe I didn't understand your explanation...

Re: Static home page and blog via a menu item ?

Posted: Tue May 09, 2023 10:57 am
by Edi
Sorry, my bad! :oops:

The slug has to be blog.

Re: Static home page and blog via a menu item ?

Posted: Wed May 17, 2023 6:31 pm
by jeronath
Thank you Edi for this clarification. Indeed it works if the slug is blog. Thank you! But there is a small problem: the chosen homepage also appears in the blog posts. Is it possible to avoid this?
Thank you in advance for this last clarification.
Nath

Re: Static home page and blog via a menu item ?

Posted: Fri May 19, 2023 11:05 am
by Edi
The chosen blog page has to have the type "static".

Re: Static home page and blog via a menu item ?

Posted: Fri May 26, 2023 3:06 pm
by LucyDemoon
i have similar issue on the home site,

but my blog site have always the last blog entry as titel insted the static page title.

se picture:

Re: Static home page and blog via a menu item ?

Posted: Fri May 26, 2023 3:58 pm
by Edi
LucyDemoon wrote: Fri May 26, 2023 3:06 pm i have similar issue on the home site,

but my blog site have always the last blog entry as titel insted the static page title.
Can you please give the link to your website.

Re: Static home page and blog via a menu item ?

Posted: Fri May 26, 2023 5:08 pm
by LucyDemoon
send it via PM to you

Re: Static home page and blog via a menu item ?

Posted: Sat May 27, 2023 9:39 am
by Edi
I think this has to do with your code of the template home.php.