You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can it be made so that you can specify the namespace to search relative to the current page like described in the namespaces help page:
Links relative to the current namespace may also begin with either “.” or “.:” (“..” or “..:” for parent namespace).
Eg1 {searchform ns=.: } or {searchform ns=. }
will search in the current name space
Eg2 {searchform ns=.:policies }
will search in the polices sub-namespace of wherever the page is
That way I can use the variables and include plugins and have a standard "search" section defined centrally that I can refer to from other pages.
======search======
===== Searching in the @NS@=====
You can use the search box at the top of the page to carry out a search of all documents in the wiki or the form below to search just the @NS@section :
{searchform ns=.:}
More search syntax options can be found [[https://www.dokuwiki.org/search|in the documentation]].
that will allow me to include in any page:
{{section>:common_elements#search&noshowheader}}
or have as part of a page template.
I gave it a go to see if it would work but it ignored the . and .: and just searched the whole wiki.
I tried using @. or @.: in the standard page search at the top of the default template and it ignored them.
I had a quick look at the code for the plugin but wasn't able to see how to get the ns of the current page if the ns string passed as a parameter in the markup was either . or .:
The text was updated successfully, but these errors were encountered:
Can it be made so that you can specify the namespace to search relative to the current page like described in the namespaces help page:
Links relative to the current namespace may also begin with either “.” or “.:” (“..” or “..:” for parent namespace).
Eg1
{searchform ns=.: }
or{searchform ns=. }
will search in the current name space
Eg2
{searchform ns=.:policies }
will search in the polices sub-namespace of wherever the page is
That way I can use the
variables
andinclude
plugins and have a standard "search" section defined centrally that I can refer to from other pages.that will allow me to include in any page:
{{section>:common_elements#search&noshowheader}}
or have as part of a page template.
I gave it a go to see if it would work but it ignored the . and .: and just searched the whole wiki.
I tried using @. or @.: in the standard page search at the top of the default template and it ignored them.
I had a quick look at the code for the plugin but wasn't able to see how to get the
ns
of the current page if the ns string passed as a parameter in the markup was either.
or.:
The text was updated successfully, but these errors were encountered: