Closed (fixed)
Project:
E-Publish
Version:
6.x-1.13
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Aug 2011 at 23:31 UTC
Updated:
2 Sep 2011 at 10:50 UTC
Jump to comment: Most recent file
There seems to be some strange inserted text in the epublish_help function of the epublish.module about line 167. Something about India Times.
Also, inserting $output=""; at line 96 will avoid Drupal undefined variable errors, since the hook function is run on every page apparently.
Also, the "raquo" sequences need to be replaced with explicit "»" as Drupal doesn't interpret them, at least in my installation.
Attaching a corrected file.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | epublish-1253732-3.patch | 4.25 KB | leonardwestermeyer |
| #3 | epublish-1253732-2.patch | 5.91 KB | leonardwestermeyer |
| #2 | epublish-1253732-1.patch | 1.73 KB | leonardwestermeyer |
| epublish.zip | 22.09 KB | leonardwestermeyer |
Comments
Comment #0.0
leonardwestermeyer commentedCorrecting message.
Comment #1
sdague commentedCould you provide this as a patch instead? (http://drupal.org/project/epublish/git-instructions). It is much easier to integrate it then.
Comment #2
leonardwestermeyer commentedHeres my first attempt at a patch to 6.x-1.13 to fix the first issue mentioned, that of the extraneous text in the help section of epublish.module.
Comment #3
leonardwestermeyer commentedHere's the second patch which takes care of the remaining problems. It wasn't necessary to substitute the "raquo" sequences, because the problem was that the l() function hadn't been updated to Drupal version 6, and was not showing the links correctly.
Comment #4
leonardwestermeyer commentedHere's a third patch which corrects additional instances of the use of Drupal Version 5.0 l() function. These are all in the epublish_layout_indexed.inc file.
Comment #5
sdague commentedThese patches look good. Applied them all to 6.x stream. Will be in 6.x-1.4.
Comment #6
leonardwestermeyer commentedYou mean 6.x-1.14.....I suppose..
Comment #7
sdague commentedYes, 1.14. :)
Comment #7.0
sdague commentedCorrection.