#1 Re: Developer Help » Modifying Templates » August 3, 2021 8:14am

You need to look for that templates php file in the templates folder. Then add code to show the subtitle and you can style it there as well.

#2 Re: Developer Help » Date and Time Formats » August 3, 2021 8:09am

In the environment.php file, you can can change the time zone.

#3 Re: Bug Reports » Google Analytics - Can't Authenticate » February 22, 2021 3:16pm

The oAuthSetToken function doesn't seem to be creating the token. I even tried to Authenticate and Save Code without entering anything in the field and still gave me a success message.

#5 Re: Bug Reports » Google Analytics - Can't Authenticate » February 22, 2021 9:35am


The code from google doesn't seem to be saving for me. When I go back to analytics, it is still asking to authenticate. I tried on my local and live websites. The token is empty.
Any ideas?


#6 Bug Reports » Google Analytics - Can't Authenticate » February 18, 2021 3:49pm

Replies: 3


I was getting a "No profiles were found in your Google Analytics account."under Analytics. Which was odd because it was working before. So I Disconnected and tried to Authenticate. I sign in with my email account and get warning below.

"Google hasn’t verified this app
The app is requesting access to sensitive info in your Google Account. Until the developer (info.fastspot@gmail.com) verifies this app with Google, you shouldn't use it."

I go to site to get code anyways and copy code. It says successfully authenticated but nothing happened.
I still get the "To connect Google..." and Enter Code Here field to authenticate. I tried hard refresh and logging in/out.
Any ideas why it is not connecting?

bigtree 4.4.12


#7 Bug Reports » Form builder - IP address label still there » January 15, 2021 11:31am

Replies: 2


When you removed the IP address feature from form builder, the "IP Address of Submitter" label still shows up when viewing an entry. In view-entry. php, you would want to remove the code below.

Version 2.5.2

<fieldset class="form_builder_entry_right">
<label><strong>IP Address of Submitter</strong></label>

#9 Bug Reports » Module > Actions > Reorder doesn't change which shows up first » December 17, 2020 11:39am

Replies: 2


I reordered my module menu in Actions. When I go back to view my module, the left most menu is not the active menu, instead it is showing the original menu as the active one. The two menus are View menus.

I was expecting the left most menu to be the active menu, is there something I'm missing in the Actions area when reordering the menus?


#10 Re: Developer Help » upload svg files not working » December 16, 2020 4:02pm

Saw on github you had already fixed the issue.

#11 Re: Developer Help » upload svg files not working » December 15, 2020 4:09pm

I think I found the issue and it is possibly a bug. I was getting the error below.

(index):145 Uncaught TypeError: Cannot read property 'indexOf' of undefined

It was referring to core/admin/modules/files/add/file.php, line 42 which checks if it is a svg.
Instead of

} else if (file.type.indexOf("image") !== -1 && this.type.indexOf("svg") === -1) {

it should be

} else if (file.type.indexOf("image") !== -1 && file.type.indexOf("svg") === -1) {

Once I changed it from "this" to "file", I was able to upload an svg file.

#12 Developer Help » upload svg files not working » December 14, 2020 3:50pm

Replies: 3


I just upgraded to bigtree 4.4.11 locally and tried to upload an svg file through Files > Add Files. It it seems to hang once I select the svg file.
I tried adding different variations of the below code to .htaccess and httpd.conf(Mamp) but still same issue.
Tried without the periods before svg and svgz.
Tried without AddEnco... line

AddType image/svg+xml .svg .svgz
AddEncoding gzip svgz

Any suggestions to why its not working?

#14 Bug Reports » Expired page subpages still available » January 2, 2020 12:07pm

Replies: 2

If I set a page to expire and after it expires , I was expecting the subpages of that page to not be available and show a 404 error. But you can still go to the subpages if you know the url. I was expecting it to act like an archived page, where page and all subpages are archived.

I'm not sure if this post should be under Bug Reports or Feature Requests.


#16 Re: Developer Help » One to Many field - List Parser Function help » July 23, 2019 2:25pm


I figured out my issue but was wondering if I can pass a variable through the List Parser Function field. I want to pass the id of the row editing in the module.

For example:
List Parser Function field: policy::getPolicy($rowId, $data, $type)

Is this possible?

#17 Re: Developer Help » how to use bigtree classes and functions (PHP beginner) » July 16, 2019 9:23am

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

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

This is how we do it, hope this helps.

#18 Re: Bug Reports » Form Builder - IP of entry » June 7, 2019 12:54pm

Thanks, I will create the ip column.

#19 Bug Reports » Form Builder - IP of entry » June 7, 2019 11:06am

Replies: 2

I'm testing out form builder v2.5 and when submitting a form and viewing the entry. The IP Address of Submitter is blank. Looking at process.php, it looks like it is trying to insert the ip address in an ip column in the btx_form_builder_entries table. There is no ip column in that table.

I downloaded the form builder extension and copy/pasted into the extensions folder to upgrade. Would it create the column if I upgraded through Bigtree > Developer > Extensions?

#20 Re: Developer Help » One to Many field - List Parser Function help » June 5, 2019 11:53am

Hey Tim,

I removed the if else but all the items are still in the selected section.

$return_data = array();

// if not selected
// if ($type === true) {

foreach ($policies as $item) {
	$category_name = "";
	$category = json_decode($item["category"]);
		if($category[0]) {
			foreach ($categories as $each) {
				if($each["id"] == $category[0]) {
					$category_name = " (" . $each["name"] . ")";

	$return_data[$item["id"]] = $item["policy"] . $category_name;
return $return_data;

// } else {
	 //return $data;
 //    }

#21 Developer Help » One to Many field - List Parser Function help » June 5, 2019 11:15am

Replies: 5

I added a One to Many field type to a module and trying to use the List Parser Function to display a different title. I have the new title displaying if not selected but if I add an item and save and then go back. The selected item title is the original, not the title from the List Parser Function. I'm not sure what I need to do to show the new title after its been added?

I was referencing this example you had

function parseManyToMany($data,$type) {
    $return_data = array();
    // If $type is true, we're parsing the full list of values available for a user to tag
    if ($type === true) {
        foreach ($data as $id => $description) {
            $return_data[$id] = strtoupper($description);
        return $return_data;
    // If $type is false, we're parsing the currently tagged values
    } else {
        // Let's leave it how it is.
        return $data;

I thought if I put the description in the else, it displays the new description but it also has all of them in the added section.

#23 Developer Help » Sitemap - hide comment » April 18, 2019 8:19am

Replies: 2

Just updated v4.4.3 locally and want to remove the comment "Generated by the BigTree CMS https://www.bigtreecms.org." from sitemap.xml. I know I can remove it from the original sitemap.php but I copied sitemap.php and moved it to /custom/inc/bigtree folder. The comment is still showing up.
I deleted the sitemap.xml from the cache folder as well so it would create a new one but that didn't work.

Should I be editing the original sitemap.php?


#25 Developer Help » File Referece Field Type » March 8, 2019 1:45pm

Replies: 2


I am using the File Reference field type in one of my modules and it puts the file id into the database. I am trying to point to that file in a template but only have the id to refer to. What is the best way to get file information such as name? I can create my own function to get it but is there a bigtree function?

There is a getFile function but that refers to cloud storage.


Board footer

Powered by FluxBB

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