You are not logged in.
Looks like something got set in the .htaccess file, along with some other headers to secure the site. Not sure why the robots entry was in there. Thanks Tim.
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
Header set X-Permitted-Cross-Domain-Policies "master-only"
Header set Connection keep-alive
Header set X-Robots-Tag "noindex, nofollow"
Hi there. My site pages started being excluded from paid Google Custom Search results a while back. We're still in development, so it's not a huge deal yet, as we'll be switching domains at launch, and will have to reindex at that point anyway. It was working perfectly for quite some time. I emailed Google to see if the problem was on our end or theirs, and they responded with a curl request that shows that our site is returning a X-Robots-Tag: noindex, nofollow. This robots tag is not in any of the template files in the site, which leads me to believe that Bigtree must be introducing that information in the header response for each page somewhere. Any idea what might have changed? Below is the curl response.
curl -I http://bigtree.......edu/student_life/campus_safety/
HTTP/1.1 200 OK
Date: Tue, 25 Nov 2014 21:04:14 GMT
Server: Apache/2.2.15 (Red Hat)
X-Powered-By: PHP/5.3.3
Set-Cookie: PHPSESSID=oa6ttgtm524bovaqbtpv0q71h5; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Permitted-Cross-Domain-Policies: master-only
Connection: keep-alive, close
X-Robots-Tag: noindex, nofollow
Content-Type: text/html; charset=UTF-8
Yeah, I've yet to upgrade to 4.1. I recently stepped back into this project after a couple months of being taken away by other things. I guess I was referring to the 4.1 update, which, if I understand, doesn't feature the matrix field anyway. So I will move forward with the array of items for now, and look forward to more great features in the future!
Thanks. I haven't upgraded yet, but I need to. My initial holdup is just the fact that I'm not able to upgrade automatically via FTP. I just edit locally on our server. I don't want to mess anything up with a manual update, and we're getting closer to launch.
Is there any way to add a field in a module that is initially empty and optional, that enables the user add one or more repeating entries? I'm creating a staff/faculty directory, and want to give the users a way to add multiple entries for one field. i.e. an education field.
2010 - Master of Education - Some University
2006 - Bachelor of Arts - Some University
...
...
Oh thanks. I hadn't checked back here. I'll install and see how it goes.
I'd be interested in Social Feed as well if you're willing to share it. We will definitely be looking at integrating social features into this iteration of our website. Thanks again!
It worked perfectly, and it looks like this is just what we needed. It will make form creation really easy for website contributors that aren't necessarily power users. Are there any other packages out there that I should be aware of? We installed the events package a while ago, and it is working beautifully as well. Thanks.
Have I ever mentioned how great you guys are Tim? We are running 4.1.
Yeah, nothing in there unfortunately.
No. I see it in the documentation at http://www.bigtreecms.org/features/ under the extensions section. Not sure where to find it though. Is that a separate download somewhere?
Any suggestions for creating email forms within BigTree?
Perfect, thanks.
Thanks Tim. Looks like that worked.
When an upload field is added to a callout, and the "required" option is checked, it initially works as expected. But if the editor goes back into the callout to make changes, since the upload field is not not repopulated with a value, unless a new image is uploaded, it thinks the field is empty, and throws a validation error. On top of that, after making the changes, and being shown the validation error, the pencil icon disappears from the callout, so there is no way to go back in and address the issue.
Yeah, I actually ended up doing something similar to that. I just added a questions table, and linked it to the responses form with a database populated list field. It doesn't exactly group everything together the way I envisioned, but it seems to be working ok as long as I select the appropriate question in the list on each response. I also added a form to manage the questions. One thing I did notice is that when I add a new action to the module to edit the questions, the edit button ("pencil" icon) route always defaults back to the standard /edit route, even though the action is designated as "/edit-question". I noticed that this behavior is even present in the events module that you shared with me, so I think there may be a bug there. In the events module, if you choose view categories, and click on the pencil icon to edit the category, you get the message, "The item you are trying to edit no longer exists.", because it's not pointing to the route in the edit category action of "/edit-category". Instead it's defaulting to the "/edit" route.
I did play around with the grouped list option, but it seems like the two tables would have to be tied together with some sort of id column, which I didn't have available. It'd be nice just to be able to drag the responses into the appropriate question group, but the way it's currently set up should work ok. We only update these questions once a month anyway.
Manually entering ![]()
I'm interested in created a module that has a couple of levels. Each month, we release a newspaper here on campus at my college. We have a section called Word on Campus, where we ask the students a question, and their response is printed in the paper. I would also like to put these responses, along with their photo, name, major in the website. Using the module as I understand them, I can create fields for their responses, i.e. Name, Photo, Major, Response. But, how would I group these responses based on the question though? Where would I enter the question that these responses are based on? i.e.
Question: What will you remember most about your academic career, and what are your post-graduation plans?
|
| Field - Response: The great part of getting my degree through...
| Field - Name: Jane Doe
| Field - Major: Bachelor of Science
| Field - Photo: Upload photo
Where I usually have 8 responders per question each month.
Thanks!
I'm loving the events module. I've stumbled on a feature that I'm having a little difficulty with though. In the getUpcomingEvents function, there is a parameter that accepts an argument for page number.
/*
Function: getUpcomingEvents
Returns an array of event instances occurring in the future ordered by those happening soonest.
Parameters:
limit - The number of events to return.
featured - Whether to limit the results to exclusively featured events or not (defaults to false).
page - The page to return (defaults to the first page).
Returns:
An array of event instances.
*/
How would I go about interacting with the pages? I've found that the $page object is actually an array of information, containing the following items:
[0] 117
[1] 8
[2] on
[3] Events
[4] events
[5] about/events
[6] Events
[7] events
[8] Array
[9] 0
[10] 1
[11] 0
[12] 0
[13] 2014-07-22 10:51:05
[14] 2014-07-22 12:34:48
[15] Array
[16] http://myurl/about/events/
This doesn't appear to match the columns in any of the btx_events_ tables. I'm just wondering what all of this is, and how best to go about the paging.
Thanks.
Amazing, I'll do that.
Is there an example site, or some code/tutorials available for building an events calendar in Bigtree CMS? I would love to integrate something like this into the CMS, rather than depend on Google Calendar's API for embedding events in my website. It just seems like some of the code involved with repeating events, etc. would be a little difficult and time consuming to create, and I don't want to reinvent the wheel if this is something that is already available to the public.
Sounds good. They're not hurting anything in my site as far as I can tell, so I just disabled error reporting for now. Everything still seems to work correctly.
I just happened to turn on error reporting on one of my PHP templates:
error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
ini_set('display_errors',1);
Now I'm seeing the following errors on the page:
Notice: Undefined property: BigTreeCMS::$Secure in /var/www/html/core/router.php on line 400
Notice: Undefined property: BigTreeCMS::$Secure in /var/www/html/core/router.php on line 410
Notice: Undefined property: BigTreeCMS::$Secure in /var/www/html/core/router.php on line 430
Notice: Undefined index: bigtree_preview_return in /var/www/html/core/router.php on line 434
I'm assuming I would see these errors throughout the entire site if I enabled error reporting in my other templates as well.
Any idea what could be happening? FYI, I am not currently doing anything with https.
Bummer, I did try that method as well. This doesn't appear to work with tinyMCE4.
Yeah, that's what I have been trying to do, albeit, not in the custom/admin/layouts directory. I've tried embedding the Typekit async code in every place/method I can think of, and it keeps breaking the editor. I've been trying to do something similar to this in _html-field-loader.php:
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
// Setup function
setup: function(ed) {
// Add TypeKit script to the iframe header
ed.onPreInit.add(function(ed) {
// Get the DOM document object for the IFRAME
var doc = ed.getDoc();
// Create the script we will add to the header asynchronously
var jscript = "var TypekitConfig = {\n\
kitId: 'abcdefghijk'\n\
};\n\
(function() {\n\
var tk = document.createElement('script');\n\
tk.src = '//use.typekit.com/' + TypekitConfig.kitId + '.js';\n\
tk.type = 'text/javascript';\n\
tk.async = 'true';\n\
tk.onload = tk.onreadystatechange = function() {\n\
var rs = this.readyState;\n\
if (rs && rs != 'complete' && rs != 'loaded') return;\n\
try { Typekit.load(TypekitConfig); } catch (e) {}\n\
};\n\
var s = document.getElementsByTagName('script')[0];\n\
s.parentNode.insertBefore(tk, s);\n\
})();";
// Create a script element and insert the TypeKit code into it
var script = doc.createElement("script");
script.type = "text/javascript";
script.appendChild(doc.createTextNode(jscript));
// Add the script to the header
doc.getElementsByTagName("head")[0].appendChild(script);
});
}});
Any chance your developers would be willing to share their code? ![]()