I've been working on creating some custom resources through hook_services_resources and noticed a minor issue with the admin interface.

I created a page resource as I didn't want to expose all nodes on the site and the $method_class within theme_services_resource_table then becomes page... this leads to an id of page on the table row on the admin interface which pulls in styles from the seven theme including all the padding and margins that apply to the page div.

Patch just prepends the method class with 'services-' to make it a bit more unique.

Comments

Chris Graham’s picture

StatusFileSize
new649 bytes
Chris Graham’s picture

Issue summary: View changes
Chris Graham’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 1: services-rename_method_class-2480763-1.patch, failed testing.

kylebrowning’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.