[development] HTML in node titles for D5

Maciej Perlinski maciej.perlinski at gmail.com
Thu Jan 17 16:30:20 UTC 2008


Yes well i guess thats why we have nodeapi :)

On Jan 17, 2008 5:27 PM, Earnie Boyd <earnie at users.sourceforge.net> wrote:
> Quoting Yuval Hager <yuval at avramzon.net>:
>
> >
> > I am just curious why the nyobserver site hacked core and not used a cck
> > field.. (reading through the comments in that thread I see some reference to
> > this challenge - http://drupal.org/nyobserver#comment-228510)
> >
>
> I don't know, I can guess they didn't want to add the extra overhead.
> The core title filtered through the check_plain function which removes
> html in the title.  You could write a hook_nodeapi [1] function in a
> custom module to repopulate it before it is saved to the DB.
>
> [1] http://api.drupal.org/api/function/hook_nodeapi/5
>
> Earnie -- http://for-my-kids.com/
> -- http://give-me-an-offer.com/
>
>



-- 
-
kindest regards
Maciej Perlinski
maciej.perlinski at meant4.com
http://www.meant4.com


More information about the development mailing list