Buy Now
Sign in

Chronoforms 7 page title?

abalogh , May 12 2021, 06:40
A
abalogh 15
May 12 2021, 06:40 #396423
Hi!
The problem is that under version 7. The {page: title} shortcode doesn't work. I tried to specify it in html element, in the value of text, in the body of an email, but it doesn't appear at all.
How to do this? I want to display the title of the page or the title of the article in the body section of a letter, that is also perfectly good.
Thanks,
Balazs
GreyHead 65
May 12 2021, 10:06 #396428
Hi Balzas,
The CFv7 Shortcodes CheatSheet suggests these:
{data:field_name} Return the value of a specific field or request parameter with the name "field_name"
{var:action_name} Return the result value of an action with the name "action_name"
Bob
If you'd like to buy me a coffee or two, thank you very much
A
abalogh 15
May 12 2021, 10:13 #396430
Hi Bob,
thanks but unfortunately i don't understand what you mean yet. I use these codes in another places, but I can't make a query to the page title right now. What should I write in the body of the letter?
Balazs
GreyHead 65
May 14 2021, 10:20 #396473
Hi Balazs,
The Cheatsheet also gives
{document:var} if var is "title" then return the current page title, else if var is "url" then return the current page url
Bob
If you'd like to buy me a coffee or two, thank you very much