<DIV>
<DIV class=content>
<P>Hi,</P>
<P>I was wondering if it's possible to alter this function in the blog module, so that it displays a custom field from the user's profile instead of the user name of the user:</P>
<P></P>
<DIV class=codeblock><CODE><SPAN style="COLOR: rgb(0,0,0)"><SPAN style="COLOR: rgb(0,0,187)"><?php<BR></SPAN><SPAN style="COLOR: rgb(0,119,0)">function </SPAN><SPAN style="COLOR: rgb(0,0,187)">blog_view</SPAN><SPAN style="COLOR: rgb(0,119,0)">(</SPAN><SPAN style="COLOR: rgb(0,0,187)">$node</SPAN><SPAN style="COLOR: rgb(0,119,0)">, </SPAN><SPAN style="COLOR: rgb(0,0,187)">$teaser </SPAN><SPAN style="COLOR: rgb(0,119,0)">= </SPAN><SPAN style="COLOR: rgb(0,0,187)">FALSE</SPAN><SPAN style="COLOR: rgb(0,119,0)">, </SPAN><SPAN style="COLOR: rgb(0,0,187)">$page </SPAN><SPAN style="COLOR: rgb(0,119,0)">= </SPAN><SPAN style="COLOR: rgb(0,0,187)">FALSE</SPAN><SPAN style="COLOR: rgb(0,119,0)">) {<BR> if (</SPAN><SPAN style="COLOR: rgb(0,0,187)">$page</SPAN><SPAN style="COLOR: rgb(0,119,0)">) {<BR> </SPAN><SPAN style="COLOR: rgb(255,128,0)">// Breadcrumb navigation<BR> </SPAN><SPAN style="COLOR: rgb(0,0,187)">$breadcrumb</SPAN><SPAN style="COLOR: rgb(0,119,0)">[] = array(</SPAN><SPAN style="COLOR: rgb(221,0,0)">'path' </SPAN><SPAN style="COLOR: rgb(0,119,0)">=> </SPAN><SPAN style="COLOR: rgb(221,0,0)">'blog'</SPAN><SPAN style="COLOR: rgb(0,119,0)">, </SPAN><SPAN style="COLOR: rgb(221,0,0)">'title' </SPAN><SPAN style="COLOR: rgb(0,119,0)">=> </SPAN><SPAN style="COLOR: rgb(0,0,187)">t</SPAN><SPAN style="COLOR: rgb(0,119,0)">(</SPAN><SPAN style="COLOR: rgb(221,0,0)">'Blogs'</SPAN><SPAN style="COLOR: rgb(0,119,0)">));<BR> </SPAN><SPAN style="COLOR: rgb(0,0,187)">$breadcrumb</SPAN><SPAN style="COLOR: rgb(0,119,0)">[] = array(</SPAN><SPAN style="COLOR: rgb(221,0,0)">'path' </SPAN><SPAN style="COLOR: rgb(0,119,0)">=> </SPAN><SPAN style="COLOR: rgb(221,0,0)">'blog/'</SPAN><SPAN style="COLOR: rgb(0,119,0)">. </SPAN><SPAN style="COLOR: rgb(0,0,187)">$node</SPAN><SPAN style="COLOR: rgb(0,119,0)">-></SPAN><SPAN style="COLOR: rgb(0,0,187)">uid</SPAN><SPAN style="COLOR: rgb(0,119,0)">, </SPAN><SPAN style="COLOR: rgb(221,0,0)">'title' </SPAN><SPAN style="COLOR: rgb(0,119,0)">=> </SPAN><SPAN style="COLOR: rgb(0,0,187)">t</SPAN><SPAN style="COLOR: rgb(0,119,0)">(</SPAN><SPAN style="COLOR: rgb(221,0,0)">"@name's blog"</SPAN><SPAN style="COLOR: rgb(0,119,0)">, array(</SPAN><SPAN style="COLOR: rgb(221,0,0)">'@name' </SPAN><SPAN style="COLOR: rgb(0,119,0)">=> </SPAN><SPAN style="COLOR: rgb(0,0,187)">$node</SPAN><SPAN style="COLOR: rgb(0,119,0)">-></SPAN><SPAN style="COLOR: rgb(0,0,187)">profile_displayName</SPAN><SPAN style="COLOR: rgb(0,119,0)">)));<BR> </SPAN><SPAN style="COLOR: rgb(0,0,187)">$breadcrumb</SPAN><SPAN style="COLOR: rgb(0,119,0)">[] = array(</SPAN><SPAN style="COLOR: rgb(221,0,0)">'path' </SPAN><SPAN style="COLOR: rgb(0,119,0)">=> </SPAN><SPAN style="COLOR: rgb(221,0,0)">'node/'</SPAN><SPAN style="COLOR: rgb(0,119,0)">. </SPAN><SPAN style="COLOR: rgb(0,0,187)">$node</SPAN><SPAN style="COLOR: rgb(0,119,0)">-></SPAN><SPAN style="COLOR: rgb(0,0,187)">nid</SPAN><SPAN style="COLOR: rgb(0,119,0)">);<BR> </SPAN><SPAN style="COLOR: rgb(0,0,187)">menu_set_location</SPAN><SPAN style="COLOR: rgb(0,119,0)">(</SPAN><SPAN style="COLOR: rgb(0,0,187)">$breadcrumb</SPAN><SPAN style="COLOR: rgb(0,119,0)">);<BR> }<BR> return </SPAN><SPAN style="COLOR: rgb(0,0,187)">node_prepare</SPAN><SPAN style="COLOR: rgb(0,119,0)">(</SPAN><SPAN style="COLOR: rgb(0,0,187)">$node</SPAN><SPAN style="COLOR: rgb(0,119,0)">, </SPAN><SPAN style="COLOR: rgb(0,0,187)">$teaser</SPAN><SPAN style="COLOR: rgb(0,119,0)">);<BR>}<BR></SPAN><SPAN style="COLOR: rgb(0,0,187)">?></SPAN></SPAN></CODE></DIV>
<P>Any help would be great!</P>
<P>Sarah</P></DIV></DIV>