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

Thread: Ad tittle format

Hybrid View

  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,177
    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,177
    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
    Senior Member
    Join Date
    Dec 2023
    Posts
    161
    [QUOTE=Rudi;24609]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
    /QUOTE]

    I'm not finding this in 4.9.2 rlCommon.class.php. Is this in a new location? I'm trying to remove the comma between category, subcategory in title so it's just category subcategory (no comma)

  7. #7
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,177
    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.

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

  9. #9
    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.

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

+ Reply to Thread