Questions tagged [titles]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
209 views

How to Auto-generate a Title based on a multiple entries titles? (using a Entries field type)

I have two sections (both Channel type): Releases Movies Releases have one Entries field type, the source is Movies So, I want Auto-generate a Release title from Movies, like this: Titanic, Avatar, ...
user15280052's user avatar
1 vote
1 answer
200 views

Use Emoji in Title?

I need to be able to store emoji in the title field of several entries, but whenever the entry is saved the emoji characters are stripped out and replaced with four question marks i.e. ????. I imagine ...
theAdhocracy's user avatar
1 vote
1 answer
80 views

Use sequential numbers for entry title

I have a channel where I need each entry's Title include a sequential number, like this: 10003 - Entry Title Is there a way to prepend a sequential number to the entry title?
pepe's user avatar
  • 315
1 vote
2 answers
357 views

Using Conditionals in Title Format

I've got a new channel for Authors where there are 3 fields: firstName middleName lastName and I'm using these fields to generate the Title of the channel entry. However I would like to add a ...
CreateSean's user avatar
  • 1,973
1 vote
1 answer
207 views

Override max-length on the Title format field

We're using entry properties in the Title format field to automate titles for some channels. However we've ran into the issue of this field having a max-length set on it. I understand why this exists ...
donpa's user avatar
  • 21
2 votes
2 answers
906 views

Change entries URL?

In ExpressionEngine was a URL field under the title field that was filled when writing the title. It was possible to change the URL to something else. Also if i want to change the title of an entry ...
MrGlasspoole's user avatar
1 vote
1 answer
333 views

Limit slugs to ASCII for auto-generated titles

I currently have auto-generated titles that contains accents and so does the slugs. Since the slug is used to generate assets folders, accents aren't suitable and results in question marks in the ...
fdelaneau's user avatar
  • 123
1 vote
2 answers
331 views

Superscript in entry title

We launched a site for a scientific publication and they use subscript and superscript in lots of their content. Now they'd like to use in entry titles too.. I know I can set the entry title to be a ...
Jan Henckens's user avatar
1 vote
1 answer
68 views

Prevent automatic title on resave

I have a situation where I wish to automatically set entry title based on locale entry was created in. This is what I use for title: {{ object.locale == "jp" ? "Japanese title" : "English title"}} ...
Mato's user avatar
  • 229
1 vote
1 answer
684 views

Setting the page title for a category page

I am trying to get the page title of the categories page. Currently it shows as: category-name, but I would like to have it set to Category Name to match the category.title. My categories/index.html ...
Ricardo Henriquez's user avatar
5 votes
1 answer
1k views

Is it possible to increase the Title character limit?

Simple use case: I have a channel that is setup solely to be used in an entries field to relate goals that are used on multiple pages. The goals channel simply has the title field, as the goals ...
Tiffany Ring's user avatar
1 vote
1 answer
236 views

Auto-generated title based on last entry

I am attempting to make one of my sections use auto-generated titles. I am making my first entry with a title like 8000. What I need is the second entry to be titled 8001, the third 8002, etc. Each ...
Steven Thate's user avatar
1 vote
2 answers
405 views

How to Auto-Generate a Craft Commerce Product Title

How can I auto-generate the product titles in Craft Commerce? I'd like to auto-generate it from the post date and a custom field value. I can see how to auto-generate the SKU, but can't see how to do ...
Stephen's user avatar
  • 685
1 vote
1 answer
470 views

Translating a section's title field on save

For a Single section's entry type that has the title field hidden, I'd like to translate the generated title, as per the entry's locale. I've currently got the following in the entry type's "Title ...
Mats Mikkel Rummelhoff's user avatar
0 votes
1 answer
1k views

SEO Title Tags Not Showing

We’re having a big issue with SEO data. Any link preview does not pull the entry title but the global site title. For example, on this blog post, all link previews (Google, Twitter, Facebook, LinkedIn,...
Ethan's user avatar
  • 1
5 votes
1 answer
751 views

How to truncate auto-generated entry titles?

I am auto-generating entry titles based on a plain text field. Now, I would like to limit the characters the title contains of (e.g. 50 chars while the plain text field has 500 chars). How could I do ...
MISC's user avatar
  • 1,019
5 votes
2 answers
4k views

How Can I Output Only the First Word of the Title of an Entry in a Template?

Is it possible to output only the first word of the title of an entry in a template? If so, how? Thanks!
dpayne's user avatar
  • 659
4 votes
1 answer
2k views

How to display the title of a category based on its ID?

I’m passing the ID of a category to a template via a catId query string (i.e. http://example.com/some/path?catId=10). How do I display the title of that category?
Martin's user avatar
  • 1,203
4 votes
1 answer
182 views

Is there an option to edit title-parameter for Links in Redactor?

How can i edit Link-Title in Redactor Richtext-Editor? Didn't found any config options or plugins for that. Can't believe this is not possible yet.
phaetons's user avatar
  • 705
1 vote
0 answers
368 views

changing from title to title format [closed]

We built a small conference site last year that had a Speakers channel. At the time, we used the title field to store the last name of a speaker. That was fine but for editors, where there are ...
Steven Grant's user avatar
  • 1,855
1 vote
1 answer
1k views

How to set a dynamic title in plugin on entry save?

I have a section of events and am trying to automatically set a readable title on the event entry in the CMS ( such as Jan 5 - 12, 2015 or Jan 5, 2013 - Jan 10, 2016 ). I realize I can do this via a ...
Mat's user avatar
  • 23
1 vote
1 answer
106 views

Trim part of title. Possible bug?

I have a title field with value: "Nobel Participatie Portefeuille". On my template I want to trim the word "Nobel", You can do this with twig trim. so this is my code: {{ entry.title | trim('Nobel '...
Johannes Lamers's user avatar
3 votes
2 answers
1k views

Title Format - Auto Generation via linked entry

Finally hopping back into Craft to finish a large project, and am loving so many of the new features added! One thing I am using extensively is the Title Format feature. For one of my entry types, my ...
Jeremiah's user avatar
  • 121
2 votes
1 answer
102 views

When using "Title Format", quotes in fields are entitized when saving to title field

Example: section called people Title format: {firstName} {lastName} When I save an entry with the name _Michael "That Guy" D'Esopo, it saves and reads in the entries list screen as Michael "...
Tim Kelty's user avatar
  • 3,081
7 votes
1 answer
864 views

Use postDate in section title format field

I'm trying to generate titles for a section's entries based off of the given post date (if it exists). Here's the configuration I've got in the Title Format field for this section's entry types: New ...
Ray's user avatar
  • 193
1 vote
2 answers
256 views

How to add a conditional elements into the title of a page?

I need to set the page title like this: {% if entry.artistFirstName | length %} {{ entry.artistFirstName | capitalize }} {% endif %} {{ entry.title | capitalize }} So if a first name is set I ...
Romain P.'s user avatar
  • 1,818
2 votes
2 answers
108 views

How to apply a filter on a title with several concatenated elements?

Here's an example: {% set title = entry.artistFirstName | capitalize ~ ' ' ~ entry.title | capitalize %} It outputs Firstname title instead of Firstname Title whereas filters are applied on the two ...
Romain P.'s user avatar
  • 1,818
3 votes
2 answers
403 views

Multiple category output in auto generated entry title

I have a single category field (named category) in my section and I am looking to use the auto-generated title to keep these entries titled consistently. I have had success outputting the first ...
Alan Miller's user avatar
3 votes
2 answers
226 views

How do I italicize words in an entry title?

I'm working on a site with a "Research" channel that is going to have scientific names in the titles of the entries. What's the best way to allow these names to be marked up with <em> tags so I ...
Adam Snetman's user avatar
3 votes
3 answers
413 views

Alternative title, multi lingual single

if I have a single that is available in English & Spanish, how do you edit the title for the non default language?
Steven Grant's user avatar
  • 1,855
2 votes
2 answers
2k views

How can I set an entry title automatically, based on a related entry?

If a booking channel contains two Entries fields (one related to a single User, one related to a single 'Event'), how can I get the booking entry title to be set automatically to the following syntax: ...
darylknight's user avatar
  • 3,290
8 votes
1 answer
9k views

How do I adjust the page title for different Section and Entry pages?

Inside the default template that comes installed with Craft, the title of a page is set as: <title>{% if title is defined %}{{ title }} - {% endif %}{{ siteName }}</title> This works ...
user455's user avatar
  • 83
6 votes
2 answers
2k views

Using auto-generated titles against entry field type values

How would you setup a section's entry type to auto-generate the titles based on the title (or slug) of another entry? For example, we have a Software section with entries. We also have a Releases ...
Joel Bradbury's user avatar