Nov
25
It was brought to my attention today by a SkyBlueCanvas user that I neglected to include good instructions for installing the Portfolio and Galleria extensions. I apologize for the inconvenience. My excuse is that developing and delivering an open source project is a lot of work and all too often, the documentation is the last thing to get attention. We are working on correcting this problem.
In the mean time, here are some detailed instructions on how to install the Galleria Extension. The same instructions, with some very minor differences, also apply for the Portfolio Fragment (frag_portfolio).
This will look a bit daunting at first glance, but it is really not difficult. I have full confidence in anyone’s ability to install the extension. If you do as I ask you to, step-by-step, you will have the extension installed in no time.
Let’s get started
Here is how to set up the Portfolio extension, step-by-step:
- First, download ext_galleria.zip from the Downloads page: Download
- Un-zip the frag_portfolio.zip file to your computer
- Copy /ext_galleria/manager/portfolio/ to /your_skyblue_root/managers/
If you already have the Portfolio Manager installed, you can skip this step.
- Go to /your_skyblue_root/data/skins/techjunkie/ and copy skin.text.html to your skin directory. Name the new file skin.portfolio.html.
Note
If you are using the techjunkie skin, just copy the skin.text.html file to the same directory.
- Leave this page as-is for now (we will come back to it)
- Go to Admin > Pages and create a new page and do the following:
- Click the Meta Data tab
- Give your page a name
- Set the Page Type to ‘portfolio’
- Fill in the other fields on the form as appropriate for your site
- Click Save
Ok, this part is a bit tricky:
- Go to /your_skyblue_root/data/skins/your_skin/ and create a new directory named fragments
- Go to the ext_gallery package you downloaded, and copy the Portfolio fragment (smoothgallery, lightbox or thickbox) you want to use to /your_skyblue_root/data/skins/your_skin/fragments/
Note
Be sure to read the instructions included with each fragment carefully
- Go back to skin.portfolio.html and look for the line that reads:
<!--#plugin:fragment(page,view)-->
and change it to match the portfolio fragment you installed.
For SmoothGallery: <!--#plugin:fragment(portfolio,smoothgallery)--> For LightBox: <!--#plugin:fragment(portfolio,lightbox)--> For ThickBox: <!--#plugin:fragment(portfolio,thickbox)-->
- Go to Admin > Collections > Plugins and make sure the following plugins are enabled:
- plugin.parser.php
- plugin.fragments.php
Now all you need to do is add items to your portfolio in Admin > Collections > Gallery.
Comments
4 Responses to “Installing Portfolio Extension for SkyBlueCanvas v1.1 RC1”
Leave a Reply
Helo
I’ve installed correctly the portfolio extension but i need include different photos in each page of the website. With this extension I show the same photos in all pages of me site. How can I do it?
Thank’s
David,
Unfortunately, I don’t believe there is a way to do what you want with the current configuration. You would have to modify the code to get it to display different images depending on the page. I don’t know how complex a task this may or may not be.
Sorry.
Scott
Any idea if the Portfolio add on can accomodate more than just a gallery display? I am curious if things like custom fields (name of site, website url, description, etc..) can be created on the new Portfolio Page. Is this possible?
Adding extra fields would require modifying the Gallery Manager and the Portfolio fragments. It can be done but it requires PHP coding.