Project

General

Profile

Actions

Proposal #617

closed

Include optional project parameter for listing tags

Added by FLX FLX over 13 years ago. Updated over 13 years ago.

Status:
終了(Closed)
Priority:
通常(Normal)
Assignee:
Target version:
Start date:
10/27/2010
Due date:
% Done:

100%

Estimated time:

Description

It would be nice to have an optional parameter for including the project you'd like to display tags from, e.g

{{taggedpages(mytags,rock),myproject}}

p.s: I hope all the ticket settings are right, most is in japanese.


Related issues 1 (0 open1 closed)

Related to Wiki Extensions - Feature #637: Multiple tag selection in taggepages macro.終了(Closed)Haru Iida12/10/2010

Actions
Actions #1

Updated by Haru Iida over 13 years ago

  • Project changed from r-labs to Wiki Extensions
  • Assignee set to Haru Iida
Actions #2

Updated by Haru Iida over 13 years ago

  • Status changed from 新規(New) to 解決(Resolved)
  • % Done changed from 0 to 100

更新履歴 r143 で適用されました。

Actions #3

Updated by Haru Iida over 13 years ago

  • Status changed from 解決(Resolved) to 終了(Closed)
Actions #4

Updated by FLX FLX over 13 years ago

I've been trying to get this to work for the tags Application and Featured in the project Notebook but I can't get it to work.
From the documentation:

{{taggedpages(tagname, project)}} macro displays the list of pages of project which have specified tag.[12/06/2010]New!

I've tried:
{{taggedpages(Application,Featured),Notebook}}
{{taggedpages(Application,Featured)Notebook}}

Can you please help me out?

Thanks,

Dennis

Actions #5

Updated by Haru Iida over 13 years ago

{{taggedpages(Application,Featured),Notebook}}

{{macro(X, Y), Z}} is illegal syntax. Every argument must be inside of parentheses.

You should write

Error executing the taggedpages macro (undefined method `id' for nil:NilClass)
.

Actions #6

Updated by FLX FLX over 13 years ago

Ah, I see, thanks for that. However, how am I able to do this with multiple tags? Example:

Error executing the taggedpages macro (undefined method `id' for nil:NilClass)
doesnt work.

Thanks,

Dennis

Actions #7

Updated by Haru Iida over 13 years ago

You can specify only one tag on this version.
Please wait for next version.

Actions #8

Updated by FLX FLX over 13 years ago

Will do, I'll wait for the next version. Thank you for your diligent work on this, it's much appreciated :)
Please let me know if I can help along with anything.

Take care,
Dennis

Actions #9

Updated by FLX FLX over 13 years ago

Also, with the latest Redmine build it produces the wrong urls:
Tag macro produced url: http://example.com/wiki/myproject/TestPage (404)
Correct url: http://example.com/projects/myproject/wiki/TestPage (HTTP OK)

Actions

Also available in: Atom PDF