We want to display file sizes in kilobytes or megabytes depending on
whether the file size is over 1 MB.  This is the code we have so far
but it does not work.

        <reddot:cms>
            <if>
                <query valuea="<%att_FileSize%>" operator=">="
valueb="Int:1024">
                <htmltext>
                    <%att_KbfileSize%> kb
                </htmltext>
            </query>
            <query type="else">
                <htmltext>
                  <%att_MbfileSize%> mb
              </htmltext>
            </query>
        </if>
        </reddot:cms>

Can anyone give me some idea of how to do this?

Linda

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to