You are not logged in.
Great, thanks Tim!
Hello,
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.
Thanks
Thanks Tim! We will move to the core fields instead of the extensions.
Hello,
I upgraded to Bigtree 4.4 and noticed an issue using a Matrix in Settings with the extensions Link finder and Media Gallery not showing up.
If I add a new column in Developer > Settings > Type(Matrix) > Add Column > Custom(Link Finder or Media Gallery) > Save > Update. Then when I go back into Field Settings, the field I just created is not showing up.
Or after I upgraded to 4.4, those two do not show up either if they were already in there.
In settings.json, the column was created.
"id": "test",
"name": "test link",
"description": "",
"type": "matrix",
"settings": {
"style": "list",
"columns": [
{
"type": "text"
},
{
"type": "com.fastspot.link-finder-field-type*link-finder",
"id": "test",
"title": "test"
}
]
},
"locked": "",
"system": "",
"encrypted": "",
"extension": nullThanks for the suggestion, Ill look into this.
Hey Tim,
Is there a way to have end users only edit certain fields in a module?
For example, we have a Faculty directory module with Name, Title, Department and etc fields. Depending on the end users access level they can edit Name and Department but not Title?
Is this possible or any ideas to accomplish this?
Thanks
Thanks for the idea Tim!
Think I found the issue, since the issue was happening locally, I removed the YouTube API connection and everything works fine.
The YouTube API connection was only connected for our live website and when connecting to the API, it asks for a url. The local url http://localhost/admin/developer/services/youtube/return/ is not the Authorized redirect URI through the YouTube API, that was why I was getting the error.
We are using the Video field(V.1.4) on bigtree 4.2.2 and when adding a youtube video, we keep getting the error
Image uploaded (youtube-video-HWPTgBB6tBk.jpg) did not meet the minimum size of 1600x900 pixels.
As a test we changed the minimum size to 1x1 and still error. We also added a thumbnail in youtube without any success.
We have the youtube api connected to our account.
Thanks for you help.
I pinpointed the issue but not sure why it is not working. The getPage() is causing the error in my custom/inc/required/_boot.php file
$bigtree["hpec"]["home_page"] = $cms->getPage(0);
$bigtree["hpec"]["site_title"] = $bigtree["hpec"]["home_page"]["title"];I have another website that is using the same getPage(0) in _boot.php without any issues.
We have a few websites that are using different servers and when trying to upgrade to 4.3.2 locally on MAMP, one website automatically upgrades when copying over the core file. The other website doesn't seem to upgrade at all and gives me an error like it is already upgraded.
This is the error I'm getting
Fatal error: SQL::fetch called on invalid query resource. The most likely cause is an invalid query call. Last error returned was: Table 'discover_bigtree_hpec.bigtree_open_graph' doesn't exist in C:\MAMP\htdocs\hpec\core\inc\bigtree\sql-class.php on line 913
Before copying over the core folder, I checked my $current_revision was 211 and my admin level was 2, so it should go to the upgrade/scripts folder
$current_revision = $cms->getSetting("bigtree-internal-revision");
if ($current_revision < BIGTREE_REVISION && $admin->Level > 1) {
BigTree::redirect(DEVELOPER_ROOT."upgrade/scripts/");
}Not sure why one website is upgrading and the other is not.
Thanks Tim!!!
Tim,
This is the error:
Array ( [0] => Error executing "ListBuckets" on "https://s3.amazonaws.com/"; AWS HTTP error: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) )
Hey Tim,
This is my local using MAMP. I did a composer update and it updated aws to 3.81.5
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
- Updating aws/aws-sdk-php (3.81.3 => 3.81.5): Downloading (100%)
Writing lock file
Generating autoload files
I also did a clean install of BigTree and same issue.
Any other ideas?
Thanks
I upgraded to 4.3.2 and tried connecting to Amazon S3 but I keep on getting secret/key invalid. I know the secret/key are correct as I am using them on my live website(Bigtree 4.2.24). I checked S3 and we are using the right region.
Any ideas why it wouldn't connect?
Thanks
When editing a page and clicking the link/image button in the WYSIWYG, clicking the folder/magnifier button. With version 4.3.2, there is only the Manage Files button next to the search text box. In older versions there was the New Folder and Upload Files button. Can those be added back?
I feel it would be more user friendly to have those buttons back instead of the Manage Files button that opens up a new browser tab and goes to the files tab.
Thanks
Doon
Fixed the issue, it was something we were doing and not Bigtree. We had made a change to the inc/bigtree/cms.php file and placed it in our custom folder. We forgot to update our cms.php file with the newer changes.
Hello,
I'm adding links to wysiwyg with a #etc at the end to go to a section on a different page and when I publish the page, it removes the #etc. I am not sure how to get around this, any suggestions?
Example:
Add code below to wysiwyg
<a href="https://www.bigtreecms.org/forum/#etc">TEST</a>
Publish the page
The url is https://www.bigtreecms.org/forum/
For some reason it is removing the #etc
Tim,
Two issues I am having.
Files > Add Files >This page isn’t working, HTTP ERROR 500
I am able to view the Add Images, Video and Folder.
Developer > Cloud Storage > Blank page with no errors.
Hard refresh and restarted server.
Thanks for the update Tim.
Thanks Tim, I copied over the vendor folder and did a hard refresh and css showing. I'll have to remember to copy over core and vendor folder from now on.
Might need to update the manual upgrade directions to include the vendor folder: https://www.bigtreecms.org/developers/d … upgrading/
Hello,
I am trying to upgrade to the newest version of bigtree locally but when I go to the backend(/admin/dashboard/) of bigtree, there is no styling. I copied the core folder and moved it over.
This is the error I'm getting
GET http://localhost/admin/css/main.less net::ERR_ABORTED 500 (Internal Server Error)
I tried restarting Mamp and using php 7.2.1
Thank you Tim!
Thanks Tim, that worked.
Ill be using the code below but just curious where are the pending changes stored? I tried look at the module tables and couldn't find anything.
BigTreeAutoModule::getPendingItem("directory_table", $bigtree["commands"][0]);
Hello,
I am trying to create a preview for Module entries but I'm getting
Page Not Found
You've encountered a missing page. Please check the URL you have entered and try again.
This is what I did
Under Developer > Modules > Name of Module > Edit View >Add Custom Action.
What I entered in the fields
Action Name: Preview
Action Image Class: icon_preview
Action Route: I've tried preview and preview.php with no luck
Link Function:
Then I added the preview.php file to custom/admin/modules/directory/ folder
The url i'm getting is http://localhost/admin/directory/preview/2/ and http://localhost/admin/directory/preview.php/2/
Can you let me know what I'm doing wrong?