Two new Matrix sites
In a previous post I had talked about getting new hosing with Slice Host. I finally have Matrix up and running, and I am hosting two sites so far on that install. The first is my personal site (nnhubbard.com), which is just an online gallery of personal photos.
I am also using the gallery as a testing site to build an advanced photo gallery similar to Gallery 2, which I used to use. I have already ran into two issues that I am trying to figure out solutions to. The first is using paint layouts with conditional keywords for each image (sounds easy, but more complicated than you think). The second is allowing commenting for file based assets. I think that the second issue is an even bigger problem, as you cannot create comment assets under an image, for obvious reasons, so I have to come up with some alternative solution. Right now, I am racking my brain trying to come up with ideas. Since I am using the GPL version, I can't try any tricks with the search asset...I will keep updating about that.
Update: I have worked out a solution to the commenting on images problem. First, each comment asset has an imageID metadata field. Using the asset builder for the comment, the images ID is appended to the form, and submitted, so that the comment has an association with the image that the comment is about. Then, using an asset listing, with grouping by metadata, I set it up so that it would group based on the imageID. So, for each image, there will be a set of comments associated with this. These comments are created in the images parent folder. Then, using jQuery, all image groups are hidden, and only the current imagesID group is shown.
$(document).ready(function(){
//Add input field into comments asset builder
$("p#hiddenMeta").append("<input type=\"hidden\" name=\"
metadata_field_text_2630_value\" value=\"%asset_assetid%\"
size=\"30\" class=\"sq-form-field\" id=\"metadata_field_text_2630_value\" />");//Hide all comment groups
$('.commentGroup').hide();
//Show only current image id's group
$('#a%asset_assetid%').show();
});
This solves my problem for now, until a Matrix solution is added.
My second site is for my side business, Zed Said Studio. The site is still under construction, but I am working on finishing it up as soon as I get the time. I don't have too much work for my side business right now, as PUC keeps me so busy. But I do have 2 jobs coming up for companies in the Napa Valley.

