Closed (fixed)
Project:
Signup
Version:
6.x-1.x-dev
Component:
Themeability
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
6 Nov 2008 at 10:53 UTC
Updated:
14 Jul 2012 at 23:28 UTC
Jump to comment: Most recent file
I've committed the initial D6 port to HEAD (#222217: Port to 6.x), but I haven't yet split the theme functions out into template files or otherwise ported those to the D6 theme API. This would be nice to do before the 6.x-1.0 release.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | signup.module.rej_.txt | 1.11 KB | stborchert |
| #1 | 330829_signup_theme_split.1.patch | 42.21 KB | dww |
Comments
Comment #1
dwwUpon closer inspection, it doesn't seem like many of the signup theme functions make much sense as templates. So, instead of .tpl.php files, this patch splits them out into separate .inc files, grouped by their basic function. This way, we only have to parse and load the theme functions we need to render various kinds of pages (like #330828: Split module code into separate .inc files for D6 menu API). Here's the proposed new theme/README.txt file that describes what goes where:
The files seem pretty balanced this way. Here's the word-count (wc) output for theme/*:
Any thoughts or complaints before I commit this?
Comment #2
stborchertTested with signup-6.x-1.x-dev.tar.gz (signup.module,v 1.187 2008/11/10 16:04:10; md5_file hash: cf0d958b0aea3d17244967373af698a7; November 12, 2008 - 10:15 [GMT]).
Patch doesn't apply cleanly (fuzz factor 18 and rejected content). As a result of that the function
theme_signup_broadcast_sender_copy()could not be removed from signup.module (see attachment).After removing it manually, all works fine.
Unforunately I couldn't test email functions and themes but from looking into the patch I would say they should work as expected :-)
One minor note: there should be an information in README.txt (the main one) where to find the theme funtion for the user signup form (signup_form.inc). Otherwise it could be a problem for some people to find it.
If the patch applies to HEAD and the information is added it is RTB(t)C.
Stefan
Comment #3
dwwAfter a brief debate in IRC about prefixing all the file names with "signup.", I decided to just commit this as-is. I did fix the top-level INSTALL.txt file to mention the new location of theme_signup_user_form(), and added a line about theme information to README.txt, too. Committed to HEAD.