-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
15 lines (9 loc) · 1000 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Mephisto Gallery Plugin
by: Carter Parks ([email protected])
=========================================
This plugin allows you to incorporate photo galleries into your Mephisto blog/CMS. Its built to use engines compatible mephisto available in the current mephisto edge (see CHANGELOG for more revision details)
To install this plugin, run:
script/generate plugin_migration
rake db:migrate RAILS_ENV=production
This will make some changes to your production database and will expose a new Gallery tab to your Mephisto administration interface. From here you can create new albums, add photos, etc.
http://yoursite.com/gallery will show the gallery pages. The gallery.liquid template is rendered with your layout.liquid layout to show lists of albums and the album.liquid template is rendered to show thumbnails. I've included examples in the templates folder. These should be copied to your /themes/site-id/themename/ folder (naturally you'll want to modify these to fit your site design)