+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: How can I make default sort by:number of ads at Real Estate Accounts page?

  1. #11
    Senior Member
    Join Date
    Nov 2016
    Posts
    109
    Thank you to every one of you.
    But I am confused. Which correction is right for me?

  2. #12
    Hello Amir,

    You can check mysql error and send to me. Open file: ftp://tmp>>errorLog>>errors.log
    Move to the end of document and send me last mysql error.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #13
    Hello Viktor,

    I know that and error line is below, but what i am saying is,there is no need to change any code in account_type.inc.php.
    Please review the question again.

    Code:
    Only registered members can view the code.
    Hello Halit,
    Hmmmm!....of course viktor is supervisor.

  4. #14
    Hello Bahram,

    I don't understand why did you add the code to class: rlListings and in method: getListings
    In your 1-st post you show link: http://forum.flynax.com/showthread.p...s-(Descending)
    And there I wrote: Open file: ftp://includes>>classes>>rlAccount.class.php find method: getDealersByChar
    please read it and remove your code from getListings method.
    Viktor,
    Flynax technical department,
    Best wishes.

  5. #15
    Hello viktor,

    I did not add the code there. Please read your first and second post here.

  6. #16
    As I remember I wrote about account_type.inc.php and class: rlAccount.class.php
    I don't remember about rlListings.class.php file. But you sent me mysql error from Listings class. How is it possible?
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #17
    Yes, when i update account_type.inc.php as your recommend codes and try to open my local page similar to https://classifieds.demoflynax.com/dealer/ , it shows me Mysql error and bla bla bla...

    But Viktor,
    Please forget about mysql error.
    Halit asks about sorting order at pages like https://classifieds.demoflynax.com/employer-accounts/
    and your change codes in account_type.inc.php is about sorting order at pages like https://classifieds.demoflynax.com/dealer/
    which is not applicable for Number of ads.


  8. #18
    Senior Member
    Join Date
    Nov 2016
    Posts
    109

    Exclamation Another page title error

    Hi,

    When I go real estate accounts page 1.page title is OK. But İf we move 2. page title is "Search by -All-". How can fix 2.
    What happened my first problem. Did you find a solution for sorting order title problem.

  9. #19
    Hello Halit,
    Yes you are right. You can solve it yourself. Open file: ftp://includes>>controllers>>account_type.inc.php
    find code at line ~ 338-341:

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

    PHP Code:
    Only registered members can view the code
    save and check again.
    Viktor,
    Flynax technical department,
    Best wishes.

  10. #20
    Senior Member
    Join Date
    Nov 2016
    Posts
    109

    I can't fix it

    Hi Viktor,

    Thank you, but didnt change anything after replace your code. Still 2. Page title is "Search by -All-".

+ Reply to Thread