By mattdm
Description
Visitors tend to prefer sites with recent updates to those created in 1997 and never updated. This solution gives you a quick line to put at the top of your site which quickly shows that this site is active.
Code
[[div style="font-size: x-small; whitespace:no-wrap; float: right"]]
[[module ListPages category="*" tags="-_system,-_redirect,-_include" limit="1" order="dateEditedDesc" separate="no"]]
%%date_edited|This site [[[system:recent-changes|updated]]] %O ago%%.
[[/module]]
[[/div]]
Note that the "div" lines simply make the text small and float at the right. If you don't want that, leave out the div, or style differently.
In action
Or, right here:
12 Nov 2024 01:36.
Thanks to tsangk for this great snippet: conditional-blocks
text above inserted with:
[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]
Other snippets posted by mattdm
Rate this solution
If you think this solution is useful — rate it up!
I have just added it to the sidebar on my site and checked it with IE 7.0.6001.18000 and it shows up with no problems.
Rob
Rob Elliott - Strathpeffer, Scotland - Wikidot first line support & community admin team.
On your site I can see the text in IE and FF !
On mattdm's site i have no chance in IE!
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 ?
1. The site given as an example in action does not show any source code - i have no chance to see where thís info comes on IE!
2. Your solution DOES NOT WORK on Internet Explorer ( 7.0.5730.11) !
3. Only viewable on FF ( 2.0.0.20) …
Please - test this out on IE too!
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 ?
I'm not really interested in testing the site on specific old proprietary browsers. The site works in Firefox and with WebKit.
But I imagine it's the styling of the div that is confusing your browers. That part isn't really essential; just an example.