You are not logged in.
You can try setting the server's document root to the 'site/' directory, this should negate the need for the redirects from '/' to 'site/'. See the "Post Install" section at the bottom of this page: http://www.bigtreecms.org/documentation … tallation/
You can disregard that rule, it's to ensure PHP gets the proper modified headers when apache_request_headers() is unavailable: http://us3.php.net/manual/en/function.a … eaders.php
Sounds like IIS handles this properly: http://msdn.microsoft.com/en-us/library … 80%29.aspx
The .htaccess files should have been created when installing, if you selected "advanced routing." Much of the file deals with gzip and resource types, but the rewrite rules are as follows:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?bigtree_htaccess_url=$1 [QSA,L]
Sidenote: You may run into other issues on IIS, like any PHP modules or functions that use Linux only capabilities.
I have BigTree running a few sites on 1and1. For each site I set up a php.ini file with some custom values:
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
allow_url_fopen = ON
zlib.output_compression = On
memory_limit = 32M
upload_max_filesize = 32M
post_max_size = 32MI also set the document root to the /site/ directory through the hosting control panel to avoid needing a separate .htaccess file in the root directory. Otherwise, you may need to include '/site/' in the .htaccess files' rewrite rules:
RewriteRule ^(.*)$ /site/index.php?bigtree_htaccess_url=$1 [QSA,L]
Calling all developers! Have you built something exceptional with BigTree? If you have please let us know. We would love to brag about it.
Simply post a reply to this thread with a link to your site, or use the submission form on our homepage.
You will definitely need some PHP knowledge to do anything in BigTree. Here are some resources to get you started there:
-Docs: http://us1.php.net/manual/en/
-Getting Started (tutorial): http://us1.php.net/manual/en/getting-started.php
-PHP Academy: https://phpacademy.org/videos
-Codecademy: http://www.codecademy.com/tracks/php
-Lynda.com: http://www.lynda.com/PHP-tutorials/Intr … 485-2.html
PHP Academy includes some PHP and MySQL tutorials. Codecademy is probably the most basic and a good place to start.
This should help get you started understanding Modules: http://www.bigtreecms.org/documentation … e/modules/
Then as you start building your module, you'll want to read up on the Geocoding field type: http://www.bigtreecms.org/documentation … geocoding/
Step-by-step, this would look like:
1. Create table for new your module
2. Build your new module in the BigTree developer section
3. Remember to add a new geocoding field when building your module's form
4. Enter some new markers with addresses
5. In your template, use the module to query for your new markers
6. Draw your new markers.
We're happy to help out with getting your module configured. Do you have BigTree installed? Have you looked through the developer documentation on modules? What questions do you have specifically?
You should start by setting up a new table containing the "latitude" and "longitude" fields to control your module. You can then use the "Geocode" field type when building the module's form. BigTree will automatically update the proper fields on save.
To actually display the markers on a map you're going to want to check out the Google Maps Javascript API: https://developers.google.com/maps/docu … avascript/
It shouldn't be a resolution issue, but we do have a higher-res icon sprite in place for high DPI (retina quality) screens. Glad it's working for you in Firefox though
I'm seeing it in Chrome myself, but if I zoom in or out it hides. Try zooming back to 100% and it should be reappear.
Very strange, can you inspect that page (with Firebug or something) and verify that there is an a tag with the class "options icon_settings" imediatly after the field type select in that row?
No, it shouldn't be. Are you on the newest 4.0 official release? Do you get a little hand when hovering over that empty area where it *should* be?
Yup, you should see a little wrench and screwdriver cross like this:
Just click the little blue icon next to the field when editing the form, you'll get a modal with all the field type options including image dimensions.
This is really what the Messages area of the Dashboard is for. We have dicussed integrating messages deeper into the system to allow messages be tagged to specific pages or module items. There are no current plans, but this could always make it into a future release.
No special fields are required. Tags are actually a relational system. The "bigtree_tags" table stores the actual tag (as well as metaphone info and a generated route), while the "bigtree_tags_rel" table stores the relationship between the tag and an individual page or module item. A basic SQL join is used to find tagged pages or module items, but you could always write a custom query to find everything related to a specific tag. Check out these tag related functions in the docs to help get you started:
http://www.bigtreecms.org/code-referenc … CMS.getTag
http://www.bigtreecms.org/code-referenc … TagByRoute
http://www.bigtreecms.org/code-referenc … agsForPage
http://www.bigtreecms.org/code-referenc … agesByTags
http://www.bigtreecms.org/code-referenc … agsForItem
http://www.bigtreecms.org/code-referenc … atedByTags
path is a pretty sweet function: http://www.bigtreecms.org/code-referenc … gTree.path
LDAP implementation always seems to be pretty specific to the client, so I don't think we plan to support it out of the box right now. You are correct in that you can extend the BigTree admin class to add or override any internal functions as you see fit.
You should be able to access any custom variables you set in the $bigtree array, even if you set them in a template. Also, don't forget to duplicate any files you with to edit from core into the same directory tree in custom so upgrades go smoothly.
You'll need to enable tagging in the module. Head to the developer tab and edit the form for the blog posts. There should be a checkbox to enable tags.
header.php will be included before the actual template code, while _footer.php will be included after. These will be included every time that routed template is requested. These headers and footers exist to help reduce repeated code; you should define modules and repeated variables once in the _header.
The actual order would be:
- header.php (if it exists)
- page.php (based on route; defaults to "default")
- _footer.php (if it exists)
I think there might be an issue with how your module form is set up. This indicates there isn't a default form setup since it's trying to include "p3.php." For some reason BigTree thinks the pending item id is a custom action. What does the URL throwing the error look like? Do you have a default form set up, along with an "add" and "edit" action?
That error says that there isn't a database selected. Have you set your database name in the config.php ($bigtree["config"]["db"]["name"])? This is different then the user name and is how BigTree will know what database to read from and write to.
I think you need to double check you MySQL login values in the config.php file. All errors stem from the first, where you are being denied access to the database.
The installer should have created a config.php file in the templates directory. If it did not, you will need to manually copy the config.example.php file to the templates directory, update the database settings and root URLs, then rename the file to config.php.
I am curious - did the installer throw any errors when first installing? Did the installer properly set up the template directory outlined here: http://www.bigtreecms.org/documentation … templates/? This sounds different then the error Rosie was reporting which stemmed from the MySQL interface.