#1 Developer Help » All css and js seem not loaded. » July 24, 2019 8:58pm

kado_gratis
Replies: 1

Hi, i just have fresh installed bigTree cms on my shared hosting.
But, it seems that all css and js isn't loaded by the pages.
You can see it here : http://ayatmerdu.com

Any help would be nice.
*Sorry bad english*

#2 Re: Developer Help » CSS Not Loading » July 24, 2019 8:47pm

mke18 wrote:

I have installed Bigtreecms locally and everything seems to work but the site doesn't load CSS or JS files. When I check the code with Inspect Element I find that the include line of code

<? include "partials/header.php" ?>

on home template appear as a comment, instead of including the partials but it appear this way:

<!--? include "partials/header.php" ?-->

.

I did turn short_tags on within php.ini and it's now working still. Could someone help me on how to fix this problem?

How to add ";" to end, become :
<? include "include "partials/header.php"; ?>

#3 Re: Developer Help » how to use bigtree classes and functions (PHP beginner) » July 24, 2019 8:43pm

doon.mok wrote:

BigTree
BigTree::redirect($url = false, $code = ["302"])

BigTreeModule
$module = new module_name
$get = $module->getAll($order = false, $columns = false)

This is how we do it, hope this helps.

Hi, thanks. It helps alot.

#4 Developer Help » how to use bigtree classes and functions (PHP beginner) » July 10, 2019 7:54am

kado_gratis
Replies: 2

Hi, firstly, apologize for my bad english (non-native english)

I'm very new in bigtree cms. I was a joomla cms user before, and I'm looking for better cms which lighter but more powerful than joomla.
I'm impressed with bigtree now. It's looks very light and simpler to develope, especially for PHP beginner.
It also has very good documentation, with all of code reference we can  use to develope website.

My question is very simple :
How can I use those code reference ?

For example,
In the documentation, I found  "BigTreeCMS" link which contains very much function in it.
Let's say I want to use "getLink" function in my php code, so I call the function with :
$cms->getLink($page_id); // correct me if I'm wrong big_smile

Now, how can I call other functions in other classes, i.e : BigTreeModule, BigTree, BigTreeImage, SQL, SQL Wrappers, etc ?

Thanks for answer, and again : sorry for my bad english, wish you can understand what I'm asking for big_smile

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.