From: Tom K. <T.K...@pb...> - 2013-11-22 09:12:08
|
There is some Semantic results format called ListWidget, that might accomplish what you try to do! {{#ask: places |format=listwidget |headers=show |link=all |listtype=unordered |widget=pagination |pageitems=25 }} Met vriendelijke groet, Tom Kronenburg drs. T. Kronenburg PBLQ | Voor een sterke publieke sector Postbus 18607 | 2502 EP Den Haag | Van de Spiegelstraat 12 | 2518 ET Den Haag | T: 070 376 36 36 | F: 070 351 52 82 | M: 06 55 77 83 53 | I: www.pblq.nl Deze email is afkomstig van PBLQ, ingeschreven in het handelsregister van de Kamer van Koophandel onder nummer 27190312 te Den Haag. De disclaimer vindt u op http://www.pblq.nl/disclaimer Wilt u op de hoogte blijven van de activiteiten van PBLQ? Meld u aan voor de PBLQ nieuwsbrief via: http://www.pblq.nl/formulieren/nieuwsbrief Twitter: @pblq -----Oorspronkelijk bericht----- Van: Justin M [mailto:d3...@sa...] Verzonden: vrijdag 22 november 2013 1:35 Aan: sem...@li... Onderwerp: [Semediawiki-user] Need Map and Table in one Ask, and avoid further results Been racking my brain on this, and came up with nothing. Hopefully someone can help. I have a RunQuery page that does and #ask queries for physical places, and then displays a map of the places, as well as a table below the map with all of the name/address/category info. So basically {{#ask: places | Format=map | limit=25 }} {{#ask: places | Format=template | template=TableTemplates | limit=25 }} The problem is when the results go over 25, I just get "further results" . Clicking that takes you to the Special:Ask page, which then gives a table with pagination. Problem one: Is it possible to have a paginated table in a RunQuery page, without being forwarded to Special:Ask? It seems like the new Datatables format will have this in 1.9, but is it possible with the old tables? I tried updating to 1.9, but ran into this error when updating extensions http://semantic-mediawiki.org/wiki/Talk:Semantic_Maps#SemanticMaps_3.0c_erro r_1064 Problem two: When clicking further results under the table format, Special:Ask obviously loses the Map format. Is there a way to combine two formats so that they both respond to the same pagination and offset changes? Going to Datatables might fix the first problem, but is there any way to link clicking page 2 on datatables to changing map results? I know I'm asking a lot out of it, but I've done some amazing stuff already with SMW, so I'm sure this is possible somehow. :) Thanks! ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Semediawiki-user mailing list Sem...@li... https://lists.sourceforge.net/lists/listinfo/semediawiki-user |