Themes settings per invitation is not documented
guidot - September 26, 2009 - 23:02
| Project: | RSVP |
| Version: | 6.x-2.0-rc3 |
| Component: | Documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | theming |
Jump to:
Description
I'm trying to theme RSVP.
According to README.txt I created a directory sites/default/files/rsvp/themes/mytheme, copied the files from modules/rsvp/themes/default into it and changed the name of default.css to mystyle.css.
I was then able to select the theme mytheme and the style mystyle in the RSVP default settings page. I did that and saved the settings.
I started with changing mystyle.css but the theming did not change. I inspected the page with firebug: The css-file used was still modules/rsvp/themes/default/default.css. Flushing all caches including theme registry did not help.
Oh, and thank you for making this wonderfull module.

#1
I started to read through the modules sources and found
so I moved my custom themes folder to themes sub-folder of the module (and renamed it and the css file to make sure I see the changes in admin-interface) faking it as a theme that comes with the module.
The Invitation style block did offer the new test-theme, but there was no widget for selecting the style-sheet! I hit the save-button and got the error:
The Style drop-down now reappeared, but instead of presenting my two test-styles it gave an empty list. Maybe this is another issue? If so please tell me and I file it separately.
#2
Hi,
the RSVP module will always fall back to use the default stylesheet file (modules/rsvp/themes/default/default.css) if the selected stylesheet file can not be located. So I assume that there is something wrong in how you setup your template file.
Could you send me how your directory structure under sites/default/files/rsvp/themes looks like including all files it contains? Also I would need to know how the selections options (including the ones you have not selected) look like that the rsvp module offers you in the "default settings" page and the invitation page itself that you currently work on.
Please keep in mind that changing the default settings page has no influence on existing invitations. Only new created invitations will use the new default for theme and stylesheet.
Maybe you created your invitation before you modified the default setting. In that case you also have to change the theme and stylesheet for the invitation itself.
~
Ulf
#3
That's it! I didn't know about those per-invitation-settings. They don't appear to be documented (I searched in README.txt and Drupal 6 Integration).
Thank's for the help!
#4