Anonymous | Login | Signup for a new account | 2024-09-07 18:52 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Relationship Graph | [ View Issue ] [ Dependency Graph ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
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 | ||
Assigned To | alex | ||||
Priority | normal | Resolution | fixed | ||
Status | closed | ||||
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 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |