If you are using the theme while installing the sidebar plugin some code will be added to your index code. It will make double sidebar and theme will be broken.
things to do
1. Backup your index code first
2. Install the sidebar plugin
3. restore the backup code of your index then replace the code that is in the tutorial.
4. Enjoy
Hello, I've tried this tut but I've a double colomn, why?
I used latest post in attachments.
(05-31-2018, 04:31 PM)Gatsu Wrote: [ -> ]Hello, I've tried this tut but I've a double colomn, why?
I used latest post in attachments.
Which theme are you using ?
(09-21-2018, 05:22 PM)WallBB Wrote: [ -> ] (05-31-2018, 04:31 PM)Gatsu Wrote: [ -> ]Hello, I've tried this tut but I've a double colomn, why?
I used latest post in attachments.
Which theme are you using ?
I also found myself having a double column, with the Focus Responsive Theme.
So have an issue with adding latest post to sidebar.
(05-31-2018, 04:31 PM)Gatsu Wrote: [ -> ]Hello, I've tried this tut but I've a double colomn, why?
I used latest post in attachments.
(09-28-2018, 04:04 AM)Jon Wrote: [ -> ] (09-21-2018, 05:22 PM)WallBB Wrote: [ -> ] (05-31-2018, 04:31 PM)Gatsu Wrote: [ -> ]Hello, I've tried this tut but I've a double colomn, why?
I used latest post in attachments.
Which theme are you using ?
I also found myself having a double column, with the Focus Responsive Theme.
So have an issue with adding latest post to sidebar.
Check the original post NOTE in case of double sidebar.
(10-25-2017, 03:31 PM)WallBB Wrote: [ -> ]This tutorial will teach you how to add latest post in sidebar in Focus Responsive Theme(it will work in other theme as well). We are using the latest posts in sidebar plugin by SvePu which you can download below :-
It uses the plugin by SvePu
https://community.mybb.com/thread-162649...pid1195131
Follow these steps below to add recent post in sidebar in Focus Responsive theme :-
- Go To Admin CP > Templates And Styles > Templates > Select Focus Theme Templates
- Go to Index Templates > index
- Replace the below
Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><tr><td class="thead"><strong><i class="fa fa-comments"></i> Recent Posts</strong></td></tr><tr><td class="trow1">Please use any recent posts plugin to show recent threads.</td></tr></table>
With this
That's it!
NOTE: If you are getting double sidebar, then replace this
Code:
<div style="float:{$left};width: 80%;">{$forums}</div>
<div style="float:{$right};width:19%;">{$sidebar}</div>
with
Hope this tutorial helps you to add recent thread/post in sidebar in Focus MyBB theme or in any theme.
Regards
WallBB
Hi, could you send me the initial code? I broke the index completely and you do not know what to do next. Thank you in advance.
(01-26-2019, 10:30 PM)Oeleg Wrote: [ -> ] (10-25-2017, 03:31 PM)WallBB Wrote: [ -> ]This tutorial will teach you how to add latest post in sidebar in Focus Responsive Theme(it will work in other theme as well). We are using the latest posts in sidebar plugin by SvePu which you can download below :-
It uses the plugin by SvePu
https://community.mybb.com/thread-162649...pid1195131
Follow these steps below to add recent post in sidebar in Focus Responsive theme :-
- Go To Admin CP > Templates And Styles > Templates > Select Focus Theme Templates
- Go to Index Templates > index
- Replace the below
Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><tr><td class="thead"><strong><i class="fa fa-comments"></i> Recent Posts</strong></td></tr><tr><td class="trow1">Please use any recent posts plugin to show recent threads.</td></tr></table>
With this
That's it!
NOTE: If you are getting double sidebar, then replace this
Code:
<div style="float:{$left};width: 80%;">{$forums}</div>
<div style="float:{$right};width:19%;">{$sidebar}</div>
with
Hope this tutorial helps you to add recent thread/post in sidebar in Focus MyBB theme or in any theme.
Regards
WallBB
Hi, could you send me the initial code? I broke the index completely and you do not know what to do next. Thank you in advance.
You can redownload the theme and install it as a seperate theme