[Theme] Tien for Gallery2

NBrady

Joined: 2005-10-07
Posts: 77
Posted: Fri, 2006-03-24 16:04

ey how bout some 2.1 tien eh? eh?

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Sun, 2006-03-26 08:37

Good question :P
Bad timing, right now I am busy again on a project. Like I think I said before the changes shouldn't be that hard actually, but the timing is just bad. I'll see what I can do ;) 
______________________
I made a theme for G2, try it :)

 
NBrady

Joined: 2005-10-07
Posts: 77
Posted: Sun, 2006-03-26 22:43

Oh yeah you know what the wink means. ;)

Cannot even wait to see Tien 2.1 baby. Best theme ever.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-03-26 23:56

I've updated the theme and attached it to the first post of this topic (didn't test it though).

RwD: here are the changes I made:
- set version to 0.2.0
- updated error handling for how it works in G2.1
- added check for 2 more numeric values in validateSettings
- renamed PO files to shorter language codes we use in G2.1, updated and recompiled
- removed MANIFEST file (it just had themes/matrix paths anyway)
- removed windows newlines in a few files

 
NBrady

Joined: 2005-10-07
Posts: 77
Posted: Tue, 2006-03-28 00:07
mindless wrote:
I've updated the theme and attached it to the first post of this topic (didn't test it though).

RwD: here are the changes I made:
- set version to 0.2.0
- updated error handling for how it works in G2.1
- added check for 2 more numeric values in validateSettings
- renamed PO files to shorter language codes we use in G2.1, updated and recompiled
- removed MANIFEST file (it just had themes/matrix paths anyway)
- removed windows newlines in a few files

v

Getting this error :

Fatal error: Cannot redeclare class tientheme in /gallery/themes/tien2/theme.inc on line 14

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2006-03-28 01:00

what's themes/tien2 ?

 
NBrady

Joined: 2005-10-07
Posts: 77
Posted: Tue, 2006-03-28 01:14

thats the name of the folder i put it in

i am now getting this error:

Fatal error: Call to undefined function: getmemberdata() in /home/nbhq27f/public_html/gallery/themes/tien/theme.inc on line 291

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2006-03-28 01:16

as you see, that doesn't work :)
it goes in themes/tien

 
NBrady

Joined: 2005-10-07
Posts: 77
Posted: Tue, 2006-03-28 01:31

this is after i renamed it back to tien

www.nbhq.net/gallery

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2006-03-28 03:58

ah, missed that, thanks. attachment updated.
found the time to install the theme this time, looks nice!

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Tue, 2006-03-28 16:03

Mindless, thanks for updating the theme. I've noticed that you've been updating a lot of themes and modules for people in the forum. If you wouldn't mind updating the codex as well when you update themes and modules that would be great. I monitor the codex for all changes so I can update my demo site. Thanks, I appreciate all your hard work.

Steve Lineberry

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2006-03-28 22:06

Hi- I have been updating the codex for modules.. there wasn't anything in the themes table for 2.0 vs 2.1 versions, so I haven't updated anything there.. I suppose I can restructure that table.
Thanks for keeping the demo site up to date!!

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Tue, 2006-03-28 22:54

Thanks, I guess I tried to start a convention with my three themes a few weeks ago by putting a g2.1 link under the g2 link. You can see that with my rounded corners, forsale, and eclecticthreads themes. I try to keep the demo site up to date considering I get close to 2000 hits a day on that site, seems like people are really using it. Thanks again.

Steve Lineberry

 
seraphina

Joined: 2006-03-17
Posts: 4
Posted: Tue, 2006-04-04 13:23

I love the album listing. This is exactly what I was looking for! However, I am using gallery embedded into Joomla, and the width of the theme breaks my site. I am new to Gallery and I dont know what I need to edit to remove the outside table.

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Fri, 2006-04-14 09:42

Hmmz, I see the theme was updated :? Saves me the time to figure out what has changed since 2.0 :)
I would say that it still isn't G2.1 compatible because I need to update the way linked items are handled; right now they will not display, nor will they sort right when I update it.

