Note on Drupal best practices: when using db_set_active() to use another database, make sure to reset back to the default db as soon as you get the results from the other database. You can never be sure just when Drupal is gong to try another query that may need the default db.
Recent Updates Page 21 Toggle Comment Threads | Keyboard Shortcuts
-
Elmer Masters
-
Elmer Masters
Tweaked NS Cloner plugin to copy media library files to the newly cloned site. Also reduced the privileges needed to create a clone so that anyone with the right role could do it. Puts me on the path for that big red “Clone Me!” button that we need.
-
Elmer Masters
Working on cloning for Classcaster and ECR sites. Goal is to allow privileged members the ability to make a complete clone of a site.
A new plugin, NS Cloner, was released today that promises to make this process easier. It gives the network admin the ability to clone any site. It does an excellent job, but it ignores media files. To copy existing media files from parent to clone is straight forward. The plugin already handles all of the reference to the media files. -
Elmer Masters
Looking at importing WordPress categories into Drupal taxonomies. The WordPress Import module gets the categories into a a Drupal taxonomy easily enpough. Need to figure out how to move the terms from the imported vocab to the CALI Topic.
-
Elmer Masters
On to ebooks! Final prepping of 2013 editions of the Fed Rules from LII for release on eLangdell. Seems like I had some scripting sitting around to generate the toc.html file that Calibre uses to generate a working ToC in the .mobi conversion process. Checking my notes.
-
Elmer Masters
Now that the Twitter Tools thing looks solved, I think I may look into forking that code and starting a new plugin project to keep the TT feature set alive since the current developer is apparently going to abandon it.
-
Elmer Masters
OK, it looks like TT 2.4 posts to Twitter when I create a new entry here. It only retreives tweets not generated from this site. That makes sense because If I’m on the blog, I don’t need to see tweets for blog posts.
-
Elmer Masters
Seems like TT will post to Twitter OK, but is having no luck retrieving tweets for the widget.
-
Elmer Masters
Banging around with the Twitter Tools v2.4 for WordPress trying to get it working again.
-
Elmer Masters
Added Draggable Views module to the mix on beta.cali.org so I can sort stuff the way I want. Working well for Topics. Design decisions about how taxonomy URLs get rewritten are kicking me in the butt though when it comes to sorting nodes under each term.