[Theme] Tien for Gallery2

RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Thu, 2006-01-19 11:46

If you want a horizontaly repeating image I usually make the image 1 px wide. If for some reason that looks weird (it happened ones..) I make it 1 px wide then stretch it to 10px wide or whatever. This way you'll allways nbe sure that the left side matches the right side of your image. If I have a repeating pattern I cut the pattern in half and past the right side to the other side of the left side and start smoothing out the difference (or whatever method works the best in each specific case) then I leave it that way or undo the 'cut-in-half'

Things that will prevent the problem you are having with the images...
______________________
I made a theme for G2, try it :)

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Thu, 2006-01-19 12:58

Thanks you. That is a hint that is also going into my Hints and Fixes file.

Blessings,
Gaynor

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Fri, 2006-01-27 11:51

HI RWK,
I do want to use this theme for a top page, and don;t mind that it has no thumbnails there.

Two changes I'd like to do, but cannot see how to.
* Make the font larger. I know you'll have a good reason for setting it like this but it would be nice to be able to set the text size.

* reduce from two columns to one. When I tried to reset the number in Edit Album/ theme, it took no notice. :)

BTW when you do add thumbs as an option, Could minithumbs be one option. They would have the effect of being interesting buttons while not expanding the page too much.

Blessings,
Gaynor

 
NBrady

Joined: 2005-10-07
Posts: 77
Posted: Thu, 2006-02-02 02:32

So I dont exactly understand how to display thumbnails instead of text links for sub-albums

and how to turn out the description stuff right under the item

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Thu, 2006-02-02 15:00

I think that this is since a few days the wrong place to ask support questions on a certain theme. Support question cannow be asked in the 3rd party support forum. Except the likelyhood of me reading them gets smaller. Perhaps pm-ing me pointing out the topic helps in such cases.

gaynormcc,
Nice ideas. I might do those things you suggest. I was working for a large German project which has been terminated for unclear reasons and might be in between jobs for a few days, perhaps I will find the time to do some changes then.
______________________
I made a theme for G2, try it :)

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Mon, 2006-02-06 05:23

Ok,
I saw some similar posts earlier about this, but not with it generating an error like it is for me. Here's the message (for any folder list):

Notice: Undefined index: childCount in W:\Pictures\albums\smarty\templates_c\%%981363278\%%2E^2E0^2E00E176%%album.tpl.php on line 52

This is the line in question:
<?php if (( $this->_tpl_vars['child']['childCount'] > 0 )): ?>
If I just set it to "<?php if (( 1 > 0 )): ?>" it behaves.

Also get this error (probably related):
Notice: Undefined index: subitemCount in W:\Pictures\albums\smarty\templates_c\%%981363278\%%2E^2E0^2E00E176%%album.tpl.php on line 137

Any thoughts? Oh, I'm running my own webserver on the following:
Gallery version = 2.0.2+ core 1.0.10
PHP version = 5.0.5 apache2handler
Webserver = Apache/2.0.53 (Win32) mod_perl/1.99_13 Perl/v5.8.6 mod_ssl/2.0.55 OpenSSL/0.9.8a PHP/5.0.5
Database = mysql 5.0.16-nt
Toolkits = Exif, Thumbnail, Ffmpeg, Gd, Dcraw, NetPBM, ArchiveUpload, ImageMagick
Operating system = Windows NT MCDERMOTT 5.1 build 2600
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Thanks!
Scott

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sat, 2006-02-11 13:00

I've updated the theme so now -finally- there is an option to choose to show the thumbnails for albums instead of the little folder.
I came across the request for this options many times, so I hope you'll like it!
______________________
I made a theme for G2, try it :)

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Sat, 2006-02-11 16:17

RwD,
Glad to see you are still working on this. I really like this theme above most others. I figured out the problems above and here are the solutions. You should probably make these changes or something.

In album.tpl change line 105 from:
{if ($child.childCount > 0)}
to
{if ($theme.childCount > 0)}