Mindless,
Just to make sure I understood you correctly:
A linkItem will allways point to an album (because a link to a dataItem is of the type galleryDataItem)
Is that correct? (It is very vital for me even considering to start changing the theme :P because otherwise it is useless to start changing and I would require a change in G2 first (or I would require some help to write some extra functions for data retrieval))

seraphina wrote:
I love the album listing. This is exactly what I was looking for! However, I am using gallery embedded into Joomla, and the width of the theme breaks my site. I am new to Gallery and I dont know what I need to edit to remove the outside table.

You would need to look inside \themes\tien\theme.css and try to correct the width there. I would need to see the problem in order to provide a more acurate solution.
______________________
I made a theme for G2, try it :)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-04-14 14:28

A linkitem will redirect somewhere.. that can be to another album, or to a URL specified for that linkitem.

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Fri, 2006-04-14 15:08

Then what did you mean by this:

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.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-04-14 16:58

just clarifying the two uses of "link", that a LinkItem entity is not what is created by "create link"

 
Riboflavin

Joined: 2006-04-23
Posts: 4
Posted: Sun, 2006-04-23 07:32

Hello RwD, just wanted to thank you, this is really an awsome theme. I just installed G2 for the first time and am thus running 2.1.1

I really can't wait until its compatible, I am looking forward to running it on my new site!

 
everythingtonot...

Joined: 2005-03-02
Posts: 29
Posted: Sat, 2006-08-12 21:07

i hope there is still support for this theme because it is great. my questions are as follows.

first off, how do you make it so it does NOT show the subalbums under each album link?

i have gallery2 integrated into phpbb2 and this theme seems to make my tables or something all messed up. the link below you can see how my gallery is not centered under my phpbb2 and the table width is too wide. how can i fix this?

last, the drop down menu lists, i can't figure out how to change the color of them. right now the background is white and so is the text and i can't fgure out how to fix it.

thanks
mike

linke to my gallery/phpbb2 integration.

http://everythingtonothing.com/msgboard/gallery2.php?sid=92900b6d4913d481153cae07a054bd94

 
webwizaus

Joined: 2006-08-20
Posts: 5
Posted: Sun, 2006-08-20 22:58

I have installed your theme but I am experiencing some problems. The major one at this time is that my uploaded images are not displaying. Only the image name appears where the image shoald be. A red 'X' appears in the top left corner. Could you tell me how to fix this problem.

 
athlon

Joined: 2006-09-12
Posts: 26
Posted: Tue, 2006-09-12 08:18

Hallo!

The Tien theme is really great!

But i like to configure the following:
I want to allow the User to rate for the whol album. Voting for pictures works.
On the Start-Page i don´t want to have the rating stars. Only when you are in an subcategory.
When i insert the voting field on the Album-Site, it also appears on the start page, but i dont want that.
I edited the settings for the start-page and set that star-rating is not allowed here, but the stares appear.

With the Matrix-theme it works fine. But not with tien theme :(

Look there:
http://subzone.mine.nu/athlon/gallery/main.php

Sorry for bad english :)

 
eclombardo

Joined: 2006-10-28
Posts: 3
Posted: Tue, 2006-10-31 00:48

Hi - I like your theme and I think it may be just what I have been looking for! I was looking for a way to place individual images into the main gallery instead of albums, I think this works best for me (have to really install it to check). However, I was wondering, do you know a way where if a person clicks on the image (it will actually be zip files and not images), it goes to the preview page as usual but in addition to the "download this archive" link I could also have a "more from this user" link - which would link directly to the user's album?

Any help is greatly appreciated - thank you!!

 
texasphotog

Joined: 2006-11-02
Posts: 6
Posted: Thu, 2006-11-02 03:41

the theme is really cool nice work.

i had a couple of questions, im very new to Gallery2 so needless to say Im also new to themes and such.

1. how can i change the background color out side of the main theme design. to the left, right top etc of the exents of the header image.

2. on the photo display page, how can i adjust the image display to show the photos centered in the area and not left justified.

3. what files contains the default text string "Gallery" and "This is the main page of your Gallery" that is displayed on main.php

thanks a ton guys and keep up the good work. i love seeing all of the different tweaks other users have implemented.

 
texasphotog

Joined: 2006-11-02
Posts: 6
Posted: Thu, 2006-11-02 18:31

