Find untagged pages

By Helmut_pdorfHelmut_pdorf

Description

How to find pages without tags?

I found a solution based on the fact that module ListPages inserts a standard phrase "no tags found for this page" in the variable %%tags%% if a page has no tags assigned.

In wikidot you cannot select pages with "non-existing" tags - it does not work (in module ListPages or other) to try ideas like:

  • tags="NONE" ( a constant )
  • tags ="-*" ( de-select all possible tags)
  • tags="+" ( select all tags with nothing - lenght = zero)
  • iftags has the same problem…

On html output you can use the "Edit" & "Search" Command short form:

  • "cntrl" + "F" ( search) and
  • "cntrl" + "G" ( next find)

Perhaps other people find another solution ?
A sort would be useful…

Using %%tags%%

( as a test I used the "code:" category limited to output of 7 pages)

[[module ListPages category="code" order="titleAsc" perPage="200" limit="7" separate="false" prependLine="||~ page(title) ||~ tags ||"]]
|| %%linked_title%% || %%tags%%||
[[/module]]

In Action

page(title) tags
3d tagcloud
404 (Page does not exist) Redirect 404 redirect
Adding A Site Logo
Advanced Search csi search search_advanced
Alexa traffic ratings alexa embed graph traffic
Alternative Specific Users Only alternative specific_users_only suo
Animoto

Thanks to tsangk for this great snippet: conditional-blocks


text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]



Other snippets posted by Helmut_pdorf

Todo List with Data Forms - 30 Apr 2015 14:59
Html(embed) code opening in new window/tab - 29 Oct 2014 09:05
Facebook Button - 27 Dec 2013 15:03
Sorted-ListPages-List - 19 Aug 2013 15:56
Advanced Search - 25 Feb 2012 12:29
Top Nav Menu with ListPages - 16 Feb 2012 01:48
Schedules - 16 Feb 2012 01:40
Use any html code on a page - 16 Feb 2012 01:34


Rate this solution

If you think this solution is useful — rate it up!

rating: +3+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License