Listpages For Logged In User Only

Posted by Helmut_pdorf Helmut_pdorf on 20 Aug 2018 15:31, last edited by Helmut_pdorf Helmut_pdorf on 22 Aug 2018 09:20
:

This is a page related to the community question http://community.wikidot.com/forum/t-7065091/list-pages-for-current-logged-in-users#post-3919051

using the ListUsers module to get the logged-ion user
and than calling over a link another page with the ListPages module wanted using the parameter "created_by"={$variable_name} ( from the ListUser module

[[module ListUsers users="."]]
[*http://community-playground.wikidot.com/listpages-for-logged-in-user-only1/created_by/%%name%% See your own pages]
[[/module]] 
<<-- this is the important trick where you can built in an extra page "listpages-for-logged-in-user-only1" with a standard text of your ListPages module the used include with the variable Name ,
and the called ( by link) page could use the ListPages using the found logged in user as a variable in the url:
[[module ListPages order="created_at desc" category="*" created_by="@URL" separate="false" prependLine="||~ Title ||~ User ||~ at ||" appendline="||||||||~ ||" ]]
||%%title_linked%% || %%created_by%% || %%created_at%% ||
[[/module]]

++In Action

Only for following user:


Backlinks (Links to this page from others):

Comments:

Thanks for the findings!
Helmut_pdorf Helmut_pdorf 22 Aug 2018 09:36

It was in the old wish an old user from Wikidot : user Venryx Venryx , who have demonstrated the solution!


Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?

by Helmut_pdorf Helmut_pdorf , 22 Aug 2018 09:36

Number of Comments: 1)

page revision: 17, last edited: 22 Aug 2018 09:20
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.

AltStyle によって変換されたページ (->オリジナル) /