javascript theming

is there any detailed documentaion on this?

Best video module solution for video website?

Good evening all,

I was just really curious to see what you guys think is the best video module solution for a completely video dedicated website that is based on Drupal.

Maybe give a module or piece of code and the reason why you think it's the best?

Maybe some examples too?

Would be great!

Thanks muchos!


Theme developer module for Drupal 6 - Screencast

Screenshot of theme developer module

I’ve been showing off this module privately, but it is now time to broadcast the news. Drupal theming has taken a major leap forward. Watch the screencast. Let me be the first to welcome a thousand terrific new designs and designers to our project.

The module is called Theme developer. Theme Developer relies on the Devel module as a dependency. Once enabled, you may click on any part of the page and a sexy popup display shows which theme function/template outputted the HTML, and what other files could have done so. Armed with this info, a themer may quickly and accurately override the presentation. Further, all the variables passed into the template/function are presented for review.

Watch the screencast

If the above video format does not work for you, it is also available in OGG/Theora format (thanks to Liam McDermott) or a smaller version in Flash.

Implementation notes

  • The basic idea of the module is that it uses hook_theme_registry_alter() to make itself receive all theme calls. Thus, it logs all the variables that are received and the templates that could have been called, and were eventually called, and so forth. It finally delegates to the original theme function for generating the HTML. Finally, it takes the generated HTML and wraps it in span tags in order to identify what HTML belongs to what theme call. Those span tags get classes attached for the red border that follows the cursor.
  • The popup window gets all its data from a huge javascript array in Drupal.settings. This array stores data about each call.
  • In order to receive the same drill down behavior as in the screencast for the variables listing, you should install krumo. See the README file.

Noob Frustrations - More Step by Step, less theory?

I'm a designer, comfortable in XHTML and CSS. I've been building websites for a long...long time. I've got a few clients that want to move from hard coded designs to a database driven, CMS style format. In fact, I recommended this. Having gone through reviews for literally hundreds of competing CMS products I decided that Drupal may be the one for me. I should mention that my first choice was WordPress - I know, it's not a 'real' CMS - but more on that in a minute.

I am by no means here to start a flame war or to denigrate the hard work done by the Drupal community. Instead, I can hopefully cast some fresh light on who the user community is/will be, and perhaps make some suggestions as to how to make the product more useful to noobs like me.

My main goal with Drupal is to take an existing site, and Drupalize it - giving me the look I've already chosen, with all the backend functionality I need. So I Installed the software (installer was a breeze, nicely done!) and started reading about theming in the new 6.x themers handbook.

D6 in the International Year of Languages

I just more or less randomly stumbled upon this assembly summary from the UN's General Assembly, declaring 2008 International Year of Languages. They explain how multilingualism in the United Nations [serve] to enrich the work of the Organization. And continued with a statement that linguistic diversity [is] the foundation of cultural diversity. And without working towards preserving this diversity, the harmonious integration of a growing number of countries in the practical work of the Organization would hardly be possible. The declaration itself (A/61/L.56) also mentions specific problems with regards to how the UN website works, notably problems with non-Latin and BiDi texts. Now, why do I post all of this? Well, D6 is going to be released Any Time Now(tm) and is going to be the first Drupal release with BiDi support, content translation and some other i18n improvements. It's still not all the way there, but it's definitely a huge step compared to D5 and earlier (as well as the UN's website, it would seem ;))!

Hohum. Well. The point I wanted to get across really is as simple as: The first (pseudo-)multilingual Drupal is going to be released in the UN International Year of Languages! Is that not cool, eh?

Inline images into posts, how do you handle it

I have used tinyMCE with imce for Drupal 5 and it worked great.

In drupal 6 neither of those modules has been released (yet)

what do you guys use for INLINE images in posts ?
I downloaded the image module
where it says

Images could be posted individually to the front page, included in stories or grouped in galleries.

I thought it actually meant inline images, does it mean that ?


Subscribe with RSS Subscribe to RSS - Drupal 6.x