DrupalCampLA Presentations

|

This past weekend I made two different presentations and participated in a panel. Below are my notes from the presentations:

Drupal FormAPI

This presentation was a quick run down of how to use the FormAPI to create... forms! Examples included a basic one page form and multi-step forms using $form_state['storage']. There was also a demo of how to use the new #ahah feature.

After the presentation I was asked a question about how to add additional form elements to forms using the new #ahah features. My answer was that there is now a module out called ahah_helper which makes doing something like this very painless! You don't have to register any menu callbacks or do any of the lifting outside of your original form builder function. Its still fresh out of the kitchen but I would recommend giving it a try.

References

Drupal 6 Theme Functions and Template Files

Sometimes you can't theme everything with css. You just can't. This is where themable functions come in to save the day. The clean to implement, easy to use saviors to themers all over Drupal-land.

Thanks to all who attended my theme function presentations. At the culmination of our 3 one hour long sessions we went from what the template engine is, to calling theme functions in your template files and all the way to implementing our own function and template overrides with the help of the Devel module's themer module.

Throughout the sessions I sprinkled in tid bits of debugging your code with the use of

<?php
dsm
($variable);
?>

(Remember devel module must installed and active on your site).

Additionally here is the snippet of code we run at the top of the template.php file during development to make sure that Drupal is picking up all of our new template/theme function changes. Remember to disable this before going to production.

<?php
drupal_flush_all_caches
();
?>

I would say more here about what was presented but it really is too much and when the video comes out you will hopefully be able to watch and follow along again. In the case that it doesn't I have posted up my presentation slides which were a rough outline that I followed during the presentation and I've also posted below the references listed at the end of the presentation. I highly recommend reading through these to help guide you on your journey to understanding Drupal's theming system.

References

Thanks for joining me at DrupalCampLA!

AttachmentSize
Drupal 6 Theme Functions.pdf1.3 MB
FormAPI Presentation.pdf1.4 MB

Just a good topic. Thanks.

Just a good topic. Thanks.

I forgot about those! Maybe

I forgot about those! Maybe they look good w/ the right outfit? I didn't like skinny jeans when I first saw them. lol. Please come visit my site Ohio Business Listing when you got time.

Just a good topic. Thanks.

Just a good topic. Thanks.

thank you helps a lot

thank you helps a lot

tiffany: tiffany jewellery,

thanks for the great topic

thanks for the great topic

Designer replica handbags

Designer replica handbags like Coach bags,Burberry handbag, Hermes bags, Gucci handbags, Tiffany bag, Christian Dior bags,Chanel handbags, Chloe handbags, Dolce & Gabbana bags,Fendi handbag,Prada handbags and sandals shoes are available at our site. All replica bags sold by thereplcabags.com come from the finest manufacturers and are guaranteed to bemade with premium materials and inspected by a very careful quality control. We are fully confident you will be pleased with your product and quality of customer service!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may use [inline:xx] tags to display uploaded files or images inline.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

Upcoming events

  • No upcoming events available