Button not input or add class

lasac - September 26, 2009 - 22:54
Project:AdSense
Version:6.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:by design
Description

For themeing purposses i would prefer a button instead of a input submit. For the CSE Search, Or maybe at least a class or id to the submit button.

I dont want to alter the module code. So would there be a way to alter the output without touching the adsense.module?

Thanks

#1

jcnventura - September 28, 2009 - 11:27
Status:active» by design

Sorry, but you can't alter the HTML code provided by Google. The module goes into great lengths to ensure that it's output is 100% similar to the code generated by Google. That code specifies a submit input, and doesn't include any class or id..

However, note that the adsense module inserts classes around the HTML code it generates.

João

#2

lasac - September 28, 2009 - 22:33

>> However, note that the adsense module inserts classes around the HTML code it generates.

I understand that it does, but how will this help my "problem". When i theme the input in the adsense module class then it will effect the input text and the input submit... Offcourse i can use input[type="submit"] but that is not compatible with all browsers.

Any other ideas?

#3

jcnventura - September 28, 2009 - 23:23

No, no other ideas.. You can always modify the code yourself, but you'll have to keep doing it every time you upgrade.

 
 

Drupal is a registered trademark of Dries Buytaert.