Home Forums Teachify LMS How can I Route a custom made page in the theme?

Tagged: 

  • #3871

    sohail
    Participant

    22

    How can I Route a custom made page in the theme?

    I need to Route a custom made page from the theme directory “edugator”? Like I made a page “about-us.blade” in the theme/edugator, now I want route it like “mysite.com/about-us”

Viewing 1 replies (of 1 total)
  • #3888

    themeqx
    Keymaster

    You can do it in two ways.

    1. By writing a plugin
    2. Adding the route in the core.

    By writing the Plugin, please follow a plugin from that we wrote for the extend the platform. You can write routes/views within the plugin.

    Add route in the core.

    routes/web.php

    place your view file within the theme root

    Add the controller/method to connect with the route and view file.

    If you are a laravel developer, you can do this easily.

    Best Regards

Viewing 1 replies (of 1 total)

Purchase for access

Buy a copy of Teachify LMS for access to our member center.

Buy