Topic: Simple Gallery plugin
Note: You need bootstrap framework and jquery.
Instructions:
You are not logged in. Please login or register.
Note: You need bootstrap framework and jquery.
Instructions:
nakome, in Morfy 1.0.1 you can use such hooks
theme_meta theme_header theme_footer
Please check default theme
Ok i update the code.
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.
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 !
This is very interesting ![]()
_____________
vrati, врати за мазета, монтаж врати
Bump please ![]()