Anonymous | Login | Signup for a new account | 2023-03-27 14:45 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 | ||
0000674 | [In-Portal CMS] Template System | bug report | N/A | 2010-03-30 04:54 | 2010-11-30 12:48 | ||
Reporter | alex | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.1.1-B1 | ||
Status | closed | Product Version | 5.0.3-B1 | Target Version | 5.1.1 | ||
Time Estimate | No estimate | ||||||
Summary | 0000674: Add "block_no_data" parameter for m_IfDataExists tag | ||||||
Description |
I propose to add "block_no_data" parameter for m_IfDataExists tag. Will work the same as for m_RenderElement, so this two will work the same, but less code will be required: COMMON PART: <inp2:m_DefineElement name="sample_element"> <inp2:Field name="Name"/> </inp2:m_DefineElement> <inp2:m_DefineElement name="no_data"> no data </inp2:m_DefineElement> OLD CASE: <inp2:m_RenderElement name="sample_content" data_exists="1" block_no_data="no_data"/> NEW CASE: <inp2:m_IfDataExists block_no_data="no_data"> <inp2:Field name="Name"/> </inp2:m_IfDataExists> At the end we have no need to create temporary block to use for data presence check. |
||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Reference | http://groups.google.com/group/in-portal-dev/browse_thread/thread/8daad408a141c040 | ||||||
Change Log Message | |||||||
Estimate Points | 0 | ||||||
Attached Files |
![]() |
||||||
|
![]() |
|
![]() |
|
![]() Dmitry (manager) 2010-08-27 16:02 |
Tested fine, but had to apply the patch by hand. Please commit. |
![]() alex (manager) 2010-08-28 15:11 |
Fix committed to 5.1.x branch. Commit Message: Fixes 0000674: Add "block_no_data" parameter for m_IfDataExists tag |
![]() Dmitry (manager) 2010-11-30 12:48 |
Closing released 5.1.1 task. |
![]() |
|||
In-Portal CMS: 5.1.x r13865 Timestamp: 2010-08-28 15:11:50 Author: alex [ Details ] [ Diff ] |
Fixes 0000674: Add "block_no_data" parameter for m_IfDataExists tag | ||
mod - /in-portal/branches/5.1.x/core/kernel/nparser/ntags.php | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
2010-11-30 12:48 | Dmitry | Note Added: 0003086 | |
2010-11-30 12:48 | Dmitry | Status | resolved => closed |
2010-08-28 15:11 | alex | Note Added: 0002698 | |
2010-08-28 15:11 | alex | Status | reviewed and tested => resolved |
2010-08-28 15:11 | alex | Fixed in Version | => 5.1.1-B1 |
2010-08-28 15:11 | alex | Resolution | open => fixed |
2010-08-28 15:11 | alex | Assigned To | !COMMUNITY => alex |
2010-08-28 15:11 | alex | Changeset attached | 5.1.x r13865 |
2010-08-27 16:02 | Dmitry | Note Added: 0002693 | |
2010-08-27 16:02 | Dmitry | Status | needs testing => reviewed and tested |
2010-08-27 12:24 | Dmitry | Type | feature request => bug report |
2010-08-27 12:24 | Dmitry | Target Version | Icebox => 5.1.1 |
2010-03-30 04:55 | alex | Assigned To | => !COMMUNITY |
2010-03-30 04:55 | alex | Developer | => alex |
2010-03-30 04:55 | alex | Status | active => needs testing |
2010-03-30 04:54 | alex | New Issue | |
2010-03-30 04:54 | alex | File Added: block_no_data_for_mIfDataExists_tag.patch | |
2010-03-30 04:54 | alex | Reference | => http://groups.google.com/group/in-portal-dev/browse_thread/thread/8daad408a141c040 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |