+ Reply to Thread
Results 1 to 3 of 3

Thread: Go to add a listing page without choosing category?

  1. #1

    Go to add a listing page without choosing category?

    Dear Flynax Dev,

    I have 2 categories on my site, CAT1 that set Admin only, and CAT2 for all users.
    So when posting an add, users an only see one category which is CAT2
    Is there anyway if I can make it skip the Category choosing page, if there is only 1 category available to choose? I'm using 4.8.

    Thank you

  2. #2
    Hello Wei,

    Yes, you can do it. But you should know category ID for it.

    Open file: ftp://includes>>classes>>AddListing.php
    at line ~80 find the code:
    PHP Code:
    Only registered members can view the code
    below add a new code:
    PHP Code:
    Only registered members can view the code
    where 122 - your category ID.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Quote Originally Posted by Viktor View Post
    Hello Wei,

    Yes, you can do it. But you should know category ID for it.

    Open file: ftp://includes>>classes>>AddListing.php
    at line ~80 find the code:
    PHP Code:
    Only registered members can view the code
    below add a new code:
    PHP Code:
    Only registered members can view the code
    where 122 - your category ID.
    Thanks you very much Viktor. Merry Xmas to your and Flynax Team

+ Reply to Thread