blogotext
blogotext copied to clipboard
Static Frontpage?
Hi there,
is it possible to have a static frontpage instead of the list of articles?
creating a index.html and renaming index.php to,for example blog.php, does not really work. A lot of files are calling the index.php which is not there and ends in an 404 error
Hi This is possible by creating an addon and using the hooks or by routing rules (apache / htaccess / nginx). If you want to develop an addon, I can help you. Otherwise I can try to do it this week (if I have time).
As i said before, i'm not a PHP coder and i dont want you to disturbe you from further development (cant wait for 3.8 ;) )
An addon would bei great some day and i think an htaccess file will work for that time
Hey,
found a workaroud. Blogotext is not accepting themes without
{BOUCLE_posts} {/BOUCLE_posts}
my way is to wrap that into a div and set css to display: none;
not perfect but it works for now
Edit: hmm...
it's not working display: none; is inherited to post.html and article.html
Edit 2: No luck with state published/invisible either. Is it possible to have just one article on the frontpage?
Edit 3: I've made it. This time for real. Soultion was quite simple. Just change the number of displayed articles to 1. all you have to take care of, you have to change the date or modify the one you want to show to the newest article