Ok I figured out my question #2:

I added this in my css:

.gbBlock2 {
text-align: center;
margin-bottom: 12px;
}

then i went into the photo.tpl and changed the area right before the imageViews

<div id="gsImageView" class="gbBlock">
to
<div id="gsImageView" class="gbBlock2">

now the image is centered. i changed gbBlock to center by itself and it made everything centered since alot references back to "gbBlock" so I simply created "gbBlock2"

 
texasphotog

Joined: 2006-11-02
Posts: 6
Posted: Tue, 2006-11-07 18:09

Ok I also figured the answers to my questions #1 and #3... hehee...

site located here:
www.610Photos.com

Here is Question #4 that I cant seem to figure out.

#4 How do I make the header image a hyperlink. I want it to link back to main.php this way no matter where you are you can easily click the header image to take you back to the main page.

Any and All help is greatly appreciated.

Thanks!

 
aldog

Joined: 2006-11-14
Posts: 9
Posted: Wed, 2006-11-15 08:01

How do I make my logo link to my main page with this theme?

I've looked through the templates and can't figure out which one to edit.
LOVE the theme.

http://ad6storieshigh.com/gallery2/main.php

 
blade009

Joined: 2006-10-10
Posts: 5
Posted: Wed, 2006-11-15 15:27

Brilliant theme. I've customised it slightly ... wicked though .. it works like a directory.

Thanks to the theme creator for great work.

BTW here is live site

http://www.place4trades.co.uk

 
texasphotog

Joined: 2006-11-02
Posts: 6
Posted: Wed, 2006-11-15 15:41

very cool blade,

so how did you edit the header so that the main header logo was not inserted via CSS...

looks like its been added via HTML in one of the templates etc. Im just not as familiar with the software/style etc to figure it out as of yet.

 
aldog

Joined: 2006-11-14
Posts: 9
Posted: Wed, 2006-11-15 18:33

I have one other question. My theme looks HORRIBLE in internet explorer. What did I mess up?

http://ad6storieshigh.com/gallery2/main.php

 
texasphotog

Joined: 2006-11-02
Posts: 6
Posted: Wed, 2006-11-15 18:51

it looks like u added a bg image in place of the general white color.

i know in order for me to change the background color outside of the body of the site i had to create a secondary background class in order to input the color and keep it separate from body itself.

just a thought.

 
blade007

Joined: 2006-08-07
Posts: 12
Posted: Wed, 2006-11-15 19:26
texasphotog wrote:
very cool blade,

so how did you edit the header so that the main header logo was not inserted via CSS...

looks like its been added via HTML in one of the templates etc. Im just not as familiar with the software/style etc to figure it out as of yet.

It is difficult, and not cross-browser compatible to have a clickable link in the css, so I kept the background and put the image in the html. Gallery2 works on templates, and the main one that constructs the page is theme.tpl ... so I put the image in with a <a href>. The right hand side contact us is just a floating div, again in the theme.tpl

hope this helps, ask if you want... and I'll give you the code alterations.

(made a few more code alterations to make it more a like a gallery-directory)

btw I seem to be 009 or 007. It still me.

 
aldog

Joined: 2006-11-14
Posts: 9
Posted: Wed, 2006-11-15 19:52
texasphotog wrote:
it looks like u added a bg image in place of the general white color.

i know in order for me to change the background color outside of the body of the site i had to create a secondary background class in order to input the color and keep it separate from body itself.

just a thought.

Yup, that's the ticket. I didn't even think about that when I did it. Just applied my limited css knowledge.

How exactly would I add a secondary background class?
I've removed the code that I added so it's back to normal, but if in the future I wanted to add a image for the background, how would I do that?

 
webwizaus

Joined: 2006-08-20
Posts: 5
Posted: Wed, 2006-11-15 22:54
Quote:
hope this helps, ask if you want... and I'll give you the code alterations.

Blade007 - If that offer is an open one then I sure would love to get the code alterations off you because it would help me get exactly the script for my site that I wanted to develop. Great Job. Send to

(Webwiz Australia)
Thanks in advance.

 
blade007

Joined: 2006-08-07
Posts: 12
Posted: Thu, 2006-11-16 01:35

ok. I'll post it on here or send it to you tomorrow.

 
webwizaus

Joined: 2006-08-20
Posts: 5
Posted: Thu, 2006-11-16 06:46

Thanks blade007.

 
blade009

Joined: 2006-10-10
Posts: 5
Posted: Thu, 2006-11-16 11:54

this is from my current theme.tpl ... the new header output is in bold:

* Some module views (eg slideshow) want the full screen. So for those, we
* don't draw a header, footer, navbar, etc. Those views are responsible for
* drawing everything.
*}
{if $theme.useFullScreen}
{include file="gallery:`$theme.moduleTemplate`" l10Domain=$theme.moduleL10Domain}
{else}
<table id="mainContainer">
<thead>
<tr>
<th id="mainHeaderImage">&nbsp;</th>
<th id="mainHeaderContent"><div style="float: right; margin-right: 15px; margin-top: 60px; "><a style="color: white; font-size: 16px;" href="/contact-place4trades/contact-place4trades.php">Contact us</a></div><a href="http://www.place4trades.co.uk"><img src="http://www.place4trades.co.uk/themes/tien/images/find-place4trades-logo.jpg" alt="tilers, tiling, place4trades"></a></th>
</tr>
</thead>

so, the css background (I'll post this in a bit) is changed to a repetitive vertical stripe.

then theme.tpl puts an image on the left, on top of the background, and then uses a div float for the right hand side text. will post a bit more in a bit

 
blade009

Joined: 2006-10-10
Posts: 5
Posted: Thu, 2006-11-16 12:20

this is the css change (from theme.css). This, in a funny way, just creates a repetitive repeat-x background

#mainHeaderContent {
height: 90px;
width: 9000px;
background: url(images/tienLogo_bg.gif) #f55f00;
overflow: hidden;
}

I'll send you the tienLogo_bg.gif by email, (it's just a narrow vertical stripe), it'll save you a bit of time. and the couple of theme files for tien.

 
blade009

Joined: 2006-10-10
Posts: 5
Posted: Thu, 2006-11-16 12:27

have emailed all the info

 
webwizaus

Joined: 2006-08-20
Posts: 5
Posted: Thu, 2006-11-16 20:05

Thanks again blade009/007. Really do appreciate it. I will let you know how I go. Have a good day.

 
jackald

Joined: 2007-04-06
Posts: 2
Posted: Fri, 2007-04-06 11:10

i am in need of some help with the Tien theme.On the main gallery page underneath the main albums it lists subalbums. i can't figure out how to get rid of these so it does not list the subalbums underneath the parent albums.

 
chrisofdeath

Joined: 2007-05-18
Posts: 2
Posted: Fri, 2007-05-18 03:43

Hey RwD, great theme! It's been a little over a year since your created it. Do you have any plans to update it for full Gallery 2.1/2 feature compatibility? It currently doesn't seem to support dynamic albums, or at least, that's what valiant has indicated. I'm running into the same problem noted in this thread when trying to get it working: http://gallery.menalto.com/node/61172. I'm not sure what it would take to get Tien working with this, but the default themes appear to work okay. Let me know if you have any ideas, and I'd be happy to try them out. Thanks again for your efforts.

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Mon, 2007-05-28 09:13
jackald wrote:
i am in need of some help with the Tien theme.On the main gallery page underneath the main albums it lists subalbums. i can't figure out how to get rid of these so it does not list the subalbums underneath the parent albums.

Isn't that an option you can set in the admin area by changing "Depth of subalbums links" to 1? Either that or I do not understand which ia a subalbum. Tien displays "The current album" in which "subalbums" and "subitems" are displayed (this cannot be changed). Then there is an option to show "sub-subalbums", which I think is what you want to get rid of?

chrisofdeath wrote:
Hey RwD, great theme! It's been a little over a year since your created it. Do you have any plans to update it for full Gallery 2.1/2 feature compatibility? It currently doesn't seem to support dynamic albums, or at least, that's what valiant has indicated. I'm running into the same problem noted in this thread when trying to get it working: http://gallery.menalto.com/node/61172. I'm not sure what it would take to get Tien working with this, but the default themes appear to work okay. Let me know if you have any ideas, and I'd be happy to try them out. Thanks again for your efforts.

