Conditional text in template
Last Post 01-24-2012 10:25 AM by Chad Nash. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Not Resolved
Robert ManjoneyUser is Offline
going with the flow
going with the flow
Posts:33
Avatar

--
01-24-2012 08:56 AM

    I'm trying to create a directory template for user profiles. Some of the profile fields are optional and hence have no value. My template in general is of the format:

    Field1Label:  [field1Value]
    Field2Label: [field2Value]
    etc.

    For those fields with no value, I would like to omit the entire line (Label etc) but I can't seem to find a way to do this. Any advice?

    Thanks,
    Bob

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    01-24-2012 10:25 AM
    Hi Bob,

    I do not know of a way to actually do this directly built within the module itself. We have helped a client with this before but basically we ended up using Dynamic Views and pulling from the temporary PIVOT table that Dynamic User Directory creates. After that we added some very unique TSQL Function calls that would go and check if the data was empty and handle it differently then if the data was not empty etc... Depending on your requirements that might be more work then you are up for, or we also offer Premium Support if you would like us to handle it.

    Thanks,

    Chad


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi