Closed (fixed)
Project:
Quotes
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
19 Jun 2004 at 20:43 UTC
Updated:
26 Nov 2004 at 03:15 UTC
Jump to comment: Most recent file
Here is an untested patch to get you started in migrating the module to current CVS HEAD.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | quotes_tabs_update_20040713.patch | 13.87 KB | TDobes |
| #1 | quotes_tabs_update.patch | 13.79 KB | TDobes |
| quotes.patch | 1.86 KB | jonbob |
Comments
Comment #1
TDobes commentedHere is a tested patch which updates quotes.module to work with the latest menu system changes. It also takes advantage of tabs on the quotes admin page. (use of tabs is nearly identical to that of path.module... an "add" tab and a "quotes" tab, which is the overview page)
Other changes include removal of a bunch of redundant user_access calls (the menu system takes care of this for us) and use of drupal_set_message instead of manually-outputted error/status messages. I also fixed a bug which would display a blank page after importing quotes instead of the "add" form with the appropriate error messages.
Comment #2
TDobes commentedThe way tabs are implemented in the menu system has changed slightly, so here's an updated patch. I posted my first patch almost 2 weeks ago... Is any progress being made on this?
Comment #3
jhriggs commentedI have been working on updating the module to HEAD myself and have used bits and pieces from both your and JonBob's patches. I try not to do too much work on any of my modules too long before a code freeze, though, because it's like trying to hit a moving target. I would much rather update everything once instead of several times. When the changes have slowed and the dust has settled a bit, I will get everything committed. Thanks for your help! :)
Comment #4
Dehumanizer commentedDrupal 4.5 is out. I'm just waiting for this module to be updated to upgrade my site, as I'd never have it without random quotes. :)
Comment #5
red_eye commentedI tried Tdobes patch and it worked for the first add, now however I cant access Administer/quotes it tells me I dont have permission, I can access administer/settings/quotes however.
Comment #6
jhriggs commentedI am in the process of a complete rewrite of the quotes.module code. Please hang in there for a few more days. I think it will be worth it.
Comment #7
red_eye commentedThanks, my 39,573 quotes await your update :)
Comment #8
jhriggs commentedWHOA! Now that would be some test case! Would you mind sending me a dump of your quotes_quotes table so that I can do some scalability and upgrade testing? My e-mail address is in the CREDITS file.
Comment #9
red_eye commentedTo make things a little easier I have posted it on my site at http://www.patentlystupid.com/node/45 since there may be others who would like the file. I'm on dialup so emailing it multiple times would be a killer.
Comment #10
jhriggs commentedThis is implemented in 4.5r1/2004111100.
An upgrade path is provided. Unfortunately, only 1000 existing quotes are imported at a time, so with over 39000 quotes, you have 40 import submissions to do. :-( I think it's worth it, though!
Comment #11
(not verified) commented