Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
theme system
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2007 at 05:42 UTC
Updated:
18 Nov 2007 at 14:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
rstamm commentedpatch doesn't apply anymore.
cvs id tags broken and missing blank line after cvs id tags.
Comment #2
dvessel commentedI'll have another patch soon. book.module was under heavy development after I made that patch.
Comment #3
dvessel commentedChanges:
This removes the need for the pre/post visit functions. It's now passed in as a child so it can be wrapped with "book_node_export". Not "book_node_visitor_html_pre" and "book_node_visitor_html_post". Those two had hard coded html. It was moved into theme_book_node_export.
Hard coded html removed from "book_export_html", moved into "theme_book_export_html".
Please don't forget about the search conversion.
http://drupal.org/node/164032
Comment #4
dvessel commentedIncludes the template files this time.
Comment #5
dvessel commentedRerolled for latest head.. /sigh.
Comment #6
dvessel commentedNote that the book sections don't put out the right classes anymore. Something was changed since the last patch so some nodes no longer contain the book depth.
Comment #7
gábor hojtsyThe book split patch (I just committed) possibly broke this, as you noticed there.
Comment #8
dvessel commentedugh, I have less time now but I'll try to get another patch going soon...
Comment #9
senpai commentedDvessel, keep trying to shoot that moving target, and PM me when a patch is ready for testing. I wanna see this get in.
Comment #10
chx commentedReroll.
Comment #11
catchThe back and up links are generating urls like node/node/3
everything else seems fine.
Comment #12
catch$variables['book_url'] = 'node/'. $book_link['bid'];maybe the culprit?Comment #13
chx commentedA few url() calls were missed.
Comment #14
chx commentedSome menu stuff got into it.
Comment #15
catchFixes all the issues I found, RTBC.
Comment #16
dvessel commentedWoo hoo!! Nice guys, thanks!
Comment #17
AjK commentedExport html gives me a wsod. function book_export_traverse() doesn't return it's carefully constructed $output. Am I missing something here?
Comment #18
chx commentedComment #19
chx commentedComment #20
AjK commentedYup, looks good now.
Comment #21
PedroC-1 commentedI am not sure but is the DOCTYPE in the first line of book-export-html.tpl.php?
Or is it better to write
instead of
in book-export-html.tpl.php
Comment #22
john morahan commentedNo,
?>\nis equivalent to?>- see http://www.php.net/manual/en/faq.using.php#faq.using.newlinesComment #23
gábor hojtsyThanks, committed. (Although I corrected a coding style violation in book_theme)
Comment #24
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.