Hello,
Can someone tell me, please, how can I add some custom text in the title from the listing detail page like in the screenshot below?
Attachment 1162
I've searched and tried with different files but without success.
Thank you in advance!
Printable View
Hello,
Can someone tell me, please, how can I add some custom text in the title from the listing detail page like in the screenshot below?
Attachment 1162
I've searched and tried with different files but without success.
Thank you in advance!
Hello Milea,
In admin panel you cannot create it. You can build listing title through Admin panel but if you want same custom text for all listings you can add it yourself in ftp. If you want I can show where you can set custom text for title.
I know that in Admin Panel I can't create it. That's what I need. What file do I have to modify?
Thank you!
Another question, please:
I have only 2 categories. Is it possible to add some different custom text for each one?
Thanks!
Hello Milea,
You can create it here: ftp://includes>>controllers>>listing_details.inc.php
find code:
and after that or instead of this code create condition:PHP Code:
Only registered members can view the code.
save and close the file. Then go to Admin Panel >> Languages click button "Add a phrase" and Key = first_phrase, Value what you want to see in title and same for 2nd phrase too.PHP Code:
Only registered members can view the code.
Thank you!
I've made the changes but I get only the custom text in the listing details and is also changing the URL of the listing with the custom text (this I don't want).
I want the custom text + the one that I've made from the Admin panel but only in the title from the listing details page without changing anything else.
Thanks!
Hello Milea,
ok please move your code bellow. Find condition:
and above add your code:PHP Code:
Only registered members can view the code.
Also what did you set instead of: 'one_of_your_ID'PHP Code:
Only registered members can view the code.
you should set real category ID here. insert code:then save and refresh listing details and in top you will see category ID copy and insert it instead of 'one_of_your_ID' then removePHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
Thank you! That worked perfect!