DEMO SITE v1.7.26

Modal and buttons Bootstrap theme

Modal() can show full value of separate cell in modal window. Additional buttons can be added in buttons columns. Button() method supports {field_tags}

HIDE CODE
<?php
    $xcrud = Xcrud::get_instance();
    $xcrud->table('gallery');
    $xcrud->modal('image,description');
    $xcrud->change_type('image', 'image', false, array(
        'width' => 450,
        'path' => '../uploads/gallery',
        'thumbs' => array(array(
                'height' => 55,
                'width' => 120,
                'crop' => true,
                'marker' => '_th'))));
    $xcrud->button('index.php?page=modal_and_buttons&theme=bootstrap', 'bootstrap theme');
    $xcrud->button('index.php?page=modal_and_buttons&theme=default', 'default theme');
    echo $xcrud->render();
?>

Gallery

#ImageTitleDescriptionActive
Actions
1Big TreeNo bootstrap theme default theme View Edit Remove
2Nunc congue facilisis bibendum. Fusce mollis elitNo bootstrap theme default theme View Edit Remove
3Cras quis quam quis est interdum suscipit. Ut…No bootstrap theme default theme View Edit Remove
4Duis elementum facilisis massa quis rhoncus.Yes bootstrap theme default theme View Edit Remove
5Nulla lobortis, velit ut aliquet commodo, purus…No bootstrap theme default theme View Edit Remove
6Maecenas volutpat commodo ante, a porta metus…No bootstrap theme default theme View Edit Remove
Search Execution time: 0.004 sMemory usage: 0.19 MB