Closed (works as designed)
Project:
Googtube
Version:
5.x-1.x-dev
Component:
code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2007 at 12:05 UTC
Updated:
6 Mar 2010 at 00:16 UTC
Hi,
It make sense to me that the themeing of the flash objects be overwritable. That way us themers, can change a url, change the movie size, etc, without having to hack the module.... That way we can safely update the module when new releases occur.
For that reason I have attached a patch which separates out a theme function for youtube and another for google.
To test it would be just a matter of applying the patch , then adding a theme override function to the theme's template file for each of the 2 theme functions, and then modify some of the html, like the sizes, or the url.
arcX
| Comment | File | Size | Author |
|---|---|---|---|
| googtube.patch | 1.92 KB | alexiscott |
Comments
Comment #1
alexiscott commentedComment #2
alexandreracine commentedHi, I'll look at this in a couple of days, but I don't have any 5.x Drupal to test it on right now. (I'll probably test it with D6).
Does the patch still apply or did you added more feature since November 2007? Thanks.
Comment #3
alexiscott commentedI haven't updated the patch since. I guess that the principle of the patch still would apply. So it should be pretty easy to reproduce just by adding those 2 theme functions. I think that it should also work with D6 as theme function overrides work in a similar way there I believe.
Comment #4
alexandreracine commentedI'll review this in the future.
Comment #5
alexandreracine commentedI won't touch the D5 code so I'll leave it here.