Closed (fixed)
Project:
Quotes
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2011 at 06:43 UTC
Updated:
17 Dec 2012 at 22:03 UTC
I think there's something more wrong going on here. On my quotes node pages, the quotes come out like this:
<div class="quotes-author">— <a href="/quotes/author/Dave%20Sim">Dave Sim</a></div>
<div class="field field-name-body field-type-text-with-summary field-label-hidden">
<div class="field-items">
<div class="field-item even">
<p>I say this in the interest of perhaps helping some future writer who might be reading this: just because everyone you know is addicted to using a computer does not mean that it is the best tool for writing. Computers, by their very nature, are lazy instruments which encourage inattentiveness and a lack of discipline, and are, consequently, destructive of whatever natural writing ability you might possess.</p>
</div>
</div>
</div>
I went to /admin/structure/types/manage/quotes/display to change the order, but the only field listed is body. And I don't see any other config options that indicate the order of the fields.
My site was upgraded from D6 to D7.4 and then to D7.7, so I'm thinking it's possible something didn't get converted correctly.
I know this is a pretty vague report, but I don't have a lot to go on.
Comments
Comment #1
ctmattice1 commentedThe quotes module has not been converted to use display fields yet, the only field that would show is the body field. You would not see anything at /admin/structure/types/manage/quotes/display to change. There have been other similar issues with the body field displaying out of normal order earlier in 7.x that may be similar to what your experiencing.
In general the 7.x dev quotes should display exactly as 6.x without ever visiting /admin/structure/types/manage/quotes/display. To date I have not visited that page to set options. There is a solution to this, can't remember what issue(s) gave the solution. What is the site url and what theme are you using?
Comment #2
nancydruCharles, I have looked in 7.x yet, but in 6.x, CCK had a way (hook_fields_extra?) to expose the fields provided by a node module. I thought I had used that in the 6.x branch, but maybe not. If this still exists in 7.x, it would be a temporary solution to this issue.
Comment #3
smscotten commentedThanks. That I couldn't change the order using /admin/structure/types/manage/quotes/display wasn't too surprising but it left me without a non-invasive way to address the issue.
I did look at the issue queue, but I'll dig a little deeper now.
The site uses a Zen sub-theme, but I also tested it with Garland just to make sure. Here's an URL for a quote:
http://splicer.com/2008/12/31/critics-versus-doers
Comment #4
nancydruhttp://api.drupal.org/api/drupal/modules--field--field.api.php/function/...
Comment #5
ctmattice1 commented@smcotten Is this still an issue? If so what format setting are you using on the quotes body.
Comment #6
smscotten commentedSorry, I hadn't been paying attention and the problem appears to have corrected itself, possibly due to upgrading to d7.8? I don't know why (been focused on other issues) but it works as expected now.
Comment #7
smscotten commentedWell, this is utterly maddening, but yeah. They're all out of order again.
http://splicer.com/2009/12/28/being-defense-attorney
http://splicer.com/quotes
Comment #8
smscotten commentedInstalled today's -dev update. Still out of order.
Not whining, just anticipating the question.
Comment #9
ctmattice1 commented@smscotten I took a closer look at your quotes page. It seems that when only the author is present that the position is correct and that when both author and citation are displayed is when the ordering gets wacked. Can you verify this as a pattern?
Comment #10
smscotten commented@cmattice1 good catch. I can't believe I hadn't seen that pattern. You're absolutely right; it's only when there is both an author and a citation.
Comment #11
smscotten commentedFYI as it might be related, the "view" link comes before the citation in my random quotes block as well.
Comment #12
Cynthia Ewer commentedNew upgrade to D7, and I am also seeing this issue. Any idea on a fix?
Comment #13
ctmattice1 commentedwhich theme are you using and can you send me a link to look at?
Comment #14
ctmattice1 commentedThere is now a way to set the author, citation, and authors bio by the admin ui (example.com/admin/structure/types/manage/quotes/display). Although this was fixed earlier, it was left open till the settings were available and not hard coded in the module. New dev release has this feature.
Comment #15
ctmattice1 commented