In theme.inc, add this line to initialize the variable (around line 225):
$theme['subitemCount'] = 0;

Those get rid of both errors. So now I have a question, why will your theme not show links? I've tried to fix this, but cannot figure out how. See http://gallery.menalto.com/node/23490?from=50#comment-142614 for details...

Thanks!
Scott

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sat, 2006-02-11 18:34

mcdermottscott,
Actually you were not entirely correct on the first solution, that's a screwup of me where it should have been $child.descendantCount or something similar. I fixed that for version 0.1.5

The other thing I am not going to changeright now. I do not see why...
______________________
I made a theme for G2, try it :)

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Sat, 2006-02-11 22:50

RwD,
First, thanks a bunch for the quick response and the 0.1.5 update. Figured it was something like what I mentioned, but I didn't dive to heavily into the code to find it. Bottom line is that your fix works! Nice!

The second thing looks like it is related to the other question I had about link items. The error only shows up on pages with them. Do you have the link module installed on your site? I'm thinking that now that the link module is actually a part of the gallery distribution (currently only on the CVS version), that it might have significantly changed from the version I have (Album Links 0.2.5). I am using CVS, but I had sooo much trouble making it work that I'm going to wait till Gallery 2.1 comes out (tonight I heard?) to upgrade.

Again, thanks for the nice theme!

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Sat, 2006-02-11 23:13

Yep, it most certainly is the links that are causing the problems. When I turn on the Show album thumbnails (nice feature BTW!), it gives this error for linked items:

Notice: Undefined index: frameType in W:\Pictures\albums\smarty\templates_c\%%981363278\%%2E^2E0^2E00E176%%album.tpl.php

And it shows the earlier error at the bottom of the page. I can give you more details and access to the site if you are interested in fixing this bug. But you might want to wait and see with the new version of Gallery...

 
chrisrub

Joined: 2006-02-11
Posts: 2
Posted: Sun, 2006-02-12 03:37

I'm very new to this, and I was wondering how to change the subalbum structure... if you visit limustang.com/photos/ you will see what I'm talking about. The sub albums do not have a break after one another and often the links get broken up. Where would I look to insert a <br> ?? I'm not familiar with PHP so I'm not sure where to look.

Thanks!

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sun, 2006-02-12 12:25

Chrisrub,
So you want each subalbum to be on a new line?
Then you shouldn't add <br/> elements but change the css instead.
here's how:

Change the file theme.css inside the tien drectory;

Change the lines:

ul.albumsListingSubalbums li {
	display: inline;
	margin-right: 6px;
}

ul.albumsListingSubalbums li a {
	font-size: 10px;
	font-weight: bold;
}

ul.albumsListingSubalbums li ul {
	display: inline;
	margin-right: 6px;
}

into

ul.albumsListingSubalbums li a {
	font-size: 10px;
	font-weight: bold;
}

ul.albumsListingSubalbums li ul {
	margin-left: 6px;
}

______________________
I made a theme for G2, try it :)

 
chrisrub

Joined: 2006-02-11
Posts: 2
Posted: Sun, 2006-02-12 20:46

Thanks RwD! You gave me just what I needed. Now I just need to work on getting better performance out of G2.. it is kind of sluggish. Anyone's suggestions are welcome ;)

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Tue, 2006-02-14 03:22

Nope, still doesn't work with the new version. Plus, there are some significant changes to make to get the code to work with 2.10. 'GalleryStatus' is gone, so a bunch of return calls break (set to null, I think). And "$ret->isError()" becomes just "$ret".

I just noticed that the Classic theme gives a similar error (Notice: Undefined index: _classNamein W:\Pictures\albums\smarty\templates_c\%%981363278\%%BF^BFD^BFDF4CFD%%album.tpl.php on line 76). Didn't find this error on the forum either. Thoughts?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2006-02-14 03:47

visit site admin / maintenance and run the flush templates task; this should fix classic theme (unless you have a local tpl that needs to be updated).

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Tue, 2006-02-14 14:40
mcdermottscott wrote:
Notice: Undefined index: frameType in W:\Pictures\albums\smarty\templates_c\%%981363278\%%2E^2E0^2E00E176%%album.tpl.php

This is an unfortunate error which accidentally happened while copying pieces of code inside the templates. I think I've fixed it now (v1.6) 
______________________
I made a theme for G2, try it :)

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Tue, 2006-02-14 20:40

mindless,
Right on. That was really stupid of me not to think of that.

RwD, Thanks for the newest fix. So these are the two "feature" requests I have. Compatibility with Gallery 2.10 and compatibility with it's Link Items (1.0.2) module. If you plan on doing these things, would you mind letting me know when? Thanks a bunch!

Later,
Scott

BTW, if you need access to a test machine, let me know and I'll set you up an account on mine...

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Wed, 2006-02-15 07:38

What is the link items module? I do not remember having it installed, what would be needed to support it? 
______________________
I made a theme for G2, try it :)

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Wed, 2006-02-15 14:42

It is a module that is now included in the official distribution that allows the owner to create a link to another album or an external page. The link shows up as another album (albumlink) or an image (externallink). They have now included it in the full Gallery release, so you should probably support it if you want other's to use your theme. If not, I'm personally going to, at some point, try to recreate your theme with support for this (but I think it might just be easier for you to get it working). I can help if you are interested...

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-02-15 17:12

RwD, you don't need anything special for linkitems to work in your theme.. here is the only change matrix theme made:
http://cvs.sourceforge.net/viewcvs.py/gallery/gallery2/themes/matrix/templates/album.tpl?r1=1.12&r2=1.12.2.1
This just makes it use the selected imageframe for albums when showing a linkitem.

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Wed, 2006-02-15 17:58

I'm afraid that it is not that simple. As I understand it (for some reason), the inc file actually goes through and recalculates the child objects after dropping them. Excerpt from the code:

code wrote:
function showAlbumPage(&$template, $item, $params, $childIds) {
$theme =& $template->getVariableByReference('theme');

/*
* To be able to define other children unfortunately this means throwing away all gathered
* data because the loadCommonTemplateData function doesn't load new children if there
* already children defined.
*/
unset($theme['children']);

Not sure I understand why this is, but I think it needs to be revamped... Thoughts?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-02-15 18:16

um... what? Is that code in Tien theme? what is it for and why does it cause problems with linkitem? what i posted above is accurate for themes in general.. if tien theme does something different then maybe it needs something else.

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Wed, 2006-02-15 19:49
mindless wrote:
Is that code in Tien theme?

Yes. Directly out of it's theme.inc file.

mindless wrote:
what is it for?

Not sure, except that it then goes through to use the fetchChildAlbumItemIds function and then handle something about pagination. RwD?

mindless wrote:
why does it cause problems with linkitem?

I think it simply ignores the linkitems or just gets confused, depending on the situation.

BTW, thanks mindless for jumping in on this discussion. I know you must have tons of other things to work on...

If I have time tonight, I might try to reverse-engineer this theme based on Matrix. Otherwise, I think this is a really pretty and unique theme. RwD, I assume you won't mind, as long as I give you credit?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-02-15 21:31

A linkitem is a GalleryItem so it should load like any other child item.. it is not a GalleryAlbumItem nor a GalleryDataItem, so maybe that confuses some code in Tien theme.

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Thu, 2006-02-16 14:25

That code is in the theme because there is no other way to retrieve all subalbums for the current album and base the page numbering on the items only. so if this new linkItem does not identify itself as linking towards an album or an item then linkitems will not be compatible in the correct way. The only thing I can do then is treat them as items, albums or some new entity ALLWAYS, not regarding the type of item it links to.

I take it that a linkItem is a symbolic link that points to the actual thing, more or less like a shortcut in windows or a symbolic link in unix/linux???

Does anyone know what to do??

Mindless,
The theme will need to do more to adjust because it specifically requests all subalbums from a certain album and then requests all normal items. It probably ignores linkItems.
Why is there a new type called linkItem? Could this not become a property of an album or normal item? Then you know the type and you know it is not an actual object of that type, but an empty shell to point somewhere else...

But I haven't looked at linkItems yet so I do not know the details. I'm just guessing how it might work...
______________________
I made a theme for G2, try it :)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-02-16 15:38

LinkItem extends Item.. this is what makes sense. It is not a DataItem, it has no data file; it is not a real album, you can't set a theme for it, it has no child items, etc. It has just a title, summary, etc and its own property, the target link.. this can be another album or an external URL. A core.ShowItem request for a LinkItem causes a redirect to its target.

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Fri, 2006-02-17 05:49

Is there a way to ask the linkItem what kind it is pointing to? If not I think you should add it because there is the option to ask for all items seperately or to display albums differently from items. You allready display albums differently from items, so I am sure it is possible, I am just checking here to not dive into the code yet.
______________________
I made a theme for G2, try it :)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-02-17 15:27

if $child.link is numeric then it links to an album, otherwise it is an external URL. a dataitem type of link (the "Create Link" option) is a normal GalleryDataItem.

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sat, 2006-02-18 08:52

Ok, then it is doable for this theme. Requires some extra programming though, unfortunately... 
______________________
I made a theme for G2, try it :)

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sat, 2006-02-18 12:39

I was running this morning and suddenly I got this thought about a problem to include linkItems into the theme. It is so that linkItem extends Item which is ok. But the problem is os that my theme thinks completely in a completely different fashion from all the others. Standard in Gallery2 there is no distinction in albumitems and dataitems when they are retrieved and they can be mixed. My theme doesn't do that and seperately retrieves ALL albums, and then starts getting dataItems which can be split over different pages (but every page ALLWAYS shows EVERY albumItem. To achieve this I need to use the functions fetchChildAlbumItemIds and fetchChildDataItemIds which the standard themes do not use. Even worse, I completely redo the dataretrieval fase because the other themes actually do not even handle this part.

Now, if would like to add linkItems I would have to have a function that can retrieve albumitem ids but also includes linkItems if they refer to a G2 albumItem. If I cannot do this I can never maintain the correct sort order because I would have to get the albums first, then the linkItems which point to albums putting all linkItems in the last position where they might actually be sorted up higher...

I take it that linkItems that point to dataItems are actually dataItems that are of the type link and I will get them as normal using fetchChildDataItemIds??? At least that is what I got out of mindless' last reply...

Anybody any idea's on this?
Can fetchChildAlbumItemIds already get the linkItems? (perhaps if I set a marker telling it to do so?)
If not could this be added??
______________________
I made a theme for G2, try it :)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2006-02-18 16:33

your analysis seems accurate.. don't have any good answers for you at this point, short of loading every child of the album and grouping them yourself..

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Sat, 2006-02-18 22:39

Guess what I don't really understand is why? Why do you need to do all of this? Can't you just use the existing list of objects in the page and pick out which ones are albums (i.e. store the list in another array)? I'm going to try my own theme tonight, starting with classic, and use this approach. I suppose I'll probably see what you mean then.

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sun, 2006-02-19 23:06
mcdermottscott wrote:
Guess what I don't really understand is why? Why do you need to do all of this? Can't you just use the existing list of objects in the page and pick out which ones are albums (i.e. store the list in another array)? I'm going to try my own theme tonight, starting with classic, and use this approach. I suppose I'll probably see what you mean then.

There is one thing you find in my theme that no other theme has up till this moment (afaik).

In normal theme's albums and dataitems mix when displayed; there can be 5 albums and 4 dataitems displayed on the first page and 1 album and 8 dataitems on the next. They are displayed together and look different from eachother because a theme can choose to test whether an item is an album or not.

