Download & Extend

Use node_view to display the links

Project:Web Links
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:NancyDru
Status:closed (fixed)

Issue Summary

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

AttachmentSize
weblinks_reptag_error.jpg41.16 KB

Comments

#1

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.

#2

Hi Nancy,

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

#3

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

#4

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

#5

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

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

#6

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

#7

#8

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.

#9

Status:needs review» fixed

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

#10

Status:fixed» closed (fixed)
nobody click here