Nestable ListPages
This new CSI allows nested ListPages modules. Before, nesting a ListPages inside another ListPages module was impossible. Now, using this new CSI it is!
Special thanks to:
James Kanjo for his help and advice on the complicated CSI!
Example:
[[module ListPages limit="1"]]
[[include :csi:include:listpages body=* @@%@@%linked_title@@%@@% |category=*|limit=10]]
[[/module]]
{"module":"list/ListPagesModule","params":{"limit":"10","category":"*","module_body":"* %%linked_title%%"}}
Instructions
To install this package in your site, use the following generator:
Forum comments and discussion relating to this page has been disabled.
Apologies for the inconvenience.
Include files
ListPages Frontend | By James Kanjo | 30 Nov 2010 03:45 |
Comments: 17
page revision: 29, last edited: 16 Apr 2013 14:24
Where did the comments go?
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.
Hey Steven,
I solved the problem that I was having. At first I edited the post to say that, then I decided that it would clear up the page a bit if I just deleted it (no need for unnecessary comments).
If you want to delete your post as well - which would also delete mine (this one) - I have no issues with that.
Cheers,
Shane
Shane Smith
ethicalwd.com - Blog - Wikidot Editor - Docs
Point was that I first made a comment to link to the experiment that I did… And funny enough it showed exactly what you asked for… but that comment is gone.
If you deleted that… well… since it was older and no reply to you… you should not have removed it (if you DID remove it) otherwise I wonder who and why my comment was removed.
Link to a simple family-tree with nested listpages
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.
No, there weren't any comments here when I visited the page earlier today. I deleted only my own comment, about an hour after creating it.
Edit: Is it possible that you posted the link elsewhere and thought it had been posted here instead? Not sure why anyone would delete it, so I think there might be another explanation.
Shane Smith
ethicalwd.com - Blog - Wikidot Editor - Docs
Is this traceable in a history somewhere
Did you see the example and was it helpfull in some way?
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.
According to the conversation in Gmail, the first post by anyone on this page (other than me) was "Where did the comments go?" - by you. That is why I suggested that you may have posted it elsewhere instead.
It's possible that I accidentally deleted the original e-mail, but I doubt it… I archive everything and have years' worth of e-mails readily available - attachments and all :)
Shane Smith
ethicalwd.com - Blog - Wikidot Editor - Docs
Can't find a trace of it either. I must be losing it :)
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.
Maybe :)
BTW:
Shane Smith
ethicalwd.com - Blog - Wikidot Editor - Docs
BTW:
loosing is a word. As in, "This post is an example of loosing my wrath upon the ignorant of the world by giving them information and removing their ignorance." The act of letting loose. Freeing from constraint, contract. Removing restraint. To shoot or let fly, as in projectiles from weapons. To untie, unfasten, undo, as in knots or bonds.
Whole bunch of usages for that word that you deny. :P
Hello everyone. Any problems / bugs found?
Kenneth Tsang (@jxeeno)
I have a category (using forms) that has roughly 30 fields in it. The _template (which is actually just includes of other files) for the category displays the pages in a table, with a few tables nested inside it for formatting. I have comments to label and provide some much needed visual reference points in that labyrinth of div and row and cell tags. I frequently include these stat blocks in articles, and sometimes those articles are accessed using ListPages. NLP to the rescue!
I realized quickly that NLP doesn't allow me to just include another file. So, all the nice short code that I had in one place needed to be copied to every place I want to use this. Major disadvantage. I didn't really expect it to do this, having read all the code, but it would be nice if you documented that for usability.
I copied the layout I was using and pasted it in your generator, and slapped the resulting string in my page. Walla! I broke it. Turns out that comments break NLP. Made sense, given how the arguments are constructed, but I had forgotten I had them in there. It would be nice to mention it on this page for people that haven't read/understood all the source. I removed the comments and tried again.
The result looked almost exactly like it should. But inline bolding, italicizing, strikethrough, superscript, subscript, teletype, underline don't work.
Your code generator isn't escaping the double asterisks, and my guess is that it also is the trouble in the other formatting. The replacements you use seem account for the start of a comment and a closed comment, but not the end for a comment, but I'll admit regex isn't my thing and I didn't spend long staring at it.
does not seem to work.
http://a-simple-plan.wikidot.com/nestedlistpage-overview
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.
I will use this as long as nesting is not implemented for listpages
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.
Working fine for me on my site, as expected. Passing in a variable.
Shane Smith
ethicalwd.com - Blog - Wikidot Editor - Docs
This CSS will remove that loading image while the NLP is loading:
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
Wikidot changed something in their backend code that broke the NLP in some instances.
A fix has been applied, and you may need to recompile your pages (Page » Edit » Save).
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
NLP is a highly requested feature I think… but wikidot does not realy allow this of fear we would burn their servers. I am curious if this still works.
A - S I M P L E - P L A N by ARTiZEN a startingpoint for simple wikidot solutions.