Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Quest list display in incorrect order

Jump to: navigation, search

So I've been using Quest list on dungeon pages with the dungeon filter, and found that when the amount of results are slightly larger, like in Old Streets or Chessboard of Despair, the displayed Quest list order becomes incorrect. Is there anyway we can fix this, so that it will display the Quests according to the order in which they appear on the Quest pages, such as Meltdown (Epic Quests)? Or would we need some new field or something to determine the sort order?

21:45, 9 April 2016

There's currently no order, aside from the level requirement. A sort order can be done without a manual field by simply giving each quest on the page an increasing number, i.e. Meltdown_(Epic_Quests)#Faris.27s_Letter_of_Recommendation would get 0, Meltdown_(Epic_Quests)#To_Underfoot 1 and so on. The only problem with this is that if there are multiple quests for a dungeon on multiple pages, the same level requirement (which would be most quests of that sort), and the same quest type, they may be mixed-up when listed. But since that's such a fringe case, it might not happen at all.

If that's fine with you I can do that.

18:35, 11 April 2016

As in you are adding a number in front of the Quest name in the Name field? Or what, I don't quite understand :X I wouldn't really be for changing the name anymore than I'm already doing with Supporting the Squad though.

Is there anyway we can use its section number on the quest page for some sort of interaction? Like for Faris's Letter of Recommendation, it is currently section 2.1 in the Table of Contents. Is there anyway we can use those numbers at all? If we can that'd be great. :X

Also for the fringe case, if it ends up being that case, I would just use an additional Quest list on whatever page it's displaying with different Type filters set in, for example. I think it's not a problem.

03:14, 12 April 2016

Speaking of Supporting the Squad, the name inside the EpicQuest2 template should be "Supporting the Squad" instead of "Supporting the Squad (Dungeon)", since the former is what is used in the game.

Back to the ordering question, Quest list orders them now like I previously said. Just to clarify, the number that is used to sort doesn't appear on the actual page, it's used internally only. Every time you use EpicQuest2 on a page, a hidden counter is increased by 1 and that number is assigned to the quest to be used for the sorting in Quest list.

21:00, 15 April 2016

Okay, this is definitely a very useful change. Thanks for this.

And the reason why I changed name of Supporting the Squad to with (Dungeon) is because that's the section, and it basically breaks the link by not being able to jump directly to the section. And also it would be pretty confusing for people to see just 3 "Supporting the Squad"s on Bai Ming's page. But if you feel that all 3 should be named "Supporting the Squad," then I don't mind, but please be sure to fix how Quest list jumps to the quest page. Which I don't know how to fix because right now it jumps to that quest page with the name as the section. Unless you're somehow saving the section name to some hidden variable I don't know about. But then again I'm not quite sure how Quest list goes directly to the quest section to begin with XD

But yeah, just make sure you fix that if we're gonna be using the same name. Because I have used the same name before, then it'd just go to the Quest page when the Quest list link is clicked on, and the # section jump would fail because the section name is different from the quest name.

01:14, 16 April 2016

Quests already link to the correct quest, regardless of the name. I've fixed it with the last update or the one before that.

18:58, 19 April 2016