Jump to content


- - - - -

How to fix custom fields in topic view ?


  • Please log in to reply
2 replies to this topic

#1 DyCe

DyCe

    Coder

  • Banned
  • PipPipPipPipPip
  • 126 posts
  • Real Name:DyCe
  • IPB Version:v2.3.x

Posted 04 September 2010 - 04:26 PM

hello,

in topic view Group, Location, Posts, Gender fields are fine and in one line also decorated. but all customize fields are looking over line. could any one help me to fix this issue ?

screen shot attachedAttached File  dfdfdfd.JPG   4.31K   0 downloads.

#2 cinik

cinik

    Coder

  • Members
  • PipPipPipPipPip
  • 119 posts
  • IPB Version:v2.3.x

Posted 04 September 2010 - 07:53 PM

Global Template / userinfopane

Look for :

Quote

<if test="authorcfields:|:$author['custom_fields'] != """>
<foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
<foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
<if test="$field != ''">
<li>
{$field}
</li>
</if>
</foreach>
</foreach>
</if>

Before <if add <center> and after </if> </center>

Thats how I did it and works ok

#3 DyCe

DyCe

    Coder

  • Banned
  • PipPipPipPipPip
  • 126 posts
  • Real Name:DyCe
  • IPB Version:v2.3.x

Posted 05 September 2010 - 05:57 AM

hi, thanks for help. its center the fields but not fix that. all above fields are in separated and decorated within bold and without space. but its can't. i have used <b> tag but its not look good.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users