Carbon Theme

rschwarz_jr

Joined: 2005-09-19
Posts: 6
Posted: Thu, 2006-07-27 16:02
Quote:
I'm getting an error on the new release (Carbon 1.1 for Blackjack):

Fatal error: Call to undefined function: preloadblock() in /home/.irma/johnuibel/johnuibel.com/gallery2/themes/carbon/theme.inc on line 214

any ideas on what i need to do to set this right?

Thanks

John

Did this ever get fixed?

I have the same problem.

Robert D Schwarz

 
sfstudios

Joined: 2006-07-26
Posts: 5
Posted: Fri, 2006-07-28 00:48

Ok this is to anyone that may be able to help....

My site is [url]www.sfstudios.net/gallery2[/url]

I am trying to accomplish two things...

1.I would like my logo to to bear a link to my index.html @ [url]www.sfstudios.net[/url]. (So you can click on it to get to my home page) Where do I make the correct changes?

2. I would like to add a link to the home page at the end of the page description in my galleries. Can this be done via the side bar? If not, what do I get into to make those changes and the syntax? <Edit>...I had the wrong syntax in there...http:// goes before the www.....

Thanks!

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Fri, 2006-07-28 07:49
Quote:
1.I would like my logo to to bear a link to my index.html @ sfstudios.net. (So you can click on it to get to my home page) Where do I make the correct changes?

For logo, you should change theme.tpl file. Normally it doesn't have any link but you can add one easily.

Quote:
2. I would like to add a link to the home page at the end of the page description in my galleries. Can this be done via the side bar? If not, what do I get into to make those changes and the syntax? <Edit>...I had the wrong syntax in there...http:// goes before the www.....

You can do it using the side bar, "Edit Album". I think you can use BBCode for link.

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
sfstudios

Joined: 2006-07-26
Posts: 5
Posted: Sat, 2006-07-29 15:27

Mincel, THank you for the help and the theme!

 
ajgnet

Joined: 2006-07-27
Posts: 4
Posted: Sat, 2006-07-29 16:59

Thanks mincel for creating the most incredible theme ever. I posted a thread on this in the customizations forum; but perhaps it's best to ask here since this is the theme I am using. How could I implement javascript preloading of the next image? It seems like that would greatly increase browsing performance.

 
tonglaji

Joined: 2006-05-18
Posts: 12
Posted: Sat, 2006-07-29 17:26

ajgnet, you might be intested in this thread: http://gallery.menalto.com/node/51337. To me, if mincel could take on the challenge and add ajax to the already perfect layout, carbon would be perfect.

 
EricinSF

Joined: 2006-07-05
Posts: 21
Posted: Sun, 2006-07-30 02:37

Hi - first off, great GREAT theme - your hard work shows and is appreciated!

My issue:

search box not working right when displayed on an album or photo page

When I initiate a search from the Sidebar, it works fine, but when I type in a search term from a search box on an album or photo page, I get a popup asking me to "Please enter a search term."

If I hit "Advanced Search" from an album or photo page, I can search.

Feel free to try it yourself:

http://www.plantworld.org/gallery2/

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Sun, 2006-07-30 06:29
Quote:
My issue:

search box not working right when displayed on an album or photo page

When I initiate a search from the Sidebar, it works fine, but when I type in a search term from a search box on an album or photo page, I get a popup asking me to "Please enter a search term."

If I hit "Advanced Search" from an album or photo page, I can search.

You are right EricinSF. If there are more than one search box on a page then gallery puts the same JavaScript twice. When you try to search one of the JavaScripts fails. I will check if this issue is related to the theme, but probably not. Could you please report the same issue to "Troubleshooting and Problems". Thanks for reporting!

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
atx

Joined: 2006-07-29
Posts: 1
Posted: Sun, 2006-07-30 11:14

Hi,

my fault, I downloaded the wrong version of the theme (for Gallery 2.0).
carbon-1.1.1 works fine on Gallery 2.2.

Quote:
I would like to use the theme with Gallery 2.2:
Error msg.:

