Anonymous | Login | Signup for a new account | 2024-04-25 20:03 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
View Revisions: Issue #863 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0000863: Add new "less_than" and "greater_than" parameters to IF tag | ||
Revision | 2010-09-12 22:57:04 by Dmitry | ||
Description | In-Portal has <inp2:m_if tag, that allows to display template parts based on a condition, e.g. <inp2:m_if check="prefix_TagName"> show something </inp2:m_if> Text "show something" will be visible only, when tag "TagName" of prefix "prefix" will return *true*. Also, that <inp2:m_if tag has universal parameter called "equals_to", that allows to compare any tag result to given value list (multiple values can be separated using |, e.g. "*value1|value2|value3*"). Proposed new functionality: 1. add "greater_than" and "less_than" parameters + their processing 2. move that 3 parameters ("greater_than", "less_than" and "equals_to") processing into compiled template code, so we have no to check for their presence during each tag processing. |
||
Revision | 2010-09-12 22:56:38 by Dmitry | ||
Description | In-Portal has <inp2:m_if tag, that allows to display template parts based on a condition, e.g. <inp2:m_if check="prefix_TagName"> show something </inp2:m_if> Text "show something" will be visible only, when tag "TagName" of prefix "prefix" will return *true*. Also, that <inp2:m_if tag has universal parameter called "equals_to", that allows to compare any tag result to given value list (multiple values can be separated using |, e.g. "*value1|value2|value3*"). Proposed to add new functionality: 1. add "greater_than" and "less_than" parameters + their processing 2. move that 3 parameters ("greater_than", "less_than" and "equals_to") processing into compiled template code, so we have no to check for their presence during each tag processing. |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |