I created a custom publication type (@ admin/settings/biblio/fields/type), and then created a biblio node of that custom type. But i noticed id didn't look like the other default biblio publication type nodes.

It was because i had changed the 'Node layout' setting in 'Styling' fieldset (@ admin/settings/biblio) to 'Only Fulltext if available'. Oddly, it looks like the custom publication type nodes display as the 'Original' node layout when using 'Fulltext' setting, while the default publication type nodes display only fulltext. However the tabular node layout applies equally to default and custom publication types.

Comments

rjerome’s picture

Actually, it's not "type" specific in any way. If it appears that way, you may be seeing a cached version of the page, and clearing the Drupal caches may solve this.

Now if you would like the display to fall back to tabular if there is no full text, that's a different story (which could be implemented, but currently is not).

Ron.

scottrigby’s picture

Ah - I see what you mean. I maybe have misunderstood - it must be because I don't have any full text in the custom publication type.

No, not necessary to fall back to tabular :) What i really wanted was to make as plain as possible (which is why I selected the Fulltext option). If these layouts are themable I could override the output, or if they were cck fields for instance I could configure the display using the 'display fields' interface, and even modify the output using a computed field or something.

Seeing how cck integration is coming but not here yet (from what i can see @ #234891: Views integration), I guess my main Q is -- are the node layouts currently themable?

rjerome’s picture

Yep, override theme_biblio_long($node, $base = 'biblio', $style = 'classic') or theme_biblio_tabular($node, $base = 'biblio', $teaser = false)

FYI, I have been meaning to get rid of the "long" format but haven't gotten around to it yet.

WRT CCK, there is a Google Summer of Code project (just starting now) related just to this (CCKizing Biblio), so stay tuned...

scottrigby’s picture

Title: Node Layout 'Fulltext' setting doesn't apply to custom publication types » Theme Node layout
Category: bug » support

Yeah, I saw that link - very cool (subscribed to that thread on g.d.o btw)

Ok great - I probably should have spent more time hunting, but thanks for pointing to those themable functions ;) I'll let you know if there are any issues but i suspect there won't be.

Changing issue title & category to reflect what's really going on -- but should I close it too, or leave open for others who might be wondering the same thing?

Liam Morland’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.