#101 Developer Help » Access BigTree variables outside of CMS Pages » June 24, 2014 9:51am

jmason03
Replies: 2

I have some files that I can't run through BigTree but I would like to have access to the variables/functions so that I can include my standard _header.php file without having to write a separate one that doesn't use BigTree. Are there specific files that I need to include on my outside files so that it can instantiate the necessary classes and functions?

Thanks

#102 Re: Developer Help » Issues Using TinyMCE4 » June 19, 2014 9:02am

Ok, I believe I least know why it wasn't working but I may need help in fixing it. Although I am running BigTree 4.1 apparently my setup is still using templates/config.php instead of config.settings.php and config.environment.php. The reason I say that is once I went in and added:

$bigtree["config"]["html_editor"] = array("name" => "TinyMCE 4","src" => "tinymce4/tinymce.js");

to my config.php file everything worked correctly. So do you have an idea as to why my setup would still be reverting back to using config.php even though the other two files are present?

Thanks

#103 Developer Help » Issues Using TinyMCE4 » June 18, 2014 4:43pm

jmason03
Replies: 3

I'm using an HTML editor within one of my callouts, the problem I'm having is that when I click the Format dropdown nothing happens and I'm forced to leave it on the default "Paragraph" selection. After looking at the code I realized that I was loading TinyMCE 3 so I decided that I would change it to Tiny MCE 4 and see if that helped. I went into the config.settings file and changed the name to "TinyMCE 4" and the src to "tinymce4/tinymce.js". However, upon a logout and then going back in and loading the page editor I still saw TinyMCE 3.

I was able to trace it to the _html-field-loader.php file on the fourth line where it tests if $bigtree["config"]["html_editor"] is set. The else case being that the name is set to "TinyMCE 3". After some testing I realized that it was always going to that else case, regardless of what I set the bigtree html_editor variable to.  If I changed the else case to "TinyMCE 4" then the I would just get a blank space where the editor should go. So, the first problem seems to be that it does not recognize that the bigtree variable is set and the second is that if the name is set to "TinyMCE 4" there is an error in loading that HTML editor.

I don't know if either of these issues have happened before but any suggestions on either how to get TinyMCE 4 to work or to get more formats listed inside callouts (other text formats are listed if the HTML editor just sits in the template instead of in a callout). Also, in the tinyMCE.init function the theme_advanced_blockformats: "p,h2,h3,h4", is there but it doesn't seem to be having any effect.

Any help or advice is appreciated.

Thanks

#104 Bug Reports » Edit Icon Disappears on Callouts » June 18, 2014 12:21pm

jmason03
Replies: 1

When editing callouts on a page, if you open one and then click the save button inside the callout the pencil "edit" icon for that callout disappears. The page must then be saved and reloaded for the pencil icon to appear again so that the callout can be edited.

#106 Developer Help » Restrict Developer Module Access » June 16, 2014 5:12pm

jmason03
Replies: 2

We have a user who needs a Developer account but there is one particular module that we would not like her to have access to. I tried going into the users table and setting "moduleID":"p" to "moduleID":"n" under the permissions column but that did not work. I'm just curious if what I want to do is even possible or if once the system sees she is a developer then it doesn't even check the permissions?


Thanks

#107 Re: Developer Help » Enable Callouts on Templates » June 13, 2014 4:02pm

Nevermind! I fixed it.

I remembered that when I updated to 4.1 I didn't have write permissions configured correctly for my cache folder, so after a little tracing I realized that the problem was that "callouts":"Callouts" was not listed in my form-fields-types.btc file. After I added that everything is working correctly.

Sorry if I wasted anyone's time on this total user error.

#108 Re: Developer Help » Enable Callouts on Templates » June 13, 2014 2:45pm

Ok, I am running 41. that is what I thought you were supposed to do but I don't have "Callouts" listed in my field type box. Should I try re-updating my core folder?
Screenshot

#109 Developer Help » Enable Callouts on Templates » June 13, 2014 12:51pm

jmason03
Replies: 4

I know this should not be challenging for me but for some reason I cannot figure out how to turn on callouts for a specific template. I've looked at templates from the example site but I don't see anything that references whether or not callouts are enabled or not. It's just that callouts are enabled for default example site templates and any new templates I add, I don't see anything that asks one way or another.

Is there a step that I'm missing?

Thanks

#110 Bug Reports » System Upgrade 404 » June 13, 2014 12:30pm

jmason03
Replies: 1

When you are inside the Developer section, within the Related tab is a link called System Upgrade that takes you to a 404 page for the following URL:

/admin/developer/upgrade/

#111 Re: Developer Help » No Data Tables in Module Editor » February 27, 2014 3:56pm

