Posted by wlad_m80 on January 8, 2013 at 7:01pm
Hello!
I'm using my own hook_filter module to filter node's content. (For example, it replaces (c) by © in the whole text)
It can be assigned to «Html», «Full html» etc. and works brilliant, but is there way to make it filter node's tittles?
Thank you in advance.
Comments
I attached to this question,
I attached to this question, I will know the answer happy, thank you
Zawsze nowe newsy. Aktualne wiadomości z całego świata.
You can run the title through
You can run the title through check_markup(). With this function, you choose the input format through which to pass the text, in this case, the title.
Jaypan We build websites
Thats works! The only problem
Thats works!
The only problem is that it doesn't replace such brackets: "
I will think tomorrow. Big thanks!
What can i do to filter views
What can i do to filter views titles?
Is there better way, then rewriting (for example) $row in views-view-unformatted.tpl.php by check_markup($row, 'html', false)? Becouse it filters the whole row, not only header + we can't replace format 'html' by $node->body['und'][0]['format']