include "news.php"; // your news design include "articles.php"; // your articles design include "forums.php"; // your forum design include "blog.php"; // your blog design include "gallery.php"; // your galery design include "downloads.php"; // your download design include "weblinks.php"; // your weblink design
function render_page($license = false) { .... your theme design } ?>
Go to each of your copied files, and edit them, but make sure you do not change the function name and it's parameter. What is inside, you can modify to your hearts content.
When PHPFusion 9 loads. The FIRST thing it register is your theme, and any function that is included in your theme. Only after that maincore is loaded, panels, users, etc. If your theme has these custom templates function already loaded in your theme, the default template that is attached together inside the infusion will not be used.
But if your theme do not have any of these function required v9 will automatically use the one that comes with the infusion for your theme. it has a function exist detector.
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct
We enforce a no support by Private Messages policy as a part of your expected behavior. The support you possibly can receive should be available to everyone and hopefully not repeated to many times. This makes the forums the only natural place for support.
I'm going to show how much PHPFusion 9 can do in the repository.
You need basic PHP knowledge and have basic experience in V7 theme.
Many have wondered if PHPFusion is bootstrapped, can it go Semantic or not? The answer is with Semantic Developers, not us, as we are only integrator. But in my guidance tutorial, I'll show how any framework works with PHPFusion 9. Also part of everyone's experience.
Ok, Semantic has 160 files. Lets do it. Copy everything inside dist folder and copy to our new theme folder.
Lets call it "Tutorial-With-Semantic".
Here, I committed the basic theme folder (exactly same as V7).
This is a git of a basic package that will work in both V7 and V9.
So inside render_page() function in theme.php file, I just go to Semantic Docs website, and view source, copy , paste , save, upload.
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct
Is there any actual PHP-Fusion 9 Theme Creation/Update Tutorials out there? This one simply isn't sufficient. An Infusion Development & Update Tutorial would also be FANTASTIC!
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct