[SOLVED]title=textfield1+texfield2

More
10 years 2 months ago - 10 years 2 months ago #50116 by mdma
Hello,
whats the best way in a custom template to render two fields inside 1 field generally?

my case i think its maybe not possible because of:
it is a core field:title, i want call the content from 2 other text fields into it.

or maybe 1 textfield, not core title, that gets generated from 2 other text fields?
Last edit: 10 years 2 months ago by mdma.

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #50128 by micker
you can do this
1 create a txte field for title (titlefield name)
2 remove title in your template
3 add code for your titlefield
4 in your field in suffix or prefix add
{{field2##0}}{{field3##0}}
5 configure your field to have a default value for each new item
=> thats done

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #50131 by mdma
hello!thank you,
{{field2##0}}{{field3##0}}
waht does the 0 mean,is it for value you know?
do other bracket-snippets are avaiable like this one?
greetings

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #50132 by micker
0 is the first value ... if you have multi value field ... you can use 1 or 2..etc

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #50133 by mdma
thank you alot!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.705 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline