How could i override l() functionwithout patching drupal core?

Comments

mooffie’s picture

What do you want this function to do?

Do you want all links to appear in green? -use CSS. Do you want to rewrite URLs? -search for 'custom_url_rewrite' in api.drupal.org.

artem.pankov’s picture

i wan't:
1. to automatically add some text to anchor. for example, for terms from one vocabulary i wan't to add node count always: < a href=".../taxonomy/term/50">Orange< /a> -> < a href=".../taxonomy/term/50">Orange (15)< /a>
2. to replace anchor < a href=".../user/50">Vasya< /a> -> < a href=".../user/50">$newtext< /a>

may be something else