WordPress.org

Ready to get started?Download WordPress

Forums

amr users
problem with multiple values in single table cell (4 posts)

  1. peteratomic
    Member
    Posted 7 months ago #

    Found a post suggesting that you could use numbering in the Display Order column (such as 1.1, 1.2, etc.) to have multiple fields in a single table cell. Just one problem... if one of those fields is the URL, then that option disappears for both fields.

    In my case I'm trying to display a URL in a specific way, but the links are no longer active:

    http://www.cre8tives.org/members/

    See the skills column...

    http://wordpress.org/plugins/amr-users/

  2. anmari
    Member
    Plugin Author

    Posted 7 months ago #

    Yep that combined column thing was for things like first name, last name so the way it is implemented it becomes one field in the cache. Formatting like href links is applied at display time and the combined field is no longer a simple link.

    Since people have started taking the plugin further than it's original use, the way it is done may change, however not soon !

    Try using the non table option - then you can keep the fields in separate 'columns' and use css to arrange them the way you want. float them under each other etc.

    (NOte Be aware that if trying to add html around multiple fields like some folks have tried that befoer/after text only gets issu)es if there is actually a value in the field - else blank. So don't put a start tag in one field's before and the end in another fields after unless you 100% sure that both fields will always be there.)

    eg here: http://directories.wpusersplugin.com/memberdetails/
    - some fields and some users floated up next to each other.

  3. peteratomic
    Member
    Posted 7 months ago #

    Unfortunately I don't think that's going to work for me as I'm not trying to fold all of a users info one after the other as in your example. I tried recoding the CSS and its a mess trying to get just one column to fold up under another.

    The problem is that I really need definitive columns PLUS two different links (to the users website as well as their posts on our site). This combination seems to be the issue.

    Hopefully there's a way in the long term for you to be able to leave the URL function intact when columns are arranged using the Display Order option.

  4. anmari
    Member
    Plugin Author

    Posted 7 months ago #

    hi well for now if you able to cobble together some php, you can use the filters to create a psuedo field that contains the data you want.

    This is how many of the add-ons work

    See http://wpusersplugin.com/2940/filters/
    basically add a field so it appears in the list of fields
    and then later populate it with the data you want.

    Note that this will impact any csv extract in that the html in the pseudo field will then appear in the csv.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.