Closed (fixed)
Project:
Compact Forms
Version:
5.x-1.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2007 at 20:15 UTC
Updated:
2 Nov 2007 at 23:32 UTC
I installed the compact_forms module, seems it works fine for the user-login-form, but how do i get it for other forms? Mainly i need for a simple cck item content type, with mostly simple text fields. I peaked in the page source for that form, and i see its using the "node.css", i tried that, no luck.
Any hints appreciated
Comments
Comment #1
tomsun commentedCheck the form HTML again. The
tag wrapping the entire form has an id="" attribute, which is what Compact Forms looks for. The id attribute is optional so you might not find it on all forms...
The above example is taken from the user login block. In this case I enter 'user-login-form' on the settings page (done by default).
What if I want the behaviour on the user register form as well? That form looks like this:
Hence, you add 'user-register' on the settings page:
Hope that clarifies the idea. I'm thinking of adding checkboxes for common Drupal forms in the next release, to make the process even easier.
Comment #2
naim commentedthanks, works just like you said
Comment #3
Foodster commented