Not Solved [How To?] Portal Sidebar (or widgets) on index/forums
#1
Not Solved
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
Reply
#2
Not Solved
perhaps it would be better to use a plugin for required sidebar widgets [eg. Advanced Sidebox]
Reply
#3
Not Solved
(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?
Reply
#4
Not Solved
^ 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
Reply
#5
Not Solved
(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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)