MyBB Community Forums

Full Version: Portal Sidebar (or widgets) on index/forums
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, 
I tried to edit the index template and added {$welcome} and {$pms} from my portal template.. and I even tried {$portal_welcome} but none of them showed up. I kinda like the little welcome text and would like to have it on my index.php

Is there any way where I can like import this {$welcome} from portal to index. 
Thank you
perhaps it would be better to use a plugin for required sidebar widgets [eg. Advanced Sidebox]
(2020-07-08, 03:26 PM).m. Wrote: [ -> ]perhaps it would be better to use a plugin for required sidebar widgets [eg. Advanced Sidebox]
 
Okay.. thank you but I already have a sidebar My forum link here should I still use it?
^ depends on your server resources.

if you feel to not use extra plugin then you can try using manual
jQuery method to fetch required contents block from the portal.

however, at present can't give exact required changes for the manual
method. see this post & try to trace how required block is fetched.

1. add a class/id element for the required block in the portal template
(if separate class element doesn't exist)

2. use that class/id element to fetch the content using jQuery code
& put that code into a table (or div) element of the sidebar on index
(2020-07-10, 07:06 AM).m. Wrote: [ -> ]^ depends on your server resources.

if you feel to not use extra plugin then you can try using manual
jQuery method to fetch required contents block from the portal.

however, at present can't give exact required changes for the manual
method. see this post & try to trace how required block is fetched.

1. add a class/id element for the required block in the portal template
(if separate class element doesn't exist)

2. use that class/id element to fetch the content using jQuery code
& put that code into a table (or div) element of the sidebar on index
 YES 
THANKS IT WORKED!