Profile
Achievement
zachharkey's Recent PHP SnippetsTagged drupal
- All /
« Prev 1 Next »
While these examples convert Markdown fields to HTML for use in CKEditor, the same method can be used to render the filters of any input_format.
0
938
posted 14 years ago by zachharkey
PHP
Rewrite Drupal's File system paths to remove redundant sites/example.com (alternate settings.php method)
Alternate to <a href="http://snipplr.com/view/133530">this method</a>. Have not yet tested.
In settings.php, put this code:
0
583
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
703
posted 15 years ago by zachharkey
Few different ways to output primary links in your page.tpl.php template.
3
983
posted 15 years ago by zachharkey
The following block should live in your theme's page.tpl.php
2
550
posted 16 years ago by zachharkey