Jump to content

Custom Block Theme Help


Recommended Posts

In IPB 3, I was able to use a member data feed and use the variable $r['field_18'] to pull data from a custom profile field to sort members into lists depending on their value. On the new block templates, I am unable to do so. Documentation is almost impossible to find, and was wondering if anyone would know how to do so.



Code from IPB 3:

<foreach loop="$records as $r">

	<if test="$r['field_18'] === "1"">
		<a href="{$r['url']}">{$r['title']}</a>

Code in IPB 4 (What I think it should be but is not): 

{{foreach $members as $member}}

The code is not exactly what the one before was, but im just trying to output the value of the field at this point.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...