+ Reply to Thread
Results 1 to 5 of 5

Thread: Listing title, language questions

  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    5

    Listing title, language questions

    Hello, I have auto classifieds 4.1.0

    say when you want to place an ad, first you have to choose a category then sub-category
    for example: Alpha Romeo/156
    Is it possible to make that your selected category/sub-cat will be automatically seen as a listing title, without writing anything in the title field?
    I want that the title would look something like: Alfa Romeo 156, 1.8 l. Saloon

    Next question,

    when I trying to import language from my computer via admin panel, I am getting this error:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Dear {username},Checking our records for new listings we found that you have no' at line 1 ............long text............
    Function: error
    Class: rlDb
    File: /home/*****/public_html/includes/classes/rlDb.class.php (line# 193)

    Sorry for my english:/

  2. #2
    Quote Originally Posted by AidPr View Post
    Hello, I have auto classifieds 4.1.0

    say when you want to place an ad, first you have to choose a category then sub-category
    for example: Alpha Romeo/156
    Is it possible to make that your selected category/sub-cat will be automatically seen as a listing title, without writing anything in the title field?
    I want that the title would look something like: Alfa Romeo 156, 1.8 l. Saloon
    It's possible with few changes to the code. Could you please submit a ticket with ftp login details of your website, i will do it and post instructions here.

    About:

    Quote Originally Posted by AidPr View Post
    Next question,
    I am getting error:
    File: /home/*****/public_html/includes/classes/rlDb.class.php (line# 193)
    It resulted from the single quota in the file but normally script should handle this without problems, could you also include language file to the ticket we will investigate it.

  3. #3
    Instructions how to add category field which will show category and subcategory information (useful for auto sites to display make and model in any listing forms)

    1. admin/controllers/categories.inc.php

    find code ~1140 line

    Code:
    Only registered members can view the code.
    change to

    Code:
    Only registered members can view the code.
    2. includes/classes/rlCommon.class.php -> function adaptValue

    Code:
    Only registered members can view the code.
    change to

    Code:
    Only registered members can view the code.

  4. #4
    About the broken language file, for some reason error resulted from the line breaks in the email templates, sorted it out through importing via phpmyadmin.
    Never saw it before and i think it resulted from server specific configuration.

  5. #5
    Junior Member
    Join Date
    May 2012
    Posts
    5
    I made these changes and I have to say it really works. Thanks

    About the language, a few months ago, I had installed the real estate software (4.0.1) in the same server,
    and did the same things with the language file, but did not get any errors. So it's hard to say whether this is due to server configuration.

+ Reply to Thread