2011-08-06, 07:43 PM
Is it possible to indclude header and footer template on custom pages which is not located the same place as MyBB-Forum. But placed at MyBB-Forum/Subfolder
[How To?] Include header and footer on other pages.
|
2011-08-06, 07:43 PM
Is it possible to indclude header and footer template on custom pages which is not located the same place as MyBB-Forum. But placed at MyBB-Forum/Subfolder
2011-08-06, 07:49 PM
if you are referring to php custom files then that should be possible by using the header & footer templates !!
2011-08-07, 08:53 AM
But how to do it?
2011-08-07, 10:54 AM
you can make a global template with required header part & another with required footer part
OR use a plugin like page-manager
2011-08-07, 11:25 AM
I tried to put that into the page.
But when I do that it only comes out with an error. I think that the code you gave me is only working if the page is at the same folder as MyBB. But my page is at a subfolder of my MyBB folder.
2011-08-07, 11:27 AM
^ please check the path of global.php OR lets wait for an expert's guidance
2011-08-07, 11:50 AM
I have also tried this. But without any luck.
2011-08-07, 11:53 AM
^ what is the error you are getting ...
2011-08-07, 12:02 PM
(This post was last modified: 2011-08-07, 12:05 PM by Dead Soul™.)
I am getting this error
After putting the code in again I got this error instead.
2011-08-07, 12:05 PM
So you were using the exact same code ranjani posted? It was just an example...
|
« Next Oldest | Next Newest »
|