PDA

View Full Version : Replace listing page title



Erez Abutbul
April 20, 2024, 12:54 PM
I know you can set the listing title by editing 'Build listing title' in category page.
But how can i change listing title in listing detail page only, leaving the title in browse forms etc as is?

Example:

I have the listing title set as following: "Make/Model, Built"
But i would like to set a different field type in listing detail page to show as the H1 tag of the page.

In other words, in browse form i would like to show Make/Model, Built" and in listing detail page i would like to show the title genereted by the user in add listing page.

Any ideas?

Rudi
April 22, 2024, 11:13 AM
Go to templates/.../tpl/blocks/listing-details-header.tpl > instead {$pageInfo.name} use {$listing_data.title}

Erez Abutbul
April 22, 2024, 01:33 PM
Go to templates/.../tpl/blocks/listing-details-header.tpl > instead {$pageInfo.name} use {$listing_data.title}

Worked. Thank you!