Not Solved [How To?] Include .html or .php page
#1
Not Solved
Hi people!

Just want to ask you how i can include .html page in the main page of the forum? I tried to do that in Footer Teamplate but seems like teamplate does not understand php language

Im using code:  <?php include "/myfile.html"; ?>

i think need to find some php file in html forum folder and put this code there

Can someone help? Thanks!
Reply
#2
Not Solved
You’d either need a plugin to define a variable that you could use in the template, or just put the HTML in the template directly.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#3
Not Solved
As Matt writes, you need a plugin… There are several for now I remember:
OUGC Pages: https://community.mybb.com/mods.php?action=view&pid=6

And without Plugins: https://community.mybb.com/thread-116043.html

Other tutorial: https://community.mybb.com/thread-116225.html

 Big Grin
Reply
#4
Not Solved
(2022-01-02, 06:16 PM)Matt Wrote: You’d either need a plugin to define a variable that you could use in the template, or just put the HTML in the template directly.

Thank you for answer. But problem is that i use trade expert 3 plugin. And if who knows, html page is dynamic and updatabele.

Just installed OUGC Pages Plugin

how to use it?  ougcpages ougcpages [size=1][b]ougcpages[/b][/size]
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)