-
AuthorPosts
-
September 24, 2017 at 2:12 pm #1063678
Hi,
i would like to have a blog on homepage ( just before footer ). Your documentation for home page is very clear for all modules but i don’t find informations to have a blog on home page.
test url : http://new.aeroclub-versailles.com/
thank you
pierre
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 25, 2017 at 3:09 am #1063796Hi
open template folder tpls/default-no-sidebar.php
Find<?php $this->loadBlock('mainbody-nosidebar') ?>
replace it with
<?php $this->loadBlock('mainbody') ?>
Hope it helps.
Regards
September 25, 2017 at 5:15 am #1063817Hi,
Thank you for your answer. I forgot to give you my exact need :
i would like to have the same home page like your demo AND get the blog just before the footer.Is your php change sufficient for that?
thank you
pierrePankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 25, 2017 at 6:10 am #1063823Hi
Which blog page you are referring can u share screenshot and URL?September 25, 2017 at 6:19 am #1063827Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 25, 2017 at 6:34 am #1063834Hi
You can apply the changes I suggested and change the menu type to blog menu to show blog articles.
Also, check in the template layout options the home menu item is not added to skip component.Regards
September 26, 2017 at 1:56 pm #1064197Hi,
I want add pagination and the same style as k2 blog, is it possible ?
Can i have navigation items in french (date, author, …) ?
Regards,
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 27, 2017 at 4:32 am #1064315Hi
No, it uses it own style. If you want to apply any other page syle you have to custom work in PHP and css.
You can use firebug to check style classes and apply the css on the blog via custom.css file.Regards
September 27, 2017 at 9:10 am #1064414Ok for the style.
Can i add pagination ?
Can i have navigation item in french (date, author, …) ?
Regards
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 28, 2017 at 2:27 am #1064545Hi
You need to modify the blog php file from template folder/html/com_contnet/category folder
to modify blog php files.
it needs custom work in the PHP and css if you are not familiar i suggest you to hire a developer for this work.Regards
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 9 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Blog on home page
Viewing 10 posts - 1 through 10 (of 10 total)