Page 1 of 1

Static landing page and blog section simultaniously

Posted: Fri Dec 21, 2018 10:01 am
by Schlemihl
Hello,

I would like to create a website with a static landing page. This landing page will stay usually unmodified and give a general information about a certain topic.

Reachable via a "blog" menu entry (like static pages are listed on top of the page) there should be a blog like section, where I add news, etc

I have played around with the different types of page (sticky, static, etc) but it didn't satisfy me. I have attached two mock ups that illustrate my intention.

Just some hints would help me, but I guess I am just missing some minor points.

Thanks in advance

Re: Static landing page and blog section simultaniously

Posted: Wed Dec 26, 2018 1:41 pm
by Edi
You can do this using the URL filter /blog/ (at "Settings" > "Advanced").

If you have created a page "Blog" (to show an entry in the navigation) you have also to add the following line to the file .htaccess to forward from the URL with /blog to the one with /blog/:

Code: Select all

RedirectMatch 301 ^(.*)/blog$ /blog/

Re: Static landing page and blog section simultaniously

Posted: Wed Dec 26, 2018 8:22 pm
by Edi
There is now also a fix for this bug:

https://github.com/bludit/bludit/commit ... dca0779c35

You can add the additional lines to the file 60.router.php or exchange the files (in the directory /bl-kernel/boot/rules/).

Re: Static landing page and blog section simultaniously

Posted: Thu Dec 27, 2018 10:17 am
by Schlemihl
Thanks, I will have a look at this and try the solution. And give feedback.

Best Regards

Re: Static landing page and blog section simultaniously

Posted: Fri Jan 04, 2019 1:33 pm
by Schlemihl
Everything worked as described by you.

Thanks for your support