+ Reply to Thread
Results 1 to 9 of 9

Thread: Custom title in the listing detail page

Hybrid View

  1. #1

    Custom title in the listing detail page

    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?

    Custom title.jpg

    I've searched and tried with different files but without success.

    Thank you in advance!

  2. #2
    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.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    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!

  4. #4
    Another question, please:

    I have only 2 categories. Is it possible to add some different custom text for each one?

    Thanks!

  5. #5
    Hello Milea,

    You can create it here: ftp://includes>>controllers>>listing_details.inc.php

    find code:

    PHP Code:
    Only registered members can view the 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.
    Viktor,
    Flynax technical department,
    Best wishes.

  6. #6
    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!
    Last edited by Milea Ionut; December 2, 2014 at 02:15 PM.

  7. #7
    Quote Originally Posted by Milea Ionut View Post
    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!
    Change new code as following to combine custom text with default listing title:

    PHP Code:
    Only registered members can view the code
    Thank you, Curtis.
    @Flynax Company

  8. #8
    Hello Milea,

    ok please move your code bellow. Find condition:

    PHP Code:
    Only registered members can view the code
    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'
    you should set real category ID here. insert code:
    PHP Code:
    Only registered members can view the 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 remove
    PHP Code:
    Only registered members can view the code
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #9
    Thank you! That worked perfect!

+ Reply to Thread