I've included the previous patch and now I've also added per node type enabling of the link.

To be fine and dandy the checkbox element that sets/unsets the link displaying in the teaser should
be done with an AHAH form. But in D5 there's no such form element. It can be implemented using a contrib module but that introduces a dependency for the module.

Hopefully soon I will have a patch for the D6 version of the module. There is easier to handle dynamic form elements.

Comments

micropat’s picture

Upon saving, even if one of the buttons are checked (and not using an uploaded image), "Missing file for upload" appears.

Good note on the checkbox/AHAH. We'll stay away from external dependencies, but dynamic form elements in D6 would be great.

perusio’s picture

StatusFileSize
new23.64 KB

Oops. Fixed, I hope. tested both cases, i.e., with and without custom button.

perusio’s picture

Title: Yet another patch for custom icons and also per node type enabling of link » Yet another patch for custom icons and also per node type enabling of link (This is final..I hope)
StatusFileSize
new24.83 KB

Messed up in the handling of the per node link enabling checkbox. I didn't notice it at first due to the row in the variable table being already filled by the original module in my devel site. All broke when I installed the patched module in another site.

Anyway is fixed now. Try it out and port it when you can.

Soon I will start to work in patching the 6.x version.

Thank you

xjm’s picture

These features are include in the 6.x release, so closing this issue.

xjm’s picture

Status: Patch (to be ported) » Closed (fixed)