The module ignores the title specified in the basic settings of the display, and the help text for the GeoRSS form is broken on the Safari browser (it's outside the collapsed region so that it overlaps with the update button).
Changing a few lines as in the attached patch allows the title to be overridden and fixes the form.
| Comment | File | Size | Author |
|---|---|---|---|
| views_rss.diff | 1.76 KB | chungyc |
Comments
Comment #1
rsoden commentedchungyc, thanks. I committed your changes to the GeoRSS form.
RE: the title - the current code provides $sitename | $display name as the title for outgoing feeds. $view->get_title() returns mixed results unless the title is overridden for the specific display.
Agreed that the current approach is not ideal, but I don't think this fix quite gets us there.
Comment #2
chungyc commentedWhat sort of case gives mixed results? My patch seems to work with no title set, title set only on default display, and title overridden in feed display. It doesn't work when "Use the site name for the title" is set, though, which seems to be fixed by the following code:
Comment #3
josephcheek+1
Even if the patches don't quite get us there (how?), they are better than the current hardcoding of the title. I vote for including the diffs provided (either the first or both).
Comment #4
David Goode commentedAgreed, this makes sense. Just copied the code from theme.inc into this display handler's theme and committed. Good call.
Thanks,
David