Difference between revisions of "DPL talk:Gallery"

From FollowTheScore
Jump to: navigation, search
Line 8: Line 8:
 
:::Great! Thanks that is exactly what I needed. Next weekend I will try to put it in use.--[[User:Gollum2|Gollum2]] 22:49, 14 October 2007 (CEST)
 
:::Great! Thanks that is exactly what I needed. Next weekend I will try to put it in use.--[[User:Gollum2|Gollum2]] 22:49, 14 October 2007 (CEST)
 
::: I tried to add a first (in)visible column. But somehow there is no intial sorting anymore. Do you have an idea what's goning on? Please have a look at: http://de.wiki-products.org/Treibstoffverbrauch_von_PKWs_im_Vergleich .  My best, --[[User:Gollum2|Gollum2]] 14:44, 21 October 2007 (CEST)
 
::: I tried to add a first (in)visible column. But somehow there is no intial sorting anymore. Do you have an idea what's goning on? Please have a look at: http://de.wiki-products.org/Treibstoffverbrauch_von_PKWs_im_Vergleich .  My best, --[[User:Gollum2|Gollum2]] 14:44, 21 October 2007 (CEST)
 +
:::: The initial sort is still determined by your DPL query, so it sorts the articles alphabetically (that is the default). Currently there is no way to order a DPL result by attributes which are derived from the articles' contents. --[[User:Gero|Gero]] 19:08, 21 October 2007 (CEST)

Revision as of 18:08, 21 October 2007

  • I resolved the problem by entering white underscores "_" between the words. This however seems not the best solution to the problem... However, it works... --Gollum2 13:59, 14 October 2007 (CEST)
There is a html parameter called "nobr" for that purpose. Maybe you can use that.
  • Another specific question: Is it possible to tell dpl to sort the table according to the paramaters in the second column when the page is first loaded? This would really make sense for this example. --Gollum2 14:01, 14 October 2007 (CEST)
you could add a hidden first column, see http://en.wikipedia.org/wiki/Help:Sorting#Sorting_with_hidden_sortkey
Gero 21:56, 14 October 2007 (CEST)
Great! Thanks that is exactly what I needed. Next weekend I will try to put it in use.--Gollum2 22:49, 14 October 2007 (CEST)
I tried to add a first (in)visible column. But somehow there is no intial sorting anymore. Do you have an idea what's goning on? Please have a look at: http://de.wiki-products.org/Treibstoffverbrauch_von_PKWs_im_Vergleich . My best, --Gollum2 14:44, 21 October 2007 (CEST)
The initial sort is still determined by your DPL query, so it sorts the articles alphabetically (that is the default). Currently there is no way to order a DPL result by attributes which are derived from the articles' contents. --Gero 19:08, 21 October 2007 (CEST)