Questions tagged [titles]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
36 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 ...
1
vote
1answer
103 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 ...
1
vote
2answers
135 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 ...
1
vote
2answers
50 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"}} ...
1
vote
1answer
326 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 ...
5
votes
1answer
323 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 ...
1
vote
1answer
121 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 ...
1
vote
1answer
198 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 ...
1
vote
1answer
256 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 ...
0
votes
1answer
494 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,...
5
votes
1answer
516 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 ...
4
votes
2answers
2k 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!
4
votes
1answer
1k 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?
4
votes
1answer
113 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.
1
vote
0answers
322 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 ...
1
vote
1answer
758 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 ...
1
vote
1answer
80 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 '...
2
votes
2answers
847 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 ...
2
votes
1answer
88 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 "...
5
votes
1answer
508 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 ...
1
vote
2answers
203 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 ...
2
votes
2answers
78 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 ...
3
votes
2answers
300 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 ...
3
votes
2answers
155 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 ...
3
votes
3answers
254 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?
2
votes
2answers
1k 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: ...
6
votes
1answer
6k 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 ...
6
votes
2answers
1k 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 ...