%%created_by_id%% and %%updated_by_id%% to work with User Profiles
leiger wrote on 09 Dec 2009 12:30
In this case, [[*user leiger]] will not work as I actually want to grab some content from the profile page from within a ListPages module. I want to do this:
[[div style="border:1px solid silver; margin:2px;"]]
[[module ListPages category="doc" order="random" limit="5"]]
**Created by %%created_by_linked%%**
%%content%%
----
[[include profile:%%created_by_id%%]]
[[/div]]
… where the bottom part is actually including something from the person's profile page.
This feature is at weneed:177
Comments: 8
page revision: 5, last edited: 09 Dec 2009 14:03
Shouldn't this be a subthread of ListPages Improvements?
Portfolio
And to answer my own question, why yes it should! And I'm making it so :-)
Portfolio
You've got a point there… I forgot that variables don't work outside of a module or template! :)
As for the weneed link, I felt that it was appropriate in this case (obviously you didn't). It's a subthread of a subthread, and the weneed directly relates to the post contents.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Link to weneeds, sure, but please do not lobby. This just distorts the rating on issues, which I already don't take very seriously.
Portfolio
By saying "Please see (…) to vote this weneed up if you would also like to see it implemented", I had considered that to not be advertising / lobbying. Can you give an example of when a link to a weneed is acceptable, then?
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Shrug. Maybe I'm being extreme here… but I'd tend to stay with straight references, i.e. "This feature is at weened:xx". People know they can vote if they want to.
Portfolio
Anyhow, I've merged this into the ListPages improvements now, please review and close this subthread if you're happy with that?
Portfolio
Closed
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)