Topic: Simple Gallery plugin

Download Here

Note: You need bootstrap framework and jquery.

Instructions:

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

Re: Simple Gallery plugin

Good Job )

Monstra Loves You! Give some love back!

Re: Simple Gallery plugin

nakome, in Morfy 1.0.1 you can use such hooks

theme_meta
theme_header
theme_footer

Please check default theme

Monstra Loves You! Give some love back!

Re: Simple Gallery plugin

Ok i update the code.

Download New version


Instructions:

Activate plugin in config.php file  and add directory of images like this:

<?php
    return array(
        'site_url' => 'http://localhost/morfy',
        'site_charset' => 'UTF-8',
        'site_timezone' => 'Europe/Brussels',
        'site_theme' => 'default',
        'site_title' => 'demo',
        'site_description' => 'demo site',
        'site_keywords' => 'javasccript',
        'email' => 'nakome@gmail.com',
        'gallery_img_folder' => 'themes/default/img', // Folder of images
        'plugins' => array(
            'markdown',
            'sitemap',
            'discus',
            'gallery' // Activate gallery
         )
    );

 
And now only need put this code <?php echo Morfy::factory()->runAction('gallery'); ?> in html.

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

Re: Simple Gallery plugin

Hi nakome,

Thank you for this plugin, but is it possible to add more gallery without duplicating the plugin?


example:

<?php echo Morfy::factory()->runAction('gallery','themes/default/gallery1'); ?>
<?php echo Morfy::factory()->runAction('gallery','themes/default/gallery2'); ?>

Thank !

6 (edited by Igorvach 2014-06-18 18:09:17)

Re: Simple Gallery plugin

This is very interesting smile
_____________
vrati, врати за мазета, монтаж врати

Re: Simple Gallery plugin

Bump please sad