Googtube should be theme ovewritable

arcX - November 28, 2007 - 12:05
Project:Googtube
Version:5.x-1.x-dev
Component:code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

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

AttachmentSize
googtube.patch1.92 KB

#1

arcX - November 28, 2007 - 13:33
Priority:critical» normal
Assigned to:arcX» Anonymous

#2

alexandreracine - March 16, 2009 - 02:46
Status:needs review» postponed (maintainer needs more info)

Hi, 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.

#3

arcX - March 16, 2009 - 07:43

I 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.

#4

alexandreracine - April 2, 2009 - 02:20
Status:postponed (maintainer needs more info)» needs review

I'll review this in the future.

 
 

Drupal is a registered trademark of Dries Buytaert.