In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000863 [In-Portal CMS] Template System feature request always 2010-09-12 22:56 2010-09-12 22:57
Reporter Dmitry View Status public  
Assigned To
Priority normal Resolution open  
Status active      
Summary 0000863: Add new "less_than" and "greater_than" parameters to IF tag
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.
Additional Information



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker