This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Support Team 1 year, 7 months ago.

  • Author
    Posts
  • #9109

    Support Team
    Keymaster
    Post count: 728
  • #9105

    zumer
    Participant
    Post count: 2

    Hi, I just installed your crud platform. However, the theme is not like the one it should look like. I have checked the css file, they seemd to be loading properly.

    Note: all functionalities seems to be ok. and I have installed it to subdirectory.

    thanks in advance

  • #9106

    zumer
    Participant
    Post count: 2

    Just have discovered that theme for those part loads properly: products,customers, orders, films, multigrids. However, for the rest it doesnt.

  • #9111

    Support Team
    Keymaster
    Post count: 728

    Hey there you need to use sample code :

    public function employees_management()
    {
    $this->config->load(‘grocery_crud’);
    $this->config->set_item(‘grocery_crud_dialog_forms’,true);
    $this->config->set_item(‘grocery_crud_dialog_color’,’unique-color’);
    $this->config->set_item(‘grocery_crud_dialog_text_color’,’white’);

    $crud = new grocery_CRUD();

    $crud->set_theme(‘mdb’); // magic code
    $crud->set_table(’employees’)
    ->set_subject(‘Employee’)
    ->columns(’employeeNumber’,’firstName’,’lastName’,’email’,’officeCode’,’jobTitle’)
    ->set_relation(‘officeCode’,’offices’,’city’);

    $crud->display_as(’email’,’E-Mail’)
    ->display_as(’employeeNumber’,’ID’)
    ->display_as(‘firstName’,’Name’)
    ->display_as(‘lastName’,’Last Name’);

    $crud->required_fields(‘firstName’,’lastName’);

    $crud->add_fields(‘firstName’,’lastName’,’email’,’jobTitle’, ‘officeCode’);

    $crud->unset_bootstrap();

    $output = $crud->render();

    $this->_example_output($output);
    }

    and implement in to your Grocery CRUD. Also if you can sent your platform info such as FTP info, we can help better to you. here is the our contact form https://themeofwp.com/contact/

    Thanks
    Kevin J.

You must be logged in to reply to this topic.