To be honest? I am hoping G2 refactures the way items are retrieved before they are displayed because the current way is very limited and caused problems with my theme before. If that happens I'll be happy to update the code, but right now it would be taking more time then I really have...

Perhaps one of the theme writers for G2 wants to keep the theme up to date? I'll agree to handing it over (so to speak) if they will keep in the one unique feature my theme has that all the others haven't. Perhaps they will also change G2 so the "unique feature" becomes a G2 option??
 
______________________
I made a theme for G2, try it :)

 
julian2222

Joined: 2007-05-12
Posts: 4
Posted: Wed, 2007-06-13 17:53

Hi.

I'd also be very interested in Tien with dynamic albums... unfortunately I am not that good in gallery programming, otherwise I would try to work on it on my own.

Julian
(lookin' forward to tien for G2)

 
YBA

Joined: 2007-01-10
Posts: 33
Posted: Fri, 2007-08-03 13:39

Hi

Firstly - love the Tien theme!! Great work, RWD!!

I have a couple of tweaks I would like to make

1. On the main page I have thumbnail images for the albums. Then there are text links to the sub albums. I want to turn off these text links. What code do I have to modify to do this?

2. The thumbnail images are set at 60x60 px. I want to alter this to 150x150px. Where do I have to go to change this?

3. Occasionally the albums vanish from the home page. A shift+refresh usually fixes the problem. I read somewhere this could have to do with site acceleration? Is anyone else experiencing this? Is this specific to the Tien theme? How can I prevent this from happening?

My site - http://www.petersteelephotography.com

Cheers
Danielle

 
artinet
artinet's picture

Joined: 2007-09-14
Posts: 17
Posted: Fri, 2007-09-21 19:23
jackald wrote:
i am in need of some help with the Tien theme.On the main gallery page underneath the main albums it lists subalbums. i can't figure out how to get rid of these so it does not list the subalbums underneath the parent albums.

RwD wrote:
Isn't that an option you can set in the admin area by changing "Depth of subalbums links" to 1? Either that or I do not understand which ia a subalbum. Tien displays "The current album" in which "subalbums" and "subitems" are displayed (this cannot be changed). Then there is an option to show "sub-subalbums", which I think is what you want to get rid of?

It's "Nr of subalbums displayed" in the "Theme" settings for an album. You can set it to 1 which will show 1 subalbum link, or to 0 which will show all the subalbum links, but you can't set it for no subalbum links.

I would also like to have no subalbum links showing on the top level album - is there any way round this?

Malcolm

 
artinet
artinet's picture

Joined: 2007-09-14
Posts: 17
Posted: Wed, 2007-09-26 17:40

I'm still looking for a way round this problem - has anyone else had any luck yet?

Malcolm

 
YBA

Joined: 2007-01-10
Posts: 33
Posted: Mon, 2007-10-01 11:09

Hi there

Has anyone found a solution to this?

Quote:
3. Occasionally the albums vanish from the home page. A shift+refresh usually fixes the problem. I read somewhere this could have to do with site acceleration? Is anyone else experiencing this? Is this specific to the Tien theme? How can I prevent this from happening? My site - http://www.petersteelephotography.com

As my site is starting to generate a lot of traffic, I have had to put a notice about a technical glitch on the home page, and would really love to fix this problem asap.

Cheers
Danielle

 
schuchz

Joined: 2007-11-03
Posts: 5
Posted: Sat, 2007-11-03 20:59

RwD, im very impressed with your theme..=) i have altered some parts of it..=) but i have a slight problem with it, because sometimes when i reload my page, my albums doesnt show,, what would be the problem? hope somebody would help me with this,, btw here's my site,, http://www.ifuinsist.000webhost.org/gallery/

 
skidpics

Joined: 2007-11-06
Posts: 43
Posted: Wed, 2007-11-07 15:54

Love the theme, but having some issues in Firefox.. attached are the screen shots of the issue. In IE, everything appears aligned and fine. In Firefox however, it does not. The top left links are off, and the admin sidebar is out of alignment. What do I need to fix this issue?

Skidpics
skidpics.com