For a while, it has always bugged me whenever in using the ListPages module that if the variable %%comments%% or %%revisions%% is used, the occasional "1 revisions" pops up.
It is a trivial problem, one that is easily ignored or overlooked. But nevertheless, I always pick up on it anytime it exists.
So I propose the following solution:
Post this code on the page of ListPages:
[[module CSS]]
.sp1{ display: none; }
[[/module]]
Then whenever you have this situation, you can use the following code in ListPages:
[[module ListPages ...]]
...
%%some_variable%% word[[span class="sp%%some_variable%%"]]s[[/span]]
...
[[/module]]
You can see it in action here.
I hope this random tip is helpful.
— Blog ~ Life's Handbook ~ Wikidot Design & Development





