Closed (fixed)
Project:
Finder
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2011 at 14:18 UTC
Updated:
28 Mar 2012 at 13:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
danielb commentedI am aware of this already and don't think I can fix it, unless someone can suggest how. I thought it should have just worked automatically, but it didn't, and the html that Views gives me is not table/grid, just plain divs.
You are also given the option to theme the results, so this is not the sort of issue that will get you stuck completely, but it is annoying.
Comment #2
danielb commentedI'll leave this open for a while as postponed, if anyone can suggest a solution, please reply!
Comment #3
Rechi commentedIt seems that the finder always uses the entity:teaser view mode instead of an table view mode. Maybe this is helpfull, even just for theming using an node.tpl file.
Comment #4
Sylense commentedApparently finder does not display ANY other format other than unformatted. I don't even think it is truly outputting the unformatted display because the results typically have the "views-row" div surround them. It does not output any of the wrappers, only the fields themselves within the "view-content" div. This was not the case in older versions of the finder module. This must be a bug
Comment #5
ayesh commentedUnfortunately, Finder is not taking any style option from Views in the results page.
Comment #6
danielb commentedThanks for that new info! I'm closing this issue out of spite.
Comment #7
danielb commentedWell that isn't fair of me, resetting the settings.
Comment #8
ayesh commentedMillion apologies. I thought there should be something in Finder that breaks the Views styling.
And I'm always thankful to you for your great contributions.
Comment #9
danielb commentedNah it's not a simple case of overlooking something, it is the design of the module - it provides it's own views style plugin. Don't worry about me, I rage at traffic too.
I was hoping someone could provide a magic solution, but I fear there will be no solution at all.
Comment #10
hlopes commentedI've messed around a bit and found that if you comment line 604 at includes/finder.inc , it will inherit the view display.
Doing so will throw an error on the same file, line 777. Comment that line (and the block it belongs to, as it's a cycle that once commented wouldn't do anything useful) and it should work (well, kinda...).
I think the original line was something like
And line 777 is something like
My guess is that it should verify if choices->views display == inherit and override if false.
Oh, and this is under 7.x.dev
Comment #11
danielb commentedUnfortunately for a lot of finder's functionality it must use it's own style plugin. Perhaps we need to determine what those functionalities are to go ahead with this.
Comment #12
danielb commentedI've gone ahead and under 'style' added a checkbox to pretty much do what HLopes said in post #10. I've marked the feature as experimental as I am still worried some things will break, though I haven't been able to prove that yet.
Comment #13
philipz commentedI downloaded latest dev release and I can't see the checkbox. Is this where I should see it?
Comment #14
flefle commentedCześć,
first of all thank you danielb for the great module.
I've found why all this happens @ "7.x.2.x-dev".
On row 777 of finder.inc the following code is processing the output:
There are 'Display output', 'Style output' and 'Row style output' TPL files at views.
Only the style tpl is processed leaving out the row tpl processing. The variables and the coding structure is a bit complicated so I've quickly managed to recode the standard views row output like:
Except of that, the finder module is really sensitive about the tpl file names of the fields. I've couldn't use the last (most specific tpl file) and had to experiment which file is accepted.
BTW: line 604 & 777 changes evoke an broken syntax at autocomplete search however when calling via url the search the results are OK.
Hope this helps.
Regs,
Francis
Comment #15
danielb commenteda major support request that needs work...
w
t
f
plus you've pasted outdated code
Comment #16
flefle commentedWhat do you mean by outdated? I've just used the dev module from 27th March (it was updated before short time ago) with the same issues. Id did work out for me. Sorry for incorrect message setting, no need to talk like that.
Comment #17
danielb commentedPlease go away.
Comment #18
danielb commentedComment #19
flefle commentedI will go away after I've done explaining you that such behavior is not right and exaggerated. I didn't requested or pushed you to work on this issue but find a solution also as I found another bug and provided you a patch file for handling that. After I was really friendly and helping I think that you must be a real idiot while talking like that.
You are not the only one who is developing modules and contributing to the community so please come down. The idea behind Drupal is to take and give.
In case that you don't want to work on this project, close it, have a nice life, be calm and happy. But please, please don't torture yourself and others while reacting in such manner.
While talking about the solution proposals, this issue could be solved in my opinion via two ways:
1. Find a way how the standard views tpl's would be accessed and used via the view.
2. Make a hook_theme where the result would be rendered trough those new - custom files within finder module. It could also call the original views files for instance while composing the file names regarding the field names or view name at rows and style.
danielb: if you will try to swear, send me away or whatever else you have to know that I will ignore that and that I don't care. Grow up!
Thank you for the great module anyway.
PS: I'm a contributor to this project and you are the maintainer.
Comment #20
danielb commented- a fix for this issue was committed yesterday
- finder has always provided a theme function where you can completely control the results output
- stop continually changing issue settings, you make it difficult to organise and track the work, it makes you incredibly aggravating
- don't tell me how to talk, how to live my life, or "how it is", it is my number one pet peeve and much nastier than anything I could think of to say to you
I started working on a major new feature for this module today, but now I'm told to close the project, that does seem very attractive right now.