In my theme each (direct) subalbum is allways displayed. For the above numbers that means I show all 6 albums on page one plus 9 dataitems and on the next page I have the same 6 albums again and the remaining 3 dataitems.

If I where to use the code the way it is I cannot get all 6 albums to display on page one if even one of them is not on the page that is displaying. So they could all be on page 1, but then they wouldn't be at page 2 unless I get them specifically (which I cannot do if items have been loaded already (which makes me to have to throw away all items and fetch both groups separately (which is kind of annoying ;)))).

I hope that makes it a bit more clear?

mindless,
I do not understand why gallery assumes which items I want to get first. Theme's can display whatever they want so also just the images an no subalbums and what not, but still all that data is retrieved regardless... All theme's that come with G2 show items in a similar way. Perhaps you should also add/create a theme that uses the approach I used??

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-02-19 23:42

yes, the framework has some limitations here. the same prevents a theme from displaying other sets of items such as search results/keyword matches.. so there will definitely be some theme refactors down the road.

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Mon, 2006-02-20 08:59

Goody :)
But back on the linkItems. If the only thing that gets **cked up is the sort order then that is ok by me for now and I'll just put them in like this. I have the feeling that I am able to resort the items so I might actually solve the puzzle. But before I start asking any more questions I will look at the code and start experimenting; when I have the time and preferably later when G2.1 is out...
______________________
I made a theme for G2, try it :)

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Tue, 2006-02-21 06:49

Hrrrumph!
I'm trying to fix this (or write my own theme from scratch). Problem is that I cannot get a function to list not only the albums but the linked albums.... Here's the problematic code:

code wrote:
list ($ret, $childAlbumIds) = GalleryCoreApi::fetchChildAlbumItemIds(
$item, null, null, $theme['actingUserId']);
if ($ret) {
return array($ret->wrap(__FILE__, __LINE__), null);
}

Is there a function that can be used instead of "fetchChildAlbumItemIds"? Or in conjunction with? If this can be done, the issue should be solved.

I used fetchChildItemIds, but I'm not sure how to test the items in the array (id's) to see if they are albums or link items. Getting tired, so I'll try again later.

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Tue, 2006-02-21 11:44
mcdermottscott wrote:
I used fetchChildItemIds, but I'm not sure how to test the items in the array (id's) to see if they are albums or link items. Getting tired, so I'll try again later.

Mindless stated:

mindless wrote:
if $child.link is numeric then it links to an album, otherwise it is an external URL. a dataitem type of link (the "Create Link" option) is a normal GalleryDataItem.

The way I remember it you first get the ids and then you can request more info. So after getting the extra info you can check if the linkItem is an album or an external reference.
The way I read mindless' response linkItems only refer to albums or external urls...

 
mcdermottscott

Joined: 2005-09-19
Posts: 28
Posted: Tue, 2006-02-21 16:58

The problem is, is that I do not know how to "request more info" after getting the links. From the code above, I have an array (including the link items) of IDs (numbers) which doesn't do me any good. How do I query the actual item based off of its ID?

For instance, I want to test this (you are already testing the fisrt half on an incomplete array list):
if ($child['canContainChildren'] || $child['entityType'] == 'GalleryLinkItem')

The real problem is that I am not that familiar on how Gallery works, but I'm learning fast. But how do I go from an array of $childAlbumIds to the individual $child objects? Is this making any sense?

Later,
Scott

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Wed, 2006-02-22 08:10

It is loadCommonTemplateData which gets you that data. It is also the function that cannot add new data to $theme['children'] once it has retrieved some items before, so make sure you retrieved all ids before you call that function.

If this check (somewhere it checks if $theme['cildren'] is set) would be removed from the function then I might not have to reload everything and just the things I do not have (not sure about this though)... 
______________________
I made a theme for G2, try it :)

 
Timcars8

Joined: 2006-02-17
Posts: 5
Posted: Thu, 2006-02-23 04:44

