[SOLVED]title=textfield1+texfield2

4 years 1 month ago - 4 years 1 month 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?

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

4 years 1 month 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.

4 years 1 month 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.

4 years 1 month 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.

4 years 1 month ago #50133 by mdma
thank you alot!

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.