Opened 4 years ago
Closed 2 years ago
#972 closed Enhancement (fixed)
Enhancement of core input/radio view to permit horizontal alignment of radio buttons.
| Reported by: | C4LPT Admin | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | Elgg 1.8.0 |
| Component: | UI/UX | Version: | 1.5 |
| Severity: | trivial | Keywords: | radio button horizontal alignment |
| Cc: | brettp | Difficulty: | easy |
Description
Currently, the Elgg Core input/radio view provides only vertical alignment of Radio Button user interface components.
By changing the code (as per the attached files), the functionality of the view can be extended to provide the option for horizontal alignment aswell.
The new functionality can be exercised as follows :-
elgg_view('input/radio', array('alignment' => 'horizontal', .... )
If the parameter is not supplied, the default (vertical) alignment is used.
Attachments (2)
Change History (7)
Changed 4 years ago by C4LPT Admin
comment:1 Changed 3 years ago by brettp
- Milestone Elgg 1.5 deleted
comment:2 Changed 3 years ago by cash
- Component changed from Core to UI/UX
- Difficulty set to easy
- Milestone set to Elgg 1.8
- Priority changed from normal to low
- Severity changed from minor to trivial
comment:3 Changed 3 years ago by ewinslow
- Owner set to ewinslow
- Status changed from new to assigned
comment:4 Changed 2 years ago by ewinslow
- Owner ewinslow deleted
- Status changed from assigned to new
We shouldn't be using <br/>. That's the problem. We need to use a <ul> or something and then the style can be changed with css classes.
comment:5 Changed 2 years ago by cash
- Resolution set to fixed
- Status changed from new to closed
(In [svn:8154]) Fixes #972 checkboxes and radio input fields support horizontal and vertical alignments

Modified version of views/input/radio.php with horizontal alignment functionality