[buddypress-dev] modifications to bp-xprofile-templatetags.php
bryanphelps at gmail.com
Tue May 27 19:42:38 GMT 2008
The template tags are new to me. Can someone explain the purpose and how
they are used or point me to some documentation?
On Tue, May 27, 2008 at 1:18 PM, Andy Peatling <andypeatling at automattic.com>
> On 27-May-08, at 10:15 AM, David J. Bisset wrote:
>> Want some feedback on this. I needed to do some logic via php on my
>> homepage/profile page of each blog/account. The functions in
>> bp-xprofile-templatetags simply didn't give an option to return a value,
>> only output it. So i made the following changes: [...]
> I'm just wondering what situation you would need to return and not echo?
> The template tags are designed to function within 'the loop' and just spit
> out the right information. Usually you'd structure your HTML around this,
> and then call the template tags in the places where you want to render the
> profile data.
> You might want to directly access the profile data object if you want to
> get hold of data instead of rendering it straight to the page. What do
> others think?
> Andy Peatling | Social Engineer | Automattic
> buddypress-dev mailing list
> buddypress-dev at lists.automattic.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buddypress-dev