10 years ago
4
Topic
Hello guys,

I would like to know how can I put automatically in a field called title the name of field : name
Actually, when I click on the content, I have the date in field title and I want the name as title.

Can I use a variable ?

Thank you for your reply.
Get a Book for SEBLOD
693 Posts
rpoy
10 years ago
3
Level 1
Hi manu74,

There are different ways to do what you want to do.

In your Content type:
One: Add the Article Title field and just change the label to say the name that you want.
Two: Create a field, but change the storage to: title.
Three: If you want to use more than one field to create a string like: FirstName LastName, use SD Field Concat and change the storage to title.

Hope that helps,

Randy

10 years ago
2
Level 2
Hello Randy,

Ok Randy,
I see it, it works, but if I have two fields with the same name (title) that I put in a different folder, the most important is the alias ? is it exact ?


693 Posts
rpoy
10 years ago
1
Level 3
Hi manu74,

Yes the alias must be unique. If you want to have the same titles, then what you could do, is use the SD Field Concat, and use the title field and add the date to it, then store it in the alias field.

Hope that helps,

Randy
10 years ago
0
Level 4
Sure, I know that alias is unique, but yes, if I want last name and first name in title, I will be take this plugin.
Thank you for your help and your knowledge.
Get a Book for SEBLOD