The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Just one custom field change

2 posters

Go down

Just one custom field change Empty Just one custom field change

Post by Prof Elm October 3rd 2017, 4:04 am

My viewtopic template has this
Code:
<!-- BEGIN profile_field -->
                                                  <big>{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</big>
                     <!-- END profile_field -->
And what I wanna do is put a div around those things, with the style of the div being a custom profile field content that user inputted. The problem is I don't know what the code is to bring up a single custom field's contents, just the contents of all my fields. So ideally, the code I'd want as a result will be something like:

Code:
<!-- BEGIN profile_field -->
                                                  <div style="(WHATEVER USER INPUTS ON THEIR PROFILE FOR THIS FIELD HERE"><big>{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</big></div>
                     <!-- END profile_field -->
When I say profile I mean the viewtopic profile, because I know you can't change the advanced profile. Thanks.
Prof Elm
Prof Elm
New Member

Male Posts : 17
Reputation : 1
Language : English

http://jolteondreams.forumotion.com

Back to top Go down

Just one custom field change Empty Re: Just one custom field change

Post by SLGray October 3rd 2017, 5:04 am

Can you not just create a customized profile field?


Just one custom field change Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum