Anonymous | Login | Signup for a new account | 2023-09-27 14:11 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0001027 | [In-Portal CMS] Front End | feature request | N/A | 2011-03-28 09:56 | 2012-07-25 05:33 | ||
Reporter | alex | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.2.0-B1 | ||
Status | closed | Product Version | 5.1.2-RC1 | Target Version | 5.2.0 | ||
Time Estimate | No estimate | ||||||
Summary | 0001027: Tag, to display given option title | ||||||
Description |
In-Portal has nice tag called Selected, which allows to check if a particular option inside a field value is present. However it's missing a tag to display any (of the given field options) option title when only it's ID is known. I suppose, that we can create such a tag and call it OptionValue. Along with Selected tag it will allow to manipulate with a particular option of fields, that have many of them. For example it will allow to display only a particular countries instead of all countries on user registration form. |
||||||
Additional Information |
Sample usage: <inp2:m_RenderElement name="inp_single_checkbox" prefix="cf" field="ElementType" value="radio"/> <inp2:m_RenderElement name="inp_single_option" prefix="cf" field="ElementType" value="radio"/> |
||||||
Tags | No tags attached. | ||||||
Reference | https://groups.google.com/d/topic/in-portal-bugs/1q2DpkInEyo/discussion | ||||||
Change Log Message | Adding OptionValue tag for displaying option title by option id | ||||||
Estimate Points | 1 | ||||||
Attached Files |
![]() ![]() |
||||||
|
![]() |
||||||
|
![]() |
|
![]() alex (manager) 2011-03-28 09:57 |
Done. I've also fixed incorrect behavior in Selected tag in cases, when field allowed only one option (of many) to be selected (like dropdown) and that tag always returned 1. |
![]() Dmitry (manager) 2011-09-11 22:13 |
Reminder sent to: alex I need help testing this functionality. |
![]() alex (manager) 2011-09-24 04:13 |
To test this you need: 1. create field/custom field of "text" type 2. specify 2+ options for that field via kOptionsFormatter class 3. then on front-end: - render "inp_single_checkbox" blocks for each option you've created in 2nd step - place a hidden field from "inp_edit_checkboxes" block As a result clicking on checkboxes, produced by "inp_single_checkbox" block would make hidden field value to change the same way, like it is changed, when used along with "inp_edit_checkboxes" block. Benefit of "inp_single_checkbox" is that, you can specify any options from given field using order you need and can easily place them into target web page design. |
![]() Dmitry (manager) 2011-10-25 21:51 |
Tested good! Please update to use Public/Private for Function call and commit. |
![]() alex (manager) 2011-10-26 03:09 |
Fix committed to 5.2.x branch. Commit Message: Fixes 0001027: Tag, to display given option title |
![]() alex (manager) 2012-07-25 05:33 |
Since 5.2.0 version was released. |
![]() |
|||
In-Portal CMS: 5.2.x r14696 Timestamp: 2011-10-26 03:09:34 Author: alex [ Details ] [ Diff ] |
Fixes 0001027: Tag, to display given option title | ||
mod - /in-portal/branches/5.2.x/core/admin_templates/incs/form_blocks.tpl | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.2.x/core/kernel/db/db_tag_processor.php | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
2012-07-25 05:33 | alex | Note Added: 0005070 | |
2012-07-25 05:33 | alex | Status | resolved => closed |
2011-10-26 03:09 | alex | Changeset attached | 5.2.x r14696 |
2011-10-26 03:09 | alex | Note Added: 0004096 | |
2011-10-26 03:09 | alex | Status | reviewed and tested => resolved |
2011-10-26 03:09 | alex | Fixed in Version | => 5.2.0-B1 |
2011-10-26 03:09 | alex | Resolution | open => fixed |
2011-10-26 03:09 | alex | Assigned To | !COMMUNITY => alex |
2011-10-26 03:07 | alex | File Added: option_value_tag_520.patch | |
2011-10-25 21:51 | Dmitry | Note Added: 0004090 | |
2011-10-25 21:51 | Dmitry | Status | needs testing => reviewed and tested |
2011-10-22 05:40 | alex | Estimate Points | => 1 |
2011-09-24 04:13 | alex | Note Added: 0003891 | |
2011-09-24 04:13 | alex | Status | needs work => needs testing |
2011-09-23 22:09 | Dmitry | Status | needs testing => needs work |
2011-09-23 22:09 | Dmitry | Target Version | Icebox => 5.2.0 |
2011-09-11 22:13 | Dmitry | Note Added: 0003730 | |
2011-04-04 05:04 | alex | Relationship added | related to 0000427 |
2011-03-28 09:57 | alex | Note Added: 0003311 | |
2011-03-28 09:57 | alex | Assigned To | => !COMMUNITY |
2011-03-28 09:57 | alex | Developer | => alex |
2011-03-28 09:57 | alex | Status | active => needs testing |
2011-03-28 09:56 | alex | New Issue | |
2011-03-28 09:56 | alex | File Added: option_value_tag.patch | |
2011-03-28 09:56 | alex | Reference | => https://groups.google.com/d/topic/in-portal-bugs/1q2DpkInEyo/discussion |
2011-03-28 09:56 | alex | Change Log Message | => Adding OptionValue tag for displaying option title by option id |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |