Not Solved Pull through contents from a shared partial/template on my forum
#1
Not Solved
Hey,

I'm hoping someone may be able to assist me with the following.

I am trying to pull through the contents from a static HTML file as a shared partial / include / template within the sidebar on my forum. I can always AJAX this content in, however I wanted to know if there was a way in MyBB to pull through the contents rather than making another request on page load.

Thanks in advance.
Reply
#2
Not Solved
To my knowledge, no. You could always make a simple plugin that reads the contents of the file to a variable that can be used in templates.
Reply
#3
Not Solved
(2018-07-23, 02:54 PM)Tom K. Wrote: To my knowledge, no. You could always make a simple plugin that reads the contents of the file to a variable that can be used in templates.

Thanks for the reply Tom, with regards to finding someone who may be able to write the plugin - is it best if I post a request for this in the Plugin Requests section? Unless anyone else may have been able to achieve similar?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)