Yes I'm running IIS 8 along with PHP 5.4 and MySQL 5.6

Thanks for your help

#112 Re: Developer Help » No Data Tables in Module Editor » February 26, 2014 5:53pm

This is a screenshot from the Blog module that came with the example Big Tree setup from the installation but the problem is the same on all custom modules as well. I do have multiple tables in my database without the bigtree_ prefix but none of them show up in that dropdown.

Thanks for your help

#113 Developer Help » No Data Tables in Module Editor » February 26, 2014 5:34pm

jmason03
Replies: 5

I'm trying to create a new module and having a little trouble. I initially went through the Module Designer and made a new module that I want to use for an image slider. During that process, I entered homepage_slider as the table name and after I finished creating it I checked and there is a table in my BigTree database called homepage_slider with only an id column and approved column. However, when I go back to configure some options in the module, it will not let me update anything because it keeps saying I have not selected a Data Table from the dropdown box except that there are no tables listed in that dropdown. I'm not sure if there is something else I need to do to get the table I created to appear in the Data Table dropdown. If it is any help, I have never seen any table names listed in that dropdown even when working with some of the sample modules.

Thanks for any help

#114 Re: Developer Help » File Upload Permission Issues » February 21, 2014 11:10am

That fixed it! For anyone else that might read this just make sure you give IUSR write/modify permissions to PHP's temp upload directory as well as the site/files folder

Thank you so much!

#115 Developer Help » File Upload Permission Issues » February 20, 2014 6:04pm

jmason03
Replies: 3

I'm having some issues uploading files through BigTree. I believe it is a permission issue somewhere and I'm hoping somebody has an idea what it might be. Currently I am running IIS 8 on Windows Server 2012, and in IIS I have my pass-through authentication set to IUSR. IUSR has read/execute permissions on my wwwroot folder as well as write/modfiy permissions on my C:/Windows/Temp folder. This temp folder is where PHP is set to temporarily upload the file before moving it into the wwwroot. This setup gives me no errors from BigTree and allows me to browse the site with no issues. However, if I try to upload an image through a BigTree resource I get an error saying that the directory is not writable. I've tried giving IUSR write/modify permissions on the wwwroot but that didn't help either. The weirdest thing is that if I change the pass-through authentication to my personal account (I'm an administrator) it allows me to upload the files with no issues. I'm just hoping that this issue has come up before and someone can shed some light on this.

Thanks

#116 Developer Help » Add Custom Field to Array of Items » January 28, 2014 11:36am

jmason03
Replies: 1

I just created a new custom field type, a textarea without the html escape characters function. I was able to add it as a resource on pages, callouts, and modules but if I try to select in as the type in an Array of Items it does not appear. Is there a specific place I need to add it so that it will generate in that list?


Thanks

#117 Re: Developer Help » Setting up BigTree with IIS » January 14, 2014 3:34pm

That worked perfect! Thank you so much for your help!!

#118 Developer Help » Setting up BigTree with IIS » January 13, 2014 3:48pm

jmason03
Replies: 2

Does anyone have any advice/experience in setting up BigTree to work with IIS? I'm mostly having trouble importing the mod_rewrites from the .htaccess files. I can get the main index to show but the CSS and JS files are not linked correctly and I cannot browse to www.domain.com/admin. I get a 404 error and it keeps rewriting the Requested URL to www.domain.com/site/admin.


Any thoughts or advice?


Thanks

#119 Re: Developer Help » Using BigTree with IIS » January 10, 2014 10:03pm

Thank you for your help. I went back and re-installed BigTree using Advanced Routing and it did create a .htaccess file like you said. I was able to get all of the rewrite rules from both the root .htaccess and site/.htaccess and those did help. However, when I view the main index page (using the example site) it looks like the CSS stylesheets are not being linked to the page. Also, when I try to browse to mydomain.com/admin it gives me a 404 error. I'm thinking that it might be because I can't get this last rewrite rule to be imported by IIS:

RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
It gives me this error: "The rule cannot be converted into an equivalent IIS format because of unsupported flags: E"

Any thoughts as to what might be wrong?

#120 Developer Help » Using BigTree with IIS » January 9, 2014 12:42am

jmason03
Replies: 3

Hi, I'm trying to setup BigTree to work with IIS rather than Apache on our web server. The problem that I'm running into is working with the URL Rewrite. What I think I need to do is translate the rules from the .htaccess file to be compatible with my web.config file. However, I can't find the .htaccess file in either the root or site folders. I was hoping that someone could I either post the rules that BigTree uses regarding URL Rewrites and then I can import them into IIS or talk about how they were able to setup BigTree with IIS.

Thanks

Board footer

Powered by FluxBB

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