Incompatible plugin! 
Core API Required: 6.5 (available: 7.10) 
Plugin API Required: 2.1 (available: 3.2)

System info:

Gallery version = 2.2-svn core 1.1.14 
PHP version = 4.3.11 apache2handler 
Webserver = Apache/2.0.53 (Fedora) 
Database = postgres7 , lock.system=flock

Is it very complex to port the theme to Gallery 2.2?

thx

atx

 
speedenator

Joined: 2004-12-14
Posts: 30
Posted: Mon, 2006-07-31 08:46

I'm also having problems with pagination on sub-albums using Carbon and the latest SVN (just upgraded today in case I missed something). The workaround above is in, but doesn't appear to fix the problem. Things work fine with the other themes, so I'm thinking it's a problem with what Carbon uses for its themeUrl?

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Mon, 2006-07-31 09:39

I haven't tested the theme with Gallery 2.2 and I'm not going to test it until a beta version is released.

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
ajgnet

Joined: 2006-07-27
Posts: 4
Posted: Mon, 2006-07-31 17:04

I'd like to modify Carbon to support image preloading by adding some javascript to:

<div class="buttonNext"><a href="{g->url params=$theme.navigator.next.urlParams}" title="Next"></a></div>
in navigator.tpl

I see that {g->url params=$theme.navigator.next.urlParams} fetches the url of the next page; but is there an easy way to fetch the image from the next page using $theme.navigator.next? Is there a variable here that I can access?

Thanks for your help!

 
skiller2k1

Joined: 2006-03-18
Posts: 6
Posted: Wed, 2006-08-02 14:56
mincel wrote:
I haven't tested the theme with Gallery 2.2 and I'm not going to test it until a beta version is released.

Hi mincel,

the problem of the page number links is caused by the theme API change:

http://codex.gallery2.org/index.php/Gallery2:API_Changes_Since_The_Last_Release

Are you sure you won't look at the changes there? My "fix" only work for page numbers. There's the same problem with previous/next and first/last buttons, too, which i can't fix, because i don't know how.

Thank you very much!

Greetings
Michael

 
michalz

Joined: 2006-07-28
Posts: 3
Posted: Fri, 2006-08-04 12:11

Hi,

i have install carbon and i have problem when i have more than one page.

When i clik on to number of page ( eg. Page: 1 2 3 ) i have redirect to Home page of my gallery.
Because i have link http://.../gallery2/main.php?g2_page=2 ;(
in other theme link is ok. and redirect to selected page ?
What i do wrong ?

THX
MichalZ

 
blt

Joined: 2006-07-27
Posts: 3
Posted: Sat, 2006-08-05 22:49

ok, pals, did it.. and sorry mincel for hacking your great theme

so here is a solution:

you have to put following line somewhere at the beggining "case VIEW_TYPE_SHOW_ITEM" section in theme.inc

$theme['pageUrl'] = array('view' => 'core.ShowItem', 'itemId' => $item->getId());

for example:
case VIEW_TYPE_SHOW_ITEM:
$this->_cacheablePage = true;
$session =& $gallery->getSession();
$theme['pageUrl'] = array('view' => 'core.ShowItem', 'itemId' => $item->getId());

if ($session->get('theme.guestPreviewMode')) {
$theme['guestPreviewMode'] = 1;

enjoy

i'm waiting for final 2.2 and uthorized carbon fix, best wishes to author

 
skiller2k1

Joined: 2006-03-18
Posts: 6
Posted: Sun, 2006-08-06 00:10
blt wrote:
you have to put following line somewhere at the beggining "case VIEW_TYPE_SHOW_ITEM" section in theme.inc
$theme['pageUrl'] = array('view' => 'core.ShowItem', 'itemId' => $item->getId());

Thank you very much, blt! It works ;)

And big thanks to the theme author for the best Gallery2 Theme ever..

Greetings
Michael

 
blt

Joined: 2006-07-27
Posts: 3
Posted: Sun, 2006-08-06 17:12

found one more incompatibility when added random image module to album and photo page, then link under image is wrong http://....../Array

i tried to patch theme but for a while didn't find a solution, so made modification to ImageBlockHelper.class

just find

$ImageBlockData['link'] = isset($params['link']) ? $params['link'] : '';

and add new line after

$ImageBlockData['link'] = ''; /* modified, remove after theme update */

if someone found what to change in carbon theme to fix that, please write a post :)

best regards
blt

 
doctormord
doctormord's picture

Joined: 2005-01-26
Posts: 63
Posted: Tue, 2006-08-08 14:36

Hi,

it seems like the skin dont work anymore with G2.2 SVN Core 1.1.14.

The Navigation-Next results in a /main.php?g2_page=2 and directs back to the mainpage with a "302".

http://www.n0t.de | the underground image ressource

 
luvdodo

Joined: 2005-10-20
Posts: 20
Posted: Wed, 2006-08-09 03:27

By far, the best theme mincel!! Keep up the good work!!! I just moved from the PGTheme.

All working fine, need to customize couple of things -

1) Where is the logo file based so that I can modify?
2) What's that killer font you used for the logo?
3) IS there a cutomization documentation?
4) The microthumbs - can we do a faded effect on hover mode on them?

Thank you,

Dodz.

 
mikblik

Joined: 2006-06-20
Posts: 34
Posted: Wed, 2006-08-09 06:54

luvdodo,

Your questions 1 and 2 have already been answered in this thread. You just need to browse or search through it.

Mikhail
http://www.beastsandbotanicals.com

 
blt

Joined: 2006-07-27
Posts: 3
Posted: Wed, 2006-08-09 18:01

doctormord: Read The F** Posts, answer for your problem is even on the same page :\

 
doctormord
doctormord's picture

Joined: 2005-01-26
Posts: 63
Posted: Wed, 2006-08-09 18:49

Hi blt,

thanks for the comment. I found the solution already some posts before. ^^

Sorry for being a dumb***..

Cheers doc

http://www.n0t.de | the underground image ressource

 
apeironian

Joined: 2004-11-15
Posts: 32
Posted: Wed, 2006-08-09 20:22

blt,

Thank you for your contributions!

Could a similar fix exist for the DHTML links used for navigation (I use them in the sidebar)? These links are behaving funny as well for me. Also, the only imageblock I can get to work currently is the Random Image - Others just show up as random image (even if set to recent image, etc.). I think this last thing might be a bug in the most recent SVN state of gallery (someone else also complained of this in the Troubleshooting forum). Here is my info:

Gallery version = 2.2-svn core 1.1.15
PHP version = 4.4.2 cgi
Webserver = Apache/2.0.54 (Unix) PHP/4.4.2 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.1.4
Database = mysql 5.0.18-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, NetPBM, SquareThumb, Thumbnail, Gd, ImageMagick, Ffmpeg, LinkItemToolkit
Acceleration = partial/900, partial/900
Operating system = Linux jerky 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+++opt+c6+gr2b-v6.192 #1 SMP Wed Dec 14 17:06:16 PST 2005 i686
Default theme = carbon
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6

Thanks!

 
dlowrey

Joined: 2003-07-03
Posts: 24
Posted: Thu, 2006-08-10 01:58

The photo "Owner:" field is always printed to the right of the photo, wether or not the check box is checked in the Carbon options...

 
pisi

Joined: 2006-07-24
Posts: 1
Posted: Thu, 2006-08-10 08:26

dlowrey, I have the same issue, but I think that isn't related Carbon. It is related to Gallery, you can test it with Matrix theme you will see the same. The check box in the options disables owner of photos in album view.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2006-08-10 10:18

Authors of Gallery changes the modules/core/templates/blocks/Pager.tpl as follows:

From:

<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$theme.item.id`" arg3="page=`$page-1`"}">{$page-1}</a>

To:

<a href="{g->url params=$theme.pageUrl arg1="page=`$page-1`"}">{$page-1}</a>

If i change back to the old Version of this file, the links to the Pages are correct.

that's exactly wha has to be changed in the theme templates aswell - if you change the Core files, you will have to change it on every update of the core - and - you loose the funtionality which this change allows, the dynamic albums for rating and keywords to link to the specific item and not only the album they are in.
That's what I did eg. for PGtheme - a near relative to Nature if I can say so :)

CU
Lutz

Gallery version = 2.2-svn core 1.1.15
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.22-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de

 
damaso

Joined: 2006-08-08
Posts: 6
Posted: Fri, 2006-08-18 03:22

Great work mincel, we value your contribution!

I was wondering if anyone knew how to make the slider appear automatically in both the gallery and the photo pages. I would like it to be there without having to click on the button as many of the people visiting my site won't be savvy enough to figure it all out. Thanks in advance!!!!!

http://theeuropeans.net/gallery2/main.php?g2_itemId=113

 
damaso

Joined: 2006-08-08
Posts: 6
Posted: Tue, 2006-08-15 20:51

I just installed the hoverbox and it is very cool, thanks for the tip!

 
catfang

Joined: 2006-03-30
Posts: 2
Posted: Thu, 2006-08-17 15:44

I have a couple of issues I've never been able to sort out. On one of my sites (http://www.tomascak.com/andy/gallery/main.php) I can't seem to get the theme to use all of the available screen space. You can see this if you open the browser window large enough. Also, I'd like to get rid of the left column with the description and maybe have that as a header instead. The reason I want this is because I use gallery embedded in WordPress. As seen here (http://www.tomascak.com/andy/wp-gallery2.php), it looks terrible since it doesn't use all the available space. Can anyone help me make this look good? The subdirectories that hold the actual pictures don't look very good embedded either, but I'm at a loss on how to fix it.

 
damaso

Joined: 2006-08-08
Posts: 6
Posted: Fri, 2006-08-18 03:21

I just went through the same process for your second question, you have to delete a small section (like two lines of code) in the Album.tpl which refers to showtitle. Sorry I can't be more specific, I am new to all this just check out that file and I am sure you will see what to delete....

 
zer0dmb

Joined: 2006-08-15
Posts: 5
Posted: Fri, 2006-08-18 05:30

I am also wondering about damaso's question above. Is there a way to make the sidebar static, or just automatically appear. Unfortunately, I feel like some of my users will not figure this out on their own and it would be great if it would automatically be there. I combed through the .tpl files, but I don't want to make pointless changes. Thanks in advance for any help.

I echo the previous statements, great theme here Mincel, appreciate your hard work.

/zer0

 
mikblik

Joined: 2006-06-20
Posts: 34
Posted: Fri, 2006-08-18 06:57

Another option is to make the button for the slidebar more explicit. I am not a big fan of "ultra-modern" websites that make you figure out what all those little icons do - most people don't. Here's what I did:
beastsandbotanicals.com
Mikhail

 
dark

Joined: 2006-08-18
Posts: 3
Posted: Fri, 2006-08-18 14:52

Carbon Theme is wonderful ! Can just someone point me to the correct file where to add a border to picture/thumbnail/album?

www.dark-cz.com - Carbon theme example

 
luvdodo

Joined: 2005-10-20
Posts: 20
Posted: Fri, 2006-08-18 17:39

Dark

Login as Admin, access "Site Admin".

On the left options, choose "Themes"

Go the "Carbon" Theme tab.

Change the Album/Item/Photo Border settings.

Is this what you wanted?

Thank you,

Dodz.

 
luvdodo

Joined: 2005-10-20
Posts: 20
Posted: Fri, 2006-08-18 18:02

Can someone tell me where do I go and modify the code to add more links on the top right corner? (where you see login, Register, Site Admin etc)

Also, on an album page, the text is to the left and thumbs are to the right. Is there a way to interchange this?

Thank you,

Dodz.

 
dark

Joined: 2006-08-18
Posts: 3
Posted: Fri, 2006-08-18 18:09

luvdodo: Thanx for the reply, the basic problem was I did not have the ImageFrame module installed.

All fixed by now, gotta play a bit with background color but frames are working fine :)

 
damaso

Joined: 2006-08-08
Posts: 6
Posted: Fri, 2006-08-18 20:44

Does anyone have google maps loaded onto Carbon? I set it up but can't get the map to display except in the Admin function which tests it....

 
hmobron

Joined: 2006-05-30
Posts: 6
Posted: Tue, 2006-08-22 10:05

Hello there,

I have a problem whit the decription on the photo.tpl. The block Title, date, owner and description is some times totaly right on the screen, http://gallery.opdefoto.net/gallery2/v/wiskita/titels/Sarina.JPG.html

And sometimes, the way we like it, down under the tumbails: http://gallery.opdefoto.net/gallery2/v/wiskita/titels/sized_DSC_0851-1.JPG.html

Difrrent images sizes don't help.

Any help welcome.

Found the solution. Add a extra <br> on line 99 off photo.tpl

 
antirisk

Joined: 2006-08-19
Posts: 2
Posted: Sat, 2006-08-19 18:32

i'm new to gallery and to html/css too. i use Carbon theme and it's absolutely fantastic and very understated.

i use the resized image drop down so user could see different sizes. but the drop down box displays in white, which does not suit the theme. how to make is gray background with white text to match the theme? or better yet, how to create links in the top or bottom nav bar of the image to include direct links to different sizes (like the full size link on top of the image)?

Thanks. Keep up the fantastic work mincel.

 
feeble

Joined: 2005-11-25
Posts: 4
Posted: Sun, 2006-08-20 12:48

Thank you very much for this theme.

as it turns out, the colour theme and style of this mod pretty much blends in with my site so it has taken very little effort this get this intergrated.

im wondering, is it possible to get the side bar to follow the browser windows?

have the side bar stay in the top left corner of the browser window, so its on there at all time.

 
MediaMgrGuy

Joined: 2006-08-21
Posts: 24
Posted: Fri, 2006-08-25 06:44

Hello,

I am new to using Gallery and was extremely pleased to find your theme CARBON... It is precisely the look I was hoping for when searching out photo gallery software... CARBON is sophisticated and clean... Thank you for your design and even more so, thank you for making it available to all of us...

Now for the tricky question: In the screenshot above it shows each of the thumbnails minimized but still maintaining their dimensions... Most of my galleries will be of headshots (average size is 500x700 or 700x500) and right now the thumbnails are appearing as perfect squares... This is difficult for my viewers because the tops of their heads are being cut off or the image is being cropped to fit which is changing it's look. Can you tell me if I am missing a function in the Themes (admin area) Setup for CARBON that will allow me to keep the thumbs as they do above?

Thank you and take care... Beautiful work!

 
mincel
mincel's picture

Joined: 2005-10-14
Posts: 134
Posted: Fri, 2006-08-25 07:34

Hi MediaMgrGuy, probably you have installed Square Thumbnails module. If you uninstall and rebuild your thumbnails you will get the original image ratio.

http://www.mincel.com/carbon
http://www.mincel.com/gallery

 
MediaMgrGuy

Joined: 2006-08-21
Posts: 24
Posted: Fri, 2006-08-25 17:08

Hello Mincel,

Thank you for your quick response, you were exactly right, I did have the square thumbnail module installed and it was active. The only problem I had was once I deactivated it, I attempted to recreate the thumbnails (or at least I believed I was doing it right) but I kept having problems. The thumbs wouldn't recreate. The protocol kept stalling out. Fortunately, since I am new to this and am still experimenting with the look of my gallery, I only had four albums active. I deleted all of them and re-uploaded the same four galleries... After that, everything seemed to work perfectly (don't know why). All in all, it looks great. You did an amazing job with this design.

If you don't mind, I'd like to ask you one more (hopefully only one more) question??? On your gallery, under the line "This is the main gallery page" (or something like that), you entered considerably more text... I'd like to do that. Is that a simple task or some sort of custom tweaking? I couldn't find it in the admin area...

Do you have any other themes on the horizon?

Thanks again and take care...

 
MediaMgrGuy

Joined: 2006-08-21
Posts: 24
Posted: Fri, 2006-08-25 21:11

Okay, my apologies... I do have another question but I don't know for sure that it is one I should direct to you... So please excuse me if it isn't.

In the admin area I clicked the THUMBNAIL link and it brought me to an area that showed to images: one for audio and one for video. I recreated the two images to match the look of CARBON but I couldn't find the location of the two images in the directory. I used FTP to log into my server but found no image matching that description. I named the two new images the same as the one's listed in the admin area, expecting to just swap them out but again, I couldn't find them. Any ideas? I'm not sure if this is a CARBON question or a G2 question.

Thanks again!

 
slave2thebean

Joined: 2005-02-05
Posts: 12
Posted: Sun, 2006-08-27 16:16

Hi mincel:

Great theme - thanks for offering it. I have a couple of questions that I hope can be answered here. Here's my gallery: http://www.cocknpull.com/gallery

1. On the sidebar that slides out, I would like to change the background of the search, slideshow, etc. area to an image. What style do I need to change? **edited** I figured out the style that controls that background but it doesn't seem to go to the edge. What am I not seeing?

2. On the main body of the gallery, is it possible to make the body (where the photos live) extend all the way across the page- in other words, I'd like the middle white section to stretch horizontally.

3. I want to delete everything under the photos (i.e. owner) AND under the main text. For example:

"Welcome to the Cock~n~Pull Gallery. The photographs you see here are examples of my airsmithing work. If you have questions about my services, if you are a current client or if you have a technical questions, please drop me an EMAIL

Date: 08/27/06
Owner: Blackbean
Size: 3 items (57 items total)"

Which file do I edit to get rid of the date, owner and size on that section? I've managed to find where to change date and size to false under the photos but I can't find where to do this on the main page nor where to get rid of owner under each of the albums. Forgive me for probably asking questions that have been asked. I did search this thread but there are a lot of posts and my eyes started crossing! :)

Thanks for any help,
Sarah

 
pesch

Joined: 2006-08-29
Posts: 3
Posted: Wed, 2006-08-30 11:37

Hi

Just installed Carbon - it's a great theme.

Wanted to add the hoverbox functionality to the theme and it somewhat works, but on some images, the thumbnails are not show correct, I don't get a hover, but instead 2 copies og the same thumbnail image.

Example on the issues attached.

Anyone got an idea on what's wrong here ?

Thanks
/Peter

AttachmentSize
thumbs.jpg3.48 KB
 
pixelzone

Joined: 2005-10-14
Posts: 5
Posted: Wed, 2006-08-30 11:45

the duplicated thumbnails usually appears if the hoverbox CSS is not implemented.
can you post a URL so I can check the source code?

 
psygarden

Joined: 2003-03-25
Posts: 128
Posted: Wed, 2006-08-30 12:26

I have created a set of custom tpl files for this theme that enable you to have a static sidebar (specially usefull for cms integration as the floating sidebar was causing problems for me)

If anyone wants them just let me know.

Live example here: http://www.psygarden.be

ps. If anyone could tell me what i need to change in the navigatorMicroThumbs.tpl file to change a number of rows used (i want 2 or 3 instead of 4 because of the limited width of my page)

 
JBugman

Joined: 2006-08-31
Posts: 1
Posted: Thu, 2006-08-31 11:54

Hi,

An excellant theme, thankyou very much.

However, I am trying to work out how to do one hack.

I want to display "micro-thumbails" of albums below the album thumbnail being shown.

This is a link to what I am trying to achieve, although I admit its only for gallery 1 so hoping this is possible in gallery 2!

http://www.gallery-addons.com/Gallery1_Demo.html

(Notice the micro thumbnails to the side of the bigger album thumbnails)

Many thanks

J

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-09-01 00:23

hi mincel-
your theme is great.. maybe someday we can get it in svn. i didn't look into your theme.inc in detail, but overriding loadTemplate means you need to track core changes to that function in GalleryTheme.. if it's possible to implement your theme w/o this function in theme.inc it would ease upgrades/compatibility. let us know how we can help, thanks.