Description
In post Dynamic Feed Module/Summary & Details from Mar '09 a question appeared regarding module Feed: I would like to be able to allow some form of "drill-down" so that you can click on an individual entry in the feed and display the whole entry in an expanded form
Here's an idea what you could do (you may also want to check a different approach)
Code
Repeat below code as often as necessary while each time increasing offset by 1
[[module Feed src="..." offset="1" limit="1"]]
**%%title%%,** %%date%%[[/module]]
[[collapsible show="Show details »" hide="Hide details «"]]
[[module Feed src="..." offset="1" limit="1"]]
%%description%%[[/module]][[/collapsible]]
In action
%%title%%, %%date%%[[/module]]
%%title%%, %%date%%[[/module]]
%%title%%, %%date%%[[/module]]
%%title%%, %%date%%[[/module]]
%%title%%, %%date%%[[/module]]
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 ErichSteinboeck
TOC's from many pages - 16 Feb 2012 01:47
Redirect: To - 16 Feb 2012 01:37
Module Listpages Tags - 16 Feb 2012 01:24
Module Feed Drilldown: Details Page - 16 Feb 2012 01:24
Module Feed Drilldown - 16 Feb 2012 01:24
Module Categories - 16 Feb 2012 01:23
MiniRecentPosts With Limit - 16 Feb 2012 01:23
ListPages: Horizontal? - 16 Feb 2012 01:20
Choose A Page! - 15 Feb 2012 00:32
Redirect: From (1st) - 01 Mar 2009 18:18
Redirect: From (2nd) - 01 Mar 2009 18:17
Rate this solution
If you think this solution is useful — rate it up!
Is there a way to over ride the default state of the collapsible tag to be expanded rather than collapsed?
I tried putting the hide="Collapse.." in the first position, but it still starts collapsed.
Yes, you can. See the documentation.
Add the folded="no" parameter.
-Ed
Community Admin
Ahhh… RTFM… Thank you. ;-)
P.S. Now I know about hideLocation="both" too. Very useful.
Thanks Erich!
The idea is clear !
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 ?