As the title says, is it possible to add a "_blank" attribute to the links Lootz generates so they open in a new tab? I tried to patch Lootz myself, but I didn't get it to work.

Comments

Delishhious’s picture

Priority: Normal » Minor
professorbikeybike’s picture

That's a good idea for a feature I'll try to add in the next version. In the meantime though, if you edit the theme_lootz_item() function, that's where the a tag is output.

So copy the function into template.php in your theme directory, then rename it and add the target attribute:


mytheme_lootz_item(...) {
  return '<a target="_blank" href="...">...</a>';
}
Delishhious’s picture

Status: Active » Closed (fixed)

That works, thanks a lot :)