Questions tagged [concatenation]

The tag has no usage guidance.

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

Accessing and Manipulating a Variable

Hopefully simple variable / concatenation question: What is the best way to retrieve the url of a specific asset the name of which should be concatenated from an asset field variable and a text string?...
1
vote
2answers
210 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 ...
6
votes
2answers
3k views

Calling variables, dynamically

I've got a parent template which contains the following code: {% include '_layout' with {'countryCode': 'au'} %} I have a global set with the handle au_Variables, and within that a field with the ...
5
votes
2answers
8k views

How can I incorporate a variable into a string?

How can I incorporate a variable into a string, so that the result is a longer string that includes the contents of a given variable? For example, I have a variable called apple and its value is "...