I developed a few plugins for Mephisto and put them up on github
today. I'd love it if others would check them out, use them on their
sites, and send me feedback if necessary. Both of these plugins were
built using the engines plugin model.
This is a more complicated plugin that adds the ability to create
photo galleries that are implemented using the Slideshow 2 Javascript
class. Galleries are also able to be placed in categories. I'm
currently using this code in two clients' websites: www.tarawhittaker.com and www.tidepoolreps.com, and I am pleased with it so far.
This Google Group has helped me immensely with learning the ins and
outs of developing with Mephisto, and I'm happy to be able to give
something back to the community.
I'm currently using the asset description as part of the slideshow, so
the example code I have wouldn't make a lot of sense unless you knew
how the Javascript slideshow code worked. However, I could see other
uses for the asset description. For example, if assets are attached
to articles then it would be easy to create a layout where the asset
description worked as a caption for the asset. In your liquid
template file, it's as easy as putting in code such as:
<p>{{ asset.description }}</p>
Hope this helps,
Davy
On Jun 10, 11:22 am, Bryan <haccont...@yahoo.com> wrote:
> I'm currently using the asset description as part of the slideshow, so
> the example code I have wouldn't make a lot of sense unless you knew
> how the Javascript slideshow code worked. However, I could see other
> uses for the asset description. For example, if assets are attached
> to articles then it would be easy to create a layout where the asset
> description worked as a caption for the asset. In your liquid
> template file, it's as easy as putting in code such as:
> <p>{{ asset.description }}</p>
> Hope this helps,
> Davy
> On Jun 10, 11:22 am, Bryan <haccont...@yahoo.com> wrote:
> > Hi Davy, Could you post some example code from a design/template of
> > the asset description being used?
> > Thanks,
> > Bryan
> > On Jun 10, 6:09 am, Dan Lynn <DanielKeithL...@gmail.com> wrote:
Hi Davy! Don't ask me why, but it seems that I couldn't make the
slideshow_gallery plugin to work on mephisto 0.8.2 without taking the
following steps, so I am adding those here with the hope that anyone
else running into these kind of issues could easily fix those, this is
what i did (it actually seems that it didn't copy the required files
by default to their location):
* manually copied all files in install.rb to their location
* edited gallery.liquid line 23 '{{ asset.gallery_path}}' to be
'{{ asset.path}}'
* added the css and images into my theme by:
- creating a new template (slideshow.css)
- reset path on images to be ../images/myimage.png or .gif
- upload those images
- added the slideshow.css to my layout
now it works like a charm! So thanks again for your great plugin, also
I am using your asset_description plugin to generate captions this
way:
I am curious about one thing, have you tried to integrate lightbox
with the gallery? I mean, would it be possibile to modify the js or
insert some kind of rel : 'lightbox' tag to make it work with
lightbox.js?
On Jun 11, 11:18 pm, Bryan <haccont...@yahoo.com> wrote:
> Hi Davy, I was interested in using it for both a caption and a
> possibly the image alt tag.
> I'll take a look at it.
> Thanks,
> Bryan
> On Jun 10, 2:01 pm, Davy <davy.steven...@gmail.com> wrote:
> > Hi Bryan,
> > I'm currently using the asset description as part of the slideshow, so
> > the example code I have wouldn't make a lot of sense unless you knew
> > how the Javascript slideshow code worked. However, I could see other
> > uses for the asset description. For example, if assets are attached
> > to articles then it would be easy to create a layout where the asset
> > description worked as a caption for the asset. In your liquid
> > template file, it's as easy as putting in code such as:
> > <p>{{ asset.description }}</p>
> > Hope this helps,
> > Davy
> > On Jun 10, 11:22 am, Bryan <haccont...@yahoo.com> wrote:
> > > Hi Davy, Could you post some example code from a design/template of
> > > the asset description being used?
> > > Thanks,
> > > Bryan
> > > On Jun 10, 6:09 am, Dan Lynn <DanielKeithL...@gmail.com> wrote:
Great! Thanks for finding that bug in the gallery.liquid file -- I
have updated the file on my github account. I'm not exactly sure why
the install.rb file didn't work -- definitely odd.
And yes, using the asset_description plugin to add captions is a great
idea. It was something I had thought about doing in the past, but
none of the sites in which I'm using the slideshow_gallery plugin
needed them.
I haven't tried integrating lightbox, however I don't think it would
be that difficult. In fact, I found this link on the Slideshow 2!
site which describes integrating lightbox into the javascript
slideshow library.
> Hi Davy! Don't ask me why, but it seems that I couldn't make the
> slideshow_gallery plugin to work on mephisto 0.8.2 without taking the
> following steps, so I am adding those here with the hope that anyone
> else running into these kind of issues could easily fix those, this is
> what i did (it actually seems that it didn't copy the required files
> by default to their location):
> * manually copied all files in install.rb to their location
> * edited gallery.liquid line 23 '{{ asset.gallery_path}}' to be
> '{{ asset.path}}'
> * added the css and images into my theme by:
> - creating a new template (slideshow.css)
> - reset path on images to be ../images/myimage.png or .gif
> - upload those images
> - added the slideshow.css to my layout
> now it works like a charm! So thanks again for your great plugin, also
> I am using your asset_description plugin to generate captions this
> way:
> I am curious about one thing, have you tried to integrate lightbox
> with the gallery? I mean, would it be possibile to modify the js or
> insert some kind of rel : 'lightbox' tag to make it work with
> lightbox.js?
> On Jun 11, 11:18 pm, Bryan <haccont...@yahoo.com> wrote:
> > Hi Davy, I was interested in using it for both a caption and a
> > possibly the image alt tag.
> > I'll take a look at it.
> > Thanks,
> > Bryan
> > On Jun 10, 2:01 pm, Davy <davy.steven...@gmail.com> wrote:
> > > Hi Bryan,
> > > I'm currently using the asset description as part of the slideshow, so
> > > the example code I have wouldn't make a lot of sense unless you knew
> > > how the Javascript slideshow code worked. However, I could see other
> > > uses for the asset description. For example, if assets are attached
> > > to articles then it would be easy to create a layout where the asset
> > > description worked as a caption for the asset. In your liquid
> > > template file, it's as easy as putting in code such as:
> > > <p>{{ asset.description }}</p>
> > > Hope this helps,
> > > Davy
> > > On Jun 10, 11:22 am, Bryan <haccont...@yahoo.com> wrote:
> > > > Hi Davy, Could you post some example code from a design/template of
> > > > the asset description being used?
> > > > Thanks,
> > > > Bryan
> > > > On Jun 10, 6:09 am, Dan Lynn <DanielKeithL...@gmail.com> wrote: