Posted by cach on March 17, 2010 at 3:27pm
2 followers
Jump to:
| Project: | Textimage |
| Version: | 6.x-2.1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I'm working a lot in views 2, I think it would be great to be able to change the title (within views>basic settings) of a certain block or page to textimage. Is is possible? Does anyone have any brilliant ideas or tips?
Comments
#1
For pages you can use this in template.php, this changes all page titles
function MYTHEME_preprocess_page(&$vars, $hook) {if ($vars['title'] != '') {
$vars['title'] = theme('textimage_image', 'subtitle', $vars['title'], array(), 'png', $vars['title'], $vars['title']);
}
}