Since my quest to write my own theme has gotten me cursing like a sailor, when do you expect a version for G2.1 to be available? Because your theme is awesome enough I could modify it just enough so that I'm happy ;)

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Thu, 2006-02-23 14:54
Timcars8 wrote:
Since my quest to write my own theme has gotten me cursing like a sailor, when do you expect a version for G2.1 to be available? Because your theme is awesome enough I could modify it just enough so that I'm happy ;)

At least not before G2.1 is out, and when that happens it depends on how much time I have then.

But for as far as I know it works with g2.1 just don't use linkItems for albums??

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-02-23 15:46

Updating themes for 2.1 isn't too hard, but there are some changes.
http://codex.gallery2.org/index.php/Gallery2:API_Changes_Since_The_Last_Release
Of all the API changes, you'll definitely need the error handling update (there's a script that you can run) and update the required version in the theme constructor; maybe check for relativeRequireOnce->requireOnce or if you use forJavascript=true in any g->url calls (now htmlEntities=false). Most likely that will do it.

 
Pete Kuncis

Joined: 2006-02-27
Posts: 3
Posted: Mon, 2006-02-27 02:41

Everything is fine with this theme. Only question I have is about the thumbnail size. I would like it to be 200x147 or so. Where abouts is this changed?

Thanks,
Pete
www.onalimbracing.com

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Mon, 2006-02-27 20:38

Which thumbnails? the thumbnails for albums and items are treated separately. Thumbnailsize for albums cannot be changed. But the thumbnailsize per item can be set in the album properties (Edit album->Album->default thumbnail size)
______________________
I made a theme for G2, try it :)

 
Pete Kuncis

Joined: 2006-02-27
Posts: 3
Posted: Mon, 2006-02-27 23:21
RwD wrote:
Which thumbnails? the thumbnails for albums and items are treated separately. Thumbnailsize for albums cannot be changed. But the thumbnailsize per item can be set in the album properties (Edit album->Album->default thumbnail size

I'm talking about the Album thumbnails. They are 60x37 or so. In the example on the download page, they show as 100x67. I would like them 200px on the longest side if possible. You say it cannot be done?

Thanks,
Pete
www.onalimbracing.com

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Wed, 2006-03-01 14:20

I'm afraid you are mixing up things. On the example page there are no thumbnails at all for albums.
The size I set is about 60 indeed.

I prepared a little change for you which I didn't test *at all*. So I cannot garantee it is going to work.
You can get it from here. Please try it and if it works I'll put it in the next version (then the link above will become dead).

I am expecting some problems. For example line 396 from theme.css. It might give you some trouble, if it does please let me know here (but you may change it in 202). Another problem might be that I misspelled something and then the whole thing will simly not work at all...

In any case, can you please tell me how everything goes?
______________________
I made a theme for G2, try it :)

 
Pete Kuncis

Joined: 2006-02-27
Posts: 3
Posted: Wed, 2006-03-01 21:05
RwD wrote:
In any case, can you please tell me how everything goes?

I am away, but I will when I get home this weekend.

Pete

 
bpn

Joined: 2006-03-04
Posts: 2
Posted: Mon, 2006-03-13 18:45

Hi,

I just installed your template, and ran the script to make it work with v2.1, but I get this error when I click on the first site of an album.

Warning: Invalid argument supplied for foreach() in /home/costil/public_html/members/themes/tien/theme.inc on line 265

Do you have any idea how I can fix that ?

This is the code from line 265:

foreach ($theme['children'] as $child) {
$childId = $child['id'];
if (isset($tree[$childId])) {
$treeList[$childId] = array();
$this->_parseTree($tree[$childId], $treeList[$childId], $treeIds);
}

Thanks,
Bpn

 
bpn

Joined: 2006-03-04
Posts: 2
Posted: Mon, 2006-03-13 19:55

Actually it seems like that once a gallery page has been loaded, and then you try to reload it, the error appears, and it's not loading any of the thumbs.