+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Ad tittle format

  1. #1

    Ad tittle format

    Where can I edit the text format of an ad tittle if my build form for the ad tittle is: Make/Model and Ad Tittle.
    Example of an ad tittle: Audi, A3, Nice car from a second owner

    I want to edit the text format so the ad tittle could be: Audi A3 - Nice car from a second owner

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    You should use Title Form for your primary category: Categories > Categories > your primary or parent category > Build > Build Listing Title > add Category (Make/Model) and Title fields
    Last edited by Rudi; January 14, 2019 at 02:18 AM.

  3. #3
    Hi Rudi, my title is already built like that.
    I want to edit the way it's shown, actually I want to delete the commas that are shown in the title.
    Example: Audi, A3, Nice car...

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    To remove all the commas in the title go to ftp > includes > classes >

    rlListings.class.php > public function getListingTitle

    find and change:
    PHP Code:
    Only registered members can view the code
    to:
    PHP Code:
    Only registered members can view the code

    and change:
    PHP Code:
    Only registered members can view the code
    to:
    PHP Code:
    Only registered members can view the code
    then go to rlCommon.class.php > public function adaptValue > case 'select'

    change:
    PHP Code:
    Only registered members can view the code
    to:
    PHP Code:
    Only registered members can view the code
    Last edited by Rudi; January 18, 2019 at 06:08 AM.

  5. #5
    Once again thank you very much Rudi!
    For anyone interested in future about this, I deleted the comma and put empty space instead just deleting the comma because in that case it would shortened the title at the end for the last letter/symbol.

  6. #6
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    You're welcome,

    As you can see I didn't remove the space, only comma
    Last edited by Rudi; January 15, 2019 at 07:17 AM.

  7. #7
    Yes, but I meant to say it needs to be two empty spaces

  8. #8
    Quote Originally Posted by Aleksandar Apostolovski View Post
    Yes, but I meant to say it needs to be two empty spaces
    Rudi meant that you should leave the space and delete the comma only in the code.

  9. #9
    I mentioned this because I copy/pasted his code and I got the shortened title

  10. #10
    Quote Originally Posted by Aleksandar Apostolovski View Post
    I mentioned this because I copy/pasted his code and I got the shortened title
    Yes thats why he told you to look at the space. You can see in his code there is still space. When you copied it, it probably removed the space? But you know how to fix it by now, just make a space in your code.

+ Reply to Thread