Hi,

I installed Reptags to be able to set variables inside my weblinks nodes.
Attached screenshot of the situation using reptag.
Weblinks overview doesn't take the reptags in like [author-name].
On normal taxonomy pages the reptags are working.

This is on clean drupal 6.6, with weblinks and reptags (www.drupal/org/project/reptag).
Thanks a lot in advance for going into this!

greetings,
Martijn

CommentFileSizeAuthor
weblinks_reptag_error.jpg41.16 KBsummit

Comments

nancydru’s picture

I think this is because we don't use node_view. This is a change that is on my road map, but haven't gotten to yet. Most of teh code in _weblinks_links needs to be moved into a theme function, which should then be called from node_view, which should be called from _weblinks_links. This would enable all kinds of good stuff, such as all the voting modules and most likely fix this problem.

summit’s picture

Hi Nancy,

Great, looking forward to these enhancement. Thanks for updating me.
Greetings,
Martijn

nancydru’s picture

I guess that now that I've said this publicly, I need to get busy and do it... :-(

summit’s picture

Hi Nancy,
No rush..you are great whether you do this the soon or the latter :)
greetings,
Martijn

nancydru’s picture

Title: Reptags not working on Weblinks overview page » Use node_view to display the links
Assigned: Unassigned » nancydru

Changing the title to reflect the task. Hey, Martijn, are you sure you're using 6.x now?

summit’s picture

Hi Nancy,

Yes the screenshot was from a D6 site. But off course my other site in D5 needs this enhancement also!
Thanks a lot for going into this!

Greetings,
Martijn

nancydru’s picture

nancydru’s picture

Status: Active » Needs review

Look for 6.x-2.x to roll up this evening (midnight GMT). WARNING - this is very ALPHA and needs a lot of testing. I have just about reached the limit of what I can test because I know what I want it to do.

You must clear the cache (new theme code). You may have to copy "node-weblinks.tpl.php" to your theme folder.

This code is based on the current 6.x-1.x-dev code.

nancydru’s picture

Status: Needs review » Fixed

I just rolled up an ALPHA release. It does still need testing.

nancydru’s picture

Status: Fixed » Closed (fixed)