This topic contains 4 replies, has 2 voices, and was last updated by Sean Sean 1 year, 8 months ago.

How to set content to DIV?


  • XanaduDev
    Participant

    Posts: 19
    Member Reply #6456

    Trying out the layouts and basically I want to create a page the has 3 parts – top, navigation and content. I want to know how to change the content part only

    I’m using admin_1 theme v4.5.6

     

    • This topic was modified 1 year, 8 months ago by  XanaduDev.
    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4206
    Support Staff Reply #6473

    Hi,

    Please follow below steps:

    1) Add <div class=”page-content-body”></div> div in the page content area where you will load your ajax contents

    2) Add “ajaxify” class to the LI > A element as shown below:

    <li class=”nav-item start open active”>
    <a href=”?p=index” class=”nav-link ajaxify”>
    <i class=”icon-bar-chart”></i>
    <span class=”title”>Dashboard 1</span>
    <span class=”selected”></span>
    </a>
    </li>

    If you need any further clarifications please let us know

    ==========

    Just a friendly reminder: If you purchased Metronic 6 months ago then your included support subscription might be expired and to get any further support you will need to renew your support subscription. For further check please go to Metronic purchase page http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes.

    For more info please check:

    https://help.market.envato.com/hc/en-us/articles/208191263-What-is-Item-Support- or  http://themeforest.net/page/item_support_policy

    Thanks.


    XanaduDev
    Participant

    Posts: 19
    Member Reply #6504

    Hi Sean,

    That worked out perfectly.

    Thank you!


    XanaduDev
    Participant

    Posts: 19
    Member Reply #6505

    Hi,

    What if I want to reload part of the content/page only? Example: A page that has a search button and shows the list at the bottom part?

    How can I do that using the admin_1 layout?

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4206
    Support Staff Reply #6521

    Hi,

    Such unique feature are not covered by the theme. You should do it by your own by writing a custom ajax code according to your project requirements. If you need any further clarifications please let us know.

    Thanks.

You must be logged in to reply to this topic.