Drupal: a million dollar View
- Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /mnt/www/ecstaticist/wp-includes/functions.php on line 41 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /mnt/www/ecstaticist/wp-includes/functions.php on line 50 July 21st, 2006
- Posted in General
- Write comment
Sometimes when you buy property they construct a big building in front of your view and the value of your investment decreases. Other times, they demolish a big obstacle and you are left with a million-dollar view that pays a huge return on your initial investment. This is what has happened with Drupal. Those of us who invested time and effort in learning Drupal in the past are now being rewarded as the community delivers more and more powerful functionality.
Case in point: the Views Module pioneered by merlinofchaos was recently upgraded to include a Views Theme Wizard. This is a genius bit of programming that implodes a big obstacle for Drupal site builders. From the instructions that come up when you click the Theme Wizard tab in the Views admin interface:
The views theming wizard generates code that you can use in your phptemplate theme to help you customize the output of a view. Simply select a theme and it will generate code for your template.php as well as template files for the individual views.
At this time this code assumes your view is a list type view! It may not generate effective code for other types of views. Future versions of this program will be smarter, and give more options, but this wizard is still a huge start.
This works for every view, so even if you have cloned 100 views from the same parameters, they can all have a different look and feel based on easy edits to the view’s Theme which is generated by the wizard. It might look a little scary at first, but just play around with it on a test site. Make changes and watch the effect. You will get it, and when you do, working with Drupal will never be the same.
If you build websites with Drupal and you are not yet using the Views Module, please check it out and support the development by sending in bug reports and feature requests. This is one sweet piece of technology that helps puts Drupal over the top in terms of flexibility and function for content display.







-
-
Boris Mann
-
Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /mnt/www/ecstaticist/wp-includes/functions.php on line 41
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /mnt/www/ecstaticist/wp-includes/functions.php on line 50
July 23rd, 2006
- REPLY
- QUOTE
-
-
merlinofchaos
-
Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /mnt/www/ecstaticist/wp-includes/functions.php on line 41
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /mnt/www/ecstaticist/wp-includes/functions.php on line 50
July 24th, 2006
- REPLY
- QUOTE
Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /mnt/www/ecstaticist/wp-includes/link-template.php on line 107 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /mnt/www/ecstaticist/wp-includes/link-template.php on line 132Hi Evan — nice post. I just added the “drupal” feed to Planet Drupal. You should be getting some new visitors soon
Thank you for this! I love seeing people find my work useful!