#1 Developer Help » No Edit Bar on Main Site (Cookie Issues?) » September 18, 2018 3:36pm

redm33
Replies: 1

I used to get a black bar at the top of my main site when I was logged into the admin site. I no longer get this bar and I'm honestly not sure what I did to cause that.... I also was accessing the bigtree_admin email cookie on my main site (which was working before) and that is also not working (just returns false when I run isset). However, I have confirmed it IS SET by looking in google chrome's settings. Any idea on what I may have done to cause this? Thank you!

#2 Re: Developer Help » Check Admin Login on Main Site » June 29, 2018 11:19am

Shoot....I was editing the wrong environment file. Everything appears to be working now smile Thank you for your help!

#3 Re: Developer Help » Check Admin Login on Main Site » June 29, 2018 11:12am

Upon digging into my .htaccess file. I can't find anything that would strip the www from the admin site.

This is at /site:

IndexIgnore */*

Options -MultiViews

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?bigtree_htaccess_url=$1 [QSA,L]


RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
RewriteRule .* - [E=HTTP_BIGTREE_PARTIAL:%{HTTP:BigTree-Partial}]

It's only the admin site where this occurs. The main site keeps the www just fine. Also I should note, the cookie noted above DOES NOT register as set on the home page when the www is present, so you are correct in that it is the domain name (mainly the absence of the www).

#4 Re: Developer Help » Check Admin Login on Main Site » June 29, 2018 10:12am

It appears as though when I login through the admin and view the site it wipes out the www from the URL. Then the cookie appears true. I tried updating my config.environment.php to include the www in the domian, www_root, and admin_root but it still wipes it from the URL every time I login to the admin.

If I go to the admin URL using www, it removes it. Then I can add it too the URL and it stays and I can login but upon being directed to the dashboard, it removes the www again from the URL. If I try to then add it in the URL on the dashboard link, it redirects me back to the login screen without the www in the URL. Hopefully that makes sense...

I would really like everything to have a leading www in the url if possible.

Thank you!

#5 Developer Help » Check Admin Login on Main Site » June 26, 2018 7:44pm

redm33
Replies: 6

Is there a way to check if I'm logged into the admin site on the main site (the entire main site)? I was able to check if an admin cookie is set ($_COOKIE["bigtree_admin"]["email"])  but it only works on the home page for some reason; I could very well be doing something wrong... I'm trying to add functionality on the main site that you can only do if you are logged into the admin site.  Hopefully that makes sense!

Thanks!

#6 Developer Help » External Content » December 31, 2017 9:51pm

redm33
Replies: 1

I have an open source client-booking program that I need to install on my server. I added a new folder where I put all the booking program's source files to my hosting, which is at the same level as the core, templates, site, etc. folders. It has a similar installation process that BigTree does. However, when I try to direct my browser to the install file, it assumes I'm looking for a BigTree files and gives me a 404.

How can I get the external source files installed at the same level BigTree is? I would like my url to still looks like it does with BigTree pages (ex. www.domain.com/page) when I access the booking system.

Hopefully that makes sense!
Thanks!

#7 Developer Help » Adding Multiple Photos » December 19, 2017 10:53pm

redm33
Replies: 1

I'm working on a photography website for a client and it is quite tedious to have to add a ton of photos individually to a photo gallery. I tried the media gallery type but that still only allowed one image added at a time. Is there a way to add multiple photos at a time? I don't need any image manipulation, just the raw image.

Thanks!

Board footer

Powered by FluxBB

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