My click bait titles are so powerful! This isn’t anything special but it does show a couple of Google Script patterns that we reuse all the time. Folders are made in other folders! Documents are made in those folders. Things are shared. Ownership is assigned! So many things. The following script takes a form submission and then . . . makes a folder in a particular folder, shares it with particular people, sets the ownership makes a document within that sub-folder, shares it with particular people, sets the ownership adds them as a viewer on a different folder deals with some issues VCU has with students having both @vcu.edu and @mymail.vcu.edu email addresses but without them behaving as if they are the same in Google Details are in the comments. The trigger is on form submission.
I should not have to list out the things that can make one feel weary after a few (hours? minutes?) of opening an internet device. Is anyone else worn out? Thankfully, enough things happen, without seeing them coming, to- at least for now– counter the flood. And invariably for me, these are at the individual […]
Not that I usually have a theme but this is a stranger mix than normal. Helping teach a photography class while my oldest son takes a photography class has led to interesting opportunities.
Some might ask, “Why buy 3 different versions of C.H.U.D. on VHS? Isn’t that overkill?” The short answer is “Yes,” but the longer answer is and “Why the hell do you care? Are you some kind of minimalist, or worse … Continue reading →
Origin Story We had two sites on a multisite installation. The desire was for site A (or any number of sites) to have posts in a certain category duplicated to site B. In many scenarios we’d just use Feed WordPress but in this case both sites were private. There may be a way to get that working in FeedWordPress but I am not aware of it. These two functions will copy content from one site to another when it is published. It won’t sync up editing or anything like that but it’s a decent start for doing that if it was desired. The explanation is mainly in the code comments. I’m not sure if that’s useful but I also realize that the audience for what I write1 is mostly me and I’m ok with it. Now you could change add_action( ‘publish_post’, ‘copy_post_replicator’, 10, 2 ); to add_action( ‘update_post’, ‘copy_post_replicator’, 10, 2 ); and it’ll run on any post update. The problem there is that edits to the posts will result in duplicates on the destination site. If we wanted to get fancy, we could record the post ID of the duplicate post as a custom field on the original and do some updating function based on that but this was a very fast response rather than a full blown project. […]
While my students were freewriting stories, poems, play skits, comics and other ideas, I was working on this comic in my notebook about a staff that has lots its notes, and the notes who come to the rescue. I got a kick out of making the notes with faces and expressions. Peace (in tiny boxes), […]
This is the third of n in a series of posts covering the development of a web site project for JIBC. Previously I wrote about the metaphor of and prototyping of a map metaphor. Now it’s how it was not exactly realized in the WordPress site created. But let’s start with the end, meet CorrLeader, […]
This year I’m teaching trimester long courses for 5th and 6th graders in Media Literacy and Digital Literacy at Casady School in Oklahoma City, and also serving as a technology integration coach with all our PK-12 teachers. In this post, I’d like to share a couple “How To” tutorials I’ve created for […]