Sometimes when theming on some level you need to output some image through imagecache, so here is how to do it. Usually in some function in template.php you will write this
Sometimes when theming on some level you need to output some image through imagecache, so here is how to do it. Usually in some function in template.php you will write this
I constantly forget how to properly apply patches to drupal modules and often some patches can be a life saver before official release is made.
I almost always use Fusion theme as my base theme, one thing its missing and developers of it seem not to care is a class that is in body and is different for node add and node edit pages, so I usually go to template.php and around line 64, after
Finally in IE9 MS started to support proper and useful CSS tags. But at this moment in time you still need to have support for IE7 and IE8. So If you want to make some nice box shadows, you are in a problem. Luckly this page comes to help http://css3pie.com/
works as it should, donate to those people, they made your life much easier :-)
Facebook-style Micropublisher works great with Facebook-style Statuses and is one of the coolest "new" drupal modules. Statuses are lightweight for database but statuses also can have their own page like nodes. Problem is that in my case this is not out of the box solution. So again i made some hacking :-)
This often has given me lots of headaches, how to setup front page for each language. There are several ways, depending on your site configuration chooses one.
I always wanted to tried this, finally I got a client who was willing to do this for his site.
This option of showing user history seems more obsolite then useful, se lets hide it.
For Drupal 6, copy this file from your /sites/modules/user directory:
user-profile-category.tpl.php, put the copy into your custom theme directory and within that file, replace the code with this
There is a great module for people you registred manually but you need to give them login information after this. It is one time login module but it lacks option to redirect users to their user edit page, which is the first thing they should do, enter their NEW PASSWORD.
I am bulding a view with stats for users that are registred and inputed DOB. Currently core profile module and views (drupal 6) don't play along when using dates. The way data is stored seems to be the problem. Anyway you can't filter and sort your users by date, but you can make this happen with customfield PHP code.