Support Tickets - Add new index template

Add new index template

Live Chat 30.08.2016 3925 Support Status: Closed Solution: Yes ramllo


Hello, ive been able to add a new link to the menu and want to make a new page template with content. How can this be done?

I have created the hotel list file in templates(livechat/operator/template/hotels.php). so my route would be http://www.mysite.com/livechat/operator/index.php?p=hotels


Replies (5)

  • avatar Jerome

    Thank you for your purchase and opening a ticket with us.

    As stated when you purchase, we cannot provide support for custom modifications for free. However you can purchase custom modifications in our shop and we are happy to help you out.

    What will the hotel page do and why does it need to be in the operator section?

    Awaiting your answer so I can give you an estimate how much time of our custom modifications service you will need to buy.

    Thank you for your understanding.

    30.08.2016 0
  • avatar ramllo

    Thanks jerome, I just want to put an iframe of another page so that the user can view useful information...

    30.08.2016 0
  • avatar Jerome

    Good Morning,

    You will need to create a file as you already have hotels.php and leaf the header and footer intact. Copy your iframe inbetween.

    Open your index.php and add another if statement so the system knows which file to open when you enter the hotel url:

    if ($page == 'hotel') {
    require_once 'hotel.php';
    $JAK_PAGE_ACTIVE = 1;
    $checkp = 1;
    }

    That should get you there, otherwise we can do it for you. Please purchase 30 minutes of custom modifications here: https://jakweb.ch/shop/i/3/custom-modifications and send us ftp, super operator login and the iframe code with following form: https://jakweb.ch/access-form

    31.08.2016 0
  • avatar ramllo

    It worked!!! thanks a lot!

    31.08.2016 0
  • avatar Jerome

    No problem.

    *** Ticket closed ***

    31.08.2016 0