+ Reply to Thread
Results 1 to 7 of 7

Thread: Prices page missing

  1. #1
    Master
    Join Date
    Apr 2017
    Location
    Tehran/Iran
    Posts
    492

    Prices page missing

    There is no prices page individually.
    Currently, it is only available in second page of Add-listing menu.
    Obviously, it should be available as an independent page on top menu items.
    Most of users like to know prices before starting to add listing.

  2. #2
    Master
    Join Date
    Apr 2017
    Location
    Tehran/Iran
    Posts
    492
    This is a small solution based on flynax code. Also a reply to this thread https://forum.flynax.com/showthread....-as-a-new-page

    Go to Admin Panel -> content -> Pages

    Create a new page with below items and save it.

    Key -> prices
    Name -> Prices
    Title - Prices
    Page type -> system
    Page controller -> prices
    Page URL -> prices
    Show page link in -> Top menu

    Now create a new file Your_template_folder/tpl/controllers/prices.tpl

    Copy below lines in it and save

    Code:
    Only registered members can view the code.
    Then create a new file includes/controllers/prices.inc.php

    Copy below lines in it and save.

    Code:
    Only registered members can view the code.
    Go to Your_template_folder/js/lib.js
    Line # 135

    Find:

    Code:
    Only registered members can view the code.
    Change to below and save:

    Code:
    Only registered members can view the code.
    Now you should have Prices link at your top menu. click and enjoy!
    Last edited by Bahram Soltanirad; September 19, 2022 at 06:31 AM.

  3. #3
    Senior Member
    Join Date
    Mar 2016
    Location
    usa
    Posts
    131
    interesting. Thank you for sharing

  4. #4
    Guru
    Join Date
    Jul 2019
    Location
    Australia
    Posts
    601
    Very nice. always wanted to do this.
    Boatfind.com
    Boatfind.com.au

  5. #5
    Quote Originally Posted by Bahram Soltanirad View Post
    This is a small solution based on flynax code. Also a reply to this thread https://forum.flynax.com/showthread....-as-a-new-page

    Go to Admin Panel -> content -> Pages

    Create a new page with below items and save it.

    Key -> prices
    Name -> Prices
    Title - Prices
    Page type -> system
    Page controller -> prices
    Page URL -> prices
    Show page link in -> Top menu

    Now create a new file Your_template_folder/tpl/controllers/prices.tpl

    Copy below lines in it and save

    Code:
    Only registered members can view the code.
    Then create a new file includes/controllers/prices.inc.php

    Copy below lines in it and save.

    Code:
    Only registered members can view the code.
    Now you should have Prices link at your top menu. click and enjoy!
    Very nice guide there Bahrm and welcome back. May us see a live demo on your page? It would be awesome!

  6. #6
    Senior Member
    Join Date
    Nov 2021
    Posts
    138
    Wow! Its amazing!

  7. #7
    Master
    Join Date
    Apr 2017
    Location
    Tehran/Iran
    Posts
    492
    Quote Originally Posted by Wei Hong View Post
    Very nice guide there Bahrm and welcome back. May us see a live demo on your page? It would be awesome!
    Thanks Wei,
    It is definitely similar to 'View Plans Chart' link in 'add lising' page.

+ Reply to Thread