+ Reply to Thread
Results 1 to 9 of 9

Thread: Remove/Hide commas Title

  1. #1

    Remove/Hide commas Title

    Hi Everyone!

    I would like to remove or hide the commas of the ad title.
    Title is composed of the fields: model-model, condition, built, price.
    For example:
    Audi, A3, 2007, $ 26,595 -----> Audio A3 2007 $26,595
    Can that be ad easily?

    Make-model is ok! (http://forum.flynax.com/showthread.p...=title+listing)

    Regards
    Attached Images Attached Images

  2. #2
    Hello Vanesa,

    It's easy!

    1. You need open file: /includes/classes/rlListings.class.php in line ~1679 and find getListingTitle() function
    2. Remove comma from code

    Attached Images Attached Images
    Thank you, Curtis.
    @Flynax Company

  3. #3
    Hi Curtis!
    it works perfectly! \o/

    Thank you

  4. #4
    Senior Member
    Join Date
    Jun 2016
    Location
    New York
    Posts
    158
    The categories and subcategories will continue to display comma, to solve this read the topic below, the procedure is almost the same, you remove the comma and leave only " "

    http://forum.flynax.com/showthread.p...-Title-Builder

    Thank You Curtis!

  5. #5
    Just a heads up for anyone else that removes the commas from the listing title the way Curtis shows, you also have to change the substr line below it from -2 to -1, otherwise it will delete the last character of the title.

    Code:
    Only registered members can view the code.

  6. #6
    Thanks for sharing. Can we somehow remove all comas but leave the last comma like this:
    Audi, A3, 2007, $ 26,595 -----> Audio A3 2007, $26,595

  7. #7
    Quote Originally Posted by Wei Hong View Post
    Thanks for sharing. Can we somehow remove all comas but leave the last comma like this:
    Audi, A3, 2007, $ 26,595 -----> Audio A3 2007, $26,595
    Not sure, but if you put the Price field into the category's Browse Form, the price will show nice and big on the listings page and then you may not need it in the title. At least it does for the Auto templates.
    Last edited by Justin Mueller; September 17, 2018 at 07:18 PM.

  8. #8
    Quote Originally Posted by Justin Mueller View Post
    Not sure, but if you put the Price field into the category's Browse Form, the price will show nice and big on the listings page and then you may not need it in the title. At least it does for the Auto templates.
    Thanks Justin

  9. #9
    Senior Member
    Join Date
    Dec 2023
    Posts
    161
    Related to this, when using subcategories there is a comma between Category, Subcategory when category is used for the title. Is there a way to remove this comma between Category, Subcategory so it's just Category Subcategory? (no comma between)

    Edit: got it. https://forum.flynax.com/showthread....8575#post38575
    Thanks Rudi!
    Last edited by Horizon; January 1, 2024 at 11:14 PM.

+ Reply to Thread