Profile
Achievement
zachharkey's Recent Snippets
- All /
Nice tip for doing global search/replace on database, taken from the excellent warner brothers records writeup.
0
671
posted 15 years ago by zachharkey
Thanks to [James](
http://www.girsbrain.org/blog
) for this code.
0
697
posted 15 years ago by zachharkey
This is a replacement for the default PHP settings in Drupal's .htaccess file. Increasing the memory_limit, max_post_size etc. prevents a lot of errors, especially when using image modules.
0
820
posted 15 years ago by zachharkey
Use this when you want to serve a domain from the document root of another domain on the same box. Along with this config, you will want to replace the httpdocs directory with a symlink to the other domains doc root. (Don't forget to change ownership...
1
752
posted 15 years ago by zachharkey
Create theme override file: `upload_attachments.tpl.php` in your theme directory.
[CSS styles](http://snipplr.com/view/11848)
2
905
posted 15 years ago by zachharkey
The following styles are designed to work with the markup from a custom theme override template called [upload_attachments.tpl.php](http://snipplr.com/view/11851)
1
946
posted 15 years ago by zachharkey
Few different ways to output primary links in your page.tpl.php template.
3
1158
posted 15 years ago by zachharkey
Say you wanted the following 4 tabs: bodoni, helvetica, frutiger, univers, each outputting a separate block view of 3 teasers each. This is what your markup would look like:
1
661
posted 16 years ago by zachharkey
The following block should live in your theme's page.tpl.php
2
727
posted 16 years ago by zachharkey