New Theme: Siriux Minima Maxima
dj-3plet
Joined: 2005-03-12
Posts: 70 |
Posted: Tue, 2005-10-11 02:27 | |||
Hello, all. I created a new theme called Sirux Minima Maxima is my mod of the most excellent Siriux theme using my Minima Maxima header with G2 image block built in to the header. A demo can be found here: http://www.sapito-family.com/ # Instructions # Please only use one image option for the image block. I like the random image because the site then becomes a sort of gallery-wide slideshow just by clicking on the image block. To change the site name, go to /themes/siriuxmm/templates/theme.tpl and change the link below: <div class="menu"> The theme is optimized for thumbnails that are 120px square thumbnails, so if you don't have 120px square thumbnails, the image block is going to look funny in relation to the rest of the header. To change header image, make one that is 120px tall. The width of the left hand side of the header is determined by the width of the theme, which you can change in G2 site admin > themes > Minima Maxima Siriux. The left hand side of the header is 135px less than the overall width of the theme, so keep that in mind when you make your header image. Name the image header.jpg and upload it to /themes/siriuxmm/images/. If you want to remove the header image (which actually looks good because there is a 1px frame around that area), comment out the css like this: #masthead #hleft { To change the color of the left hand side header, change the background like this: background: #333 //url('images/header.jpg') no-repeat; That's pretty much it! Enjoy and if you have a question, please feel free to email me: triplet_daddy (at) hotmail (dot) com
|
||||
Posts: 1
Hello, i'm a WPG2 newbie !
I'm using Blix theme [WP] and Sirux Minima Maxima theme [G2] ( http://www.bakkers.biz/ )
I have tested several themes but the above mentioned themes are great!
But for a unknown reason (to me) my Blix sitebar ruler doesn't disappear in the wp-gallery2.php
Is Sirux Minima Maxima an add-on for the default theme?
Do i have to install an default theme like Sirux?
Thx
Posts: 70
hi, since you're using the WPG2 plugin, you should post over at the WPG2 forum. you'll get much faster help over there for WPG2 issues. http://wpg2.ozgreg.com/forums
Posts: 14
for some reason this theme - nor the original siriux theme - does not work for me. i don't get any php errors on the page, and the javascript console doesnt say anything either. all i get is poorly formatted text and all the albums in a vertical column (as though the css didn't load properly). I have gallery 2.0.2, and even with a fresh install, it still has problems.
Posts: 1
Beautiful theme! Two quick fixes you may want to apply to your next theme upgrade:
- The directories and files permissions should be set to world readable
- The file "itemlinks.tpl" in the ../siriuxmm/templates/ directory has the word "links" as a capital "L" instead of lower-case
Once I made these changes everything worked well.
Thanks again for your work.
Posts: 128
I like this simplistic theme a lot and wanted to install in for my second gallery, as it would be embedded in an existing website, still i get a lot of errors, it displays everything almost perfectly still gives me this error log at the bottom:
When i load the index page i get this error:
An error has occurred.
Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : Smarty error: unable to read resource: "gallery:themes/siriuxmm/templates/itemlinks.tpl"
* in modules/core/classes/GallerySmarty.class at line 108 (gallerystatus::error)
* in lib/smarty/Smarty.class.php at line 1584 (gallerysmarty::trigger_error)
* in lib/smarty/Smarty.class.php at line 1410 (gallerysmarty::_fetch_resource_info)
* in lib/smarty/Smarty.class.php at line 1859 (gallerysmarty::_compile_resource)
* in modules/core/classes/GalleryTemplateAdapter.class at line 638 (gallerysmarty::_smarty_include)
* in g2data/smarty/templates_c/%%669922609/%%E9^E97^E97CCA98%%album.tpl.php at line 121 (gallerytemplateadapter::theme)
* in lib/smarty/Smarty.class.php at line 1861
* in modules/core/classes/GalleryTemplateAdapter.class at line 638 (gallerysmarty::_smarty_include)
* in g2data/smarty/templates_c/%%669922609/%%91^913^913336E5%%theme.tpl.php at line 67 (gallerytemplateadapter::theme)
* in lib/smarty/Smarty.class.php at line 1251
* in modules/core/classes/GallerySmarty.class at line 90 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 228 (gallerysmarty::fetch)
* in main.php at line 318 (gallerytemplate::display)
* in main.php at line 87
* in main.php at line 80
System Information
Gallery version 2.0.1
PHP version 4.3.0 apache
Webserver Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/4.3.0
Database mysql 3.23.56-log
Toolkits SquareThumb, Gd
Operating system Linux isratrance.com 2.4.18-27.7.xsmp #1 SMP Mon Nov 15 06:55:13 IST 2004 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
When i load a subalbum i get this error:
Error Detail -
Error (ERROR_BAD_PARAMETER) : Smarty error: unable to read resource: "gallery:themes/siriuxmm/templates/itemlinks.tpl"
* in modules/core/classes/GallerySmarty.class at line 108 (gallerystatus::error)
* in lib/smarty/Smarty.class.php at line 1584 (gallerysmarty::trigger_error)
* in lib/smarty/Smarty.class.php at line 1410 (gallerysmarty::_fetch_resource_info)
* in lib/smarty/Smarty.class.php at line 1859 (gallerysmarty::_compile_resource)
* in modules/core/classes/GalleryTemplateAdapter.class at line 638 (gallerysmarty::_smarty_include)
* in g2data/smarty/templates_c/%%669922609/%%E9^E97^E97CCA98%%album.tpl.php at line 121 (gallerytemplateadapter::theme)
* in lib/smarty/Smarty.class.php at line 1861
* in modules/core/classes/GalleryTemplateAdapter.class at line 638 (gallerysmarty::_smarty_include)
* in g2data/smarty/templates_c/%%669922609/%%91^913^913336E5%%theme.tpl.php at line 67 (gallerytemplateadapter::theme)
* in lib/smarty/Smarty.class.php at line 1251
* in modules/core/classes/GallerySmarty.class at line 90 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 228 (gallerysmarty::fetch)
* in main.php at line 318 (gallerytemplate::display)
* in main.php at line 87
* in main.php at line 80
System Information
Gallery version 2.0.1
PHP version 4.3.0 apache
Webserver Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b PHP/4.3.0
Database mysql 3.23.56-log
Toolkits SquareThumb, Gd
Operating system Linux isratrance.com 2.4.18-27.7.xsmp #1 SMP Mon Nov 15 06:55:13 IST 2004 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Posts: 70
i'm attaching a new version that should take care of that problem and also work properly with G2.02.
**edit** uploaded even NEWER version!
Posts: 70
ok, i'm a rock head. i'm having trouble replacing the file. here goes again...
Posts: 128
It appears my problem was caused entirely by an error in ONE filename, where there was a captital that shouldn't be there, as roybot reported just a few messages above mine:
The file "itemlinks.tpl" in the ../siriuxmm/templates/ directory has the word "links" as a capital "L" instead of lower-case
I assume this is fixed in the new version of the theme!
now i can start customising the colors to fit my new design
thanks a lot for this theme, it's simplicity makes it very very interested for embedding into existing sites!
Posts: 128
I have 2 customisation questions i hope you won't mind answering:
-how do i remove the logo at the top of the album index?
-How would i go about changing the position of the album title that is now right of each image? I would like to have it centered just below the album thumbnail
i hope this is the right place to ask!
Posts: 70
1) instructions are at the top of this thread
2) i don't know off hand. i'd have to play with it, but it would mean changing some stuff in theme.css and album.tpl. sorry, there's no quick answer for that and i might not even be able to figure it out. i'm not a css guru by any stretch of the imagination...
Posts: 70
I just recently installed this theme.
Is there a way on the main album (main.php) to show 2 columns with the years? The one column thing is not working for me.
Please advise.
Posts: 70
i'm not sure i understand the question. i think you just need to make the width wider. you can do that in site admin > themes.
Posts: 70
That's not that I want.
I'd like the first main page to have the photos in two columns. I have my main category thumbs 200px wide. That should allow for 2 thumbs to be side by side by year... For ex:
2005 2004
2003 2002
But it's simply doing this:
2005
2004
2003
etc....
Is there a fix for this?
Also can you display the view count somewhere in this theme?
Posts: 70
how about a link to your site so i can see what you're talking about?
Posts: 70
http://tinyurl.com/9zq8m
Thanks so much for the quick reply!
Posts: 70
your theme is currently matrix.
Posts: 70
ok, try now
sorry about that
Posts: 70
you're using the siriux theme, not my adaption of it. however, you could play with this in your css:
.gallery-album {
width: 46%; /* Change to 96% if you want 1 Album per line */
padding-right: 3%;
}
Posts: 70
I acutally just set it up with your Minima Maxima theme. It works in two columns much better than the standard one!
My next question is how to get "Views" to show up under the pictures or somewhere?
Thanks!
Posts: 70
i just played around with it. for some reason, i couldn't get hte item info block to work in albums that do not have children. i'll play around with it a bit more later.
also, you still have the standard siriux installed.
Posts: 70
hmmm... check out the code... the siriuxmm.css is being called up... at least on my end...
i have taken some of the header out though...
Posts: 3
hey, great theme, worked perfectly for my little project thankyou!
was wondering if there is a way to display the number of views uder each photo / album that i have missed?
Posts: 3
. sorry double post .
Posts: 7
Hi Gang,
I am extremely new to Gallery so sorry for the dumb question. I just installed Gallery 2.02. It had the Siriux theme included and I liked it. But I do not like how it changes the administration template. Can you make it so the world sees Siriux but when you log in you can use a different template? Thanks for your help.
Posts: 70
i don't think there's a way to do that. i just sort of put up with it as a necessary evil.
Posts: 7
I found it Boys...... To be honest I think that although the end product looks good the people who developed gallery were not looking for it to be programmer friendly to end developers. Nothing is intuitive… Any how now that you have heard my rant here is what I did to solve my problem…
open this file
gallery2\modules\core\classes\helpers\ GalleryItemHelper_simple.class
Look for this line in “function fetchThemeId($item)”
**********************************************************************
return array(GalleryStatus::success(), $themeId);
**********************************************************************
it is at the very end of the function right before the closing “}”
CHANGE TO
**********************************************************************
/* If user is admin use Matrix theme else use default Theme */
$ret = GalleryCoreApi::assertUserIsSiteAdministrator();
if ($ret->isError()) {
return array(GalleryStatus::success(), $themeId);
}
return array(GalleryStatus::success(), 'matrix');
**********************************************************************
your end code looks like this
**********************************************************************
function fetchThemeId($item) {
global $gallery;
/* Find the right theme for this item */
if (GalleryUtilities::isA($item, 'GalleryAlbumItem')) {
$themeId = $item->getTheme();
} else {
list ($ret, $parent) = GalleryCoreApi::loadEntitiesById($item->getParentId());
if ($ret->isError()) {
return array($ret->wrap(__FILE__, __LINE__), null);
}
$themeId = $parent->getTheme();
}
if (empty($themeId)) {
list ($ret, $themeId) =
GalleryCoreApi::getPluginParameter('module', 'core', 'default.theme');
if ($ret->isError()) {
return array($ret->wrap(__FILE__, __LINE__), null);
}
}
/* No default? We're screwed */
if (empty($themeId)) {
return array(GalleryStatus::error(ERROR_BAD_PARAMETER, __FILE__, __LINE__), null);
}
/* Make sure we have adequate permissions */
$ret = GalleryCoreApi::assertUserIsSiteAdministrator();
if ($ret->isError()) {
return array(GalleryStatus::success(), $themeId);
}
return array(GalleryStatus::success(), 'matrix');
}
*********************************************************************************
You can change “matrix” for any theme you would like. Just use all lower case. There now does any of that seem to be intuitive? What kind of a file/class name is “GalleryItemHelper_simple.class” and why would any one look there to change the theme. If you would have you are a far smarter person than I. Oh yeah this works with Gallerry 2.02 I assume it works with all other versions as well.
Posts: 70
good job! thanks!
Posts: 2
Hi, I was wondering if someone could help me? I am just setting up this site and for some weird reason on the mail gallery page I have a '2006' up at the top of the page under the heading 'Limehouse Pet Photos' and I can't figure out how to get rid of it. I've looked all through the options and can't find where it's getting that from (it only happens with the Siriux or Siriux Minima Maxima Themes) Thanks in advance! Michelle
Here is the page:
http://www.limehousevet.com/photogallery/main.php
Posts: 70
in album.tpl, delete the following:
{* Year separator *}
{if $theme.params.groupByYear}
{capture name=year}{g->date format="%Y" timestamp=$child.originationTimestamp}{/capture}
{if $smarty.capture.year != $currentYear}
<h3 style="clear: both;">{$smarty.capture.year}</h3>
{assign var="currentYear" value=$smarty.capture.year}
{/if}
{/if}
Posts: 2
Thanks!
Posts: 3
Hi, I just installed the siriuxmm theme and love how it looks.
One question:
When looking at thumbnails, is it possible for pictures that have comments to somehow stand out? In the Matrix theme below each thumbnail it shows the date, views, comments, etc. Is there something like that for the Siriux theme?
Thanks for the help!
Posts: 3
Sorry, one more question..
When looking at the members list, some usernames are in bold. Are these members currently online looking at the pictures?
Thanks!
Posts: 70
sorry, but those are both siriux questions. i think the answer is no for both but those questions should be asked over on the customization forum.
for your 2nd question, i know that some lists i the admin section are every other line bolded - see maintenance tasks as an example.
Posts: 3
thanks!
Posts: 4
I am using the same base template you used (siriux). What I can't figure out is how to put images into columns. I have seen threads on this but they don't really make sense with what I am doing. I tried modifieng your code but got the capital letter error everytime, when I fixed that the tumbnails went back into columns so I switched back to my original. Any help with geting them into 3 columns would be greatlly appreciated. Here is the link to my gallery if you want to look at it. http://www.phatasscycles.com/gallery/
Robby
Posts: 70
it looks like your layout css is completely missing. look in theme.tpl and make sure your stylesheet link is good. this is what shows up when i view source (this is the entire head):
Posts: 4
Okay, I got that to work and I greatlly appreciate it. Now the only thing I want to do is bring the gallery description from the bottom of the page to the top. Is that in the include file or other? Also, how would I go about moving it up? www.phatasscycles.com/gallery
Robby
Posts: 70
looks like you got it working.
Posts: 4
Yeah, I don't really know this programing language so it's hit or miss. I appreciate you taking a look. I could use help lining up my album thumbnails with their title below them. Any insight as to where I should look in order to do this? I've tried moving things around in album.tpl as well as theme.css. I figure it is somewhere in the css file.
http://www.phatasscycles.com/gallery/
Robby
Posts: 6
Please update Sirux Minima Maxima for Gallery 2.1!
Posts: 1
I had the siriuxmm theme working up until now. Today I upgraded to version 2.1 of Gallery the update went fine told me that some modules were not compatible and that I needed to fix this. After that no more warnings about incompatebility. Until I wanted to see my updated Gallery. Now I get this message:
Configuration Error: Missing Theme
Missing Theme
This album is configured to use the siriuxmm theme, but it is either inactive, not installed, or incompatible. To fix this problem you can install or activate this theme or select another default theme.
I went in to the site admin to select another theme, but infortunatly I cannot get the 'old' albums to change to this new theme.
Site admin on themes tells me this:
Siriux.net Gallery theme skinned with Minima Maxima header (siriuxMM)
Niet compatibele thema! (non compatible theme)
Core API Vereist: 6.5 (beschikbaar: 7.3) (core API needed 6.5 (available 7.3))
Thema API Vereist: 2.0 (beschikbaar: 2.3) (theme API needed 2.0 (available 2.3))
Is there someone who can get the siriuxmm theme to version 2.1 or help me getting my albums back in another theme.
Thank you all in advance for the support.
Bernard