emergency weblog; or: epersonae; or: elaine nelson

in which I write about stuff

General discussion Q&A

rough notes from a wide-ranging discussion at Seattle Drupal MiniCamp

Categories: conference notes, dcs0902, Professional

what’s up with all the checkboxes on roles & cck?

“hooks” — hook form alter, any module that uses drupal forms api (which shd be any)

3 drupal statements: there probably a module for that, somebody should write a module for that, patches welcome. :)

bad open source naming! (fck, gimp) discussion of xinha, tiny mce, tiny tiny mce, fsck.

serialized data in database: module to pull it out? (I know nothing about serializing), use hook_form_alter to create an extra table?

wysiwyg api will be built into future core (maybe 7, probably 8). licensing issues related to GPL & Drupal, jquery became dual-licensed in order to be included in Drupal core. glad I haven’t yet installed a wysiwyg module.

drupal & xss? where does the coding happing? filter on output. (srsly? hrm.) text filter in D7. and then formats. (module that turns everything into pirate-speak?!) for security, lullabot has some podcasts on security? mahalie went to their training in portland, said they spent a big chunk of time on security issues. apparently was a good training all around. (if I ever get to go anywhere again….)

anti-spamming module mollom. like akismet? yes.

always wrap input if writing modules. handbook entry called “writing secure code”

discussion of hosting, in which I kinda drifted off, mostly about media temple. some serious harshing on GoDaddy “we charge extra to work with them”

custom error module vs htacess? is it best to have your 404 page in the CMS? if using core feature, blocks don’t get built. (I gotta go deal with that at some point.) use Excel to build the redirect thing when I switch over? I like that. also, path redirect module.

stuff about pivot tables (SQL, not Excel) & taxonomy? not sure I understand.

tables to know about re: nodes — nodes table and node revisions table. that 2nd one actually stores the node’s content.

conceptualizing a node: page, unit of content, database record, bucket. (somebody needs to make an LOL with the bukkit walrus.)

is there an ERD (database design) for drupal? well, bicycle factory: especially, cck. brain-bending talk about how cck works in re: the actual database.

theming node add with cck? (vs custom node) can be done, might take more time. (form_alter?) pre-render hook? custom code on top of cck. hrm. but benefits outweigh probs. “display:none [css] is your friend” ok, so she’s using form_alter to move around stuff like taxonomy, workflow, that are hard (impossible?) to move using weights.

best way to import legacy content? (I think I have some notes.) Katherine wouldn’t use node import for complicated sites. 1st 2 lines of index.php will run drupal bootstrap, stick them in a separate file, pull data from wherever, mock up a node object, use node_save and/or node_submit. webchick on IRC freaking out abt trying to import nodes. just not a clean process. SQL to SQL? not recommended, because touching so many things. (ugh.) omg this all sounds crazy. so not looking forward to that part. but HTF do you “mock up a node object”? but give node import a try, esp for not-so-complex stuff. (seems like people don’t submit their patches back, because people use it in a panic situation.) but edge cases have big edges. :) sometimes it’s cheaper to hire an intern. if you are a programmer, not *that* hard to mock up a node object.

sorta segue into discussion of ubercart.

eta for drupal 7? might see a lot of leapfrogging people upgrading directly from D5.

going to go get a snack, restroom break. then decide where to wander. :)

Comment feed

2 Responses to “General discussion Q&A”

  1. heyrocker says:

    At the last Drupalcamp I did a talk on node importing using one-off PHP scripts and node_save() you might find helpful.

    http://heyrocker.com/drupal/content/data-import-deployment-slides-drupalcamp-seattle

    The code samples are all in there too.

    Nice catching up today! Good luck with your project!

  2. Elaine says:

    Thanks! It was good to run into you as well.


Warning: file_get_contents(http://...@N00&min_upload_date=1370036759&per_page=500) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /home/akinsnelson/elainenelson.org/wp-content/plugins/flickr-digest/flickr-digest.php on line 67

Warning: DOMDocument::loadXML() [domdocument.loadxml]: Empty string supplied as input in /home/akinsnelson/elainenelson.org/wp-content/plugins/flickr-digest/flickr-digest.php on line 69

Fatal error: Call to a member function getAttribute() on a non-object in /home/akinsnelson/elainenelson.org/wp-content/plugins/flickr-digest/flickr-digest.php on line 70