PG theme

Manji

Joined: 2005-09-22
Posts: 2
Posted: Thu, 2005-09-22 14:10

This might sound strange (speically posted here...) but i'm totally lost when it comes to CSS or HTMl though I know how to basically edit a file....

My question is, how do I change the main page (with the authors info) and the links (which are below the info)? (i mean which file should I edit....)

Cheers and thanks in advance

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Fri, 2005-09-23 17:05

Pedro, just noticed the "1.0" and its new features on your gallery2 site. Any chance to get an ETA of the new version?
The donloadpage still references the odl betas.

Looking forward at the new features I saw ;)
Lutz


Gallery version: 2.0 core 1.0.0
PHP version: 5.1.0 RC1apache2
Webserver: Apache/2.0.54 (Win32) DAV/2 mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.1.0RC1
Database: mysql 5.0.11
Gallery URL: http://lf-photodesign.de

 
oefz

Joined: 2004-10-26
Posts: 3
Posted: Sun, 2005-09-25 04:01

Manji, just edit the themes\PGtheme\templates\author.tpl file. You can also turn off the author information on the main page in the siteadmin panel (at themes -> pgtheme)
I hope this help,
Markus

 
Manji

Joined: 2005-09-22
Posts: 2
Posted: Sun, 2005-09-25 10:58

Thanks, i had figured it out some days ago. I'm still tweking it but PG seems very versatile.

http://manji.negimaki.com

Cheers

 
orasonm

Joined: 2005-09-20
Posts: 1
Posted: Sun, 2005-09-25 14:12

Hello all,
The theme is really awesome, thanks a lot Pedro.
I have a basic question:

How can I decrease the size of piucture/album names or change their font ?
As seen on the following link, they are way too big.
( [url=http://www.safoz.org/gallery2/v/America/San+Francisco/ ]http://www.safoz.org/gallery2/v/America/San+Francisco/ [/url])

Sorry if this has nothing to do with PG Theme.
Thanks a lot,
orasonm

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Mon, 2005-09-26 00:04

orasonm, edit theme.css and change
.giTitle, #gallery h2, #gallery h3, #gallery h4 {
font-size: 1.3em;
font-weight: bold;
color: #eee;
}

http://pedrogilberto.net/gallery2/theme.html
http://pedrogilberto.net/gallery2/

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Mon, 2005-09-26 00:08
 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Mon, 2005-09-26 05:02

There is a problem with your theme.tpl file. Please change the two lines in the head element:

<meta name="keywords" content="" />
<meta name="description" content="This is the main page of your Gallery" />

into

<meta name="keywords" content="" />
<meta name="description" content="This is the main page of your Gallery" />

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

 
alithenake

Joined: 2005-08-15
Posts: 13
Posted: Mon, 2005-09-26 11:41

Hello,

another question from me regarding this excelent theme. I don't know if its a Gallery issue or a theme related one, but I hope to find here an answer.

If you go to my page, on the first page that contains the description of the photographer (http://alin.popescoo.net), you can scroll down the page and see alot of empty space unde the litle icons on the left side (xhtml, gallery2 and insightful). Since my page fits into 1024x768 resolution I would like to disable the scroll (or to remove the empty space below). How to do that?

regards,
alin

http://alin.popescoo.net

 
RwD
RwD's picture

Joined: 2005-01-09
Posts: 383
Posted: Mon, 2005-09-26 12:13

I installed the latest version of PGTheme onto G2 final (unpossible) and the large bottom margin does not show up, where I did see it on your link. Try upgrading, it won't break anything...
______________________
I made a theme for G2, try it :)

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2005-09-26 17:05

PGilbert,

Some minor issues with RC1 ;)

- You forgot the "border=0px" for the Navigation Icons and
- the " &lt, /&gt in the meta tags makes some problems here.
- The color-pack icon is missing ... and there is a missing "/" which leads to the cpack.gif being searched i.e. in
../greymatterimages/cpack.gif and not ... greymatter/images.
- the "Options" Popup shows all actions on a line not in rows as before (I show the Item Actions in the Actions Popup not as Dropdown)

CU
Lutz


Gallery version: 2.0 core 1.0.0
PHP version: 5.1.0 RC1apache2
Webserver: Apache/2.0.54 (Win32) DAV/2 mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.1.0RC1
Database: mysql 5.0.11
Gallery URL: http://lf-photodesign.de

 
TimSee

Joined: 2004-03-23
Posts: 8
Posted: Tue, 2005-09-27 04:23

Love the theme but I'm seeing a strange problem. I see meta tags at the top of each page, displayed on the page. The tags on the main page appear to be origininating from my main index.html which simply redirects to the Gallery URL. The tags on album pages appear to be generated by the theme. For instance on my Miscellaneous Photo album, I see the following at the top of the screen:

<meta name="keywords" content="Miscellaneous" /> <meta name="description" content="A random collection of photos." />

I've tried deactiving/reactivating as well as clearing the template cache but I still see this meta-tag output.

Edit - I'm running the RC1 theme.

Any ideas on what's happening?

check out: http://cancila.com/gallery

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-09-27 05:50

TimSee, that could be the coded "<" and ">" at the meta-tags in theme.tpl (replaced by &lt; and &gt;) - it looks like some browsers/OS don't like that in the template - as I reported above. Try to fix it by replacing them back to "<" and ">".


Gallery version: 2.0 core 1.0.0
PHP version: 5.1.0 RC1apache2
Webserver: Apache/2.0.54 (Win32) DAV/2 mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.1.0RC1
Database: mysql 5.0.11
Gallery URL: http://lf-photodesign.de

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Tue, 2005-09-27 13:21

Released new upgrade PGtheme_V1.0RC1.zip
http://pedrogilberto.net/gallery2/PGtheme_V1.0RC1.zip
Hope bugs fixed.

LFrank,
I don't understand wath you are you refereing to

Quote:
- You forgot the "border=0px" for the Navigation Icons and
- the "Options" Popup shows all actions on a line not in rows as before (I show the Item Actions in the Actions Popup not as Dropdown)

http://pedrogilberto.net/gallery2/theme.html
http://pedrogilberto.net/gallery2/

 
TimSee

Joined: 2004-03-23
Posts: 8
Posted: Tue, 2005-09-27 13:23

That fixed it! Thanks, LFrank!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2005-09-27 13:41

EDIT: ignore this, I was looking at the wrong page and the wrong post ;)

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-09-27 13:55

PGilbert,

the Navigation Icons on the TopNavigator Template display a thick border (being clickable links)

 <img id="album{$theme.parents[parent].id}" src="{g->url href='themes/PGtheme/images/'}album.gif" alt="{$theme.parents[parent].title}" ...

in old versions, you had a style='border: 0'

<img id="album{$theme.parents[parent].id}" src="{g->url href='themes/PGtheme/images/'}album.gif" style='border: 0' alt="{$theme.parents[parent].title}" ...

preventing the border to be displayed.

and

I have a "Show Actions" in my Sidebar - until yesterday, I had it to display the single icons, not the dropdown. With RC, these icons weren't displayed row by row but in a single - very long - row (blowing up the sidbar over the whole screen).

The first one seems to be still valid for RC1 as I just saw in the code.

Best regards,

Lutz


Gallery version: 2.0 core 1.0.0
PHP version: 5.1.0 RC1apache2
Webserver: Apache/2.0.54 (Win32) DAV/2 mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.1.0RC1
Database: mysql 5.0.11
Gallery URL: http://lf-photodesign.de

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Tue, 2005-09-27 17:32

LFrank
At "navigatorTop.tpl" I added:

Quote:
<img id="album{$theme.parents[parent].id}" ...... class="navtoppic"

and at "theme.css" :

Quote:
.navtoppic{
width: 25px;
height: 22px;
border: 0;
}

I think that's working.

To the "Show ACtions" thing everything seem to work here!
Did you customize any thing?

http://pedrogilberto.net/gallery2/theme.html
http://pedrogilberto.net/gallery2/

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-09-27 17:47

hmm ... not on those files - I'm going to recheck
Thanks


Gallery version: 2.0 core 1.0.0
PHP version: 5.1.0 RC1apache2
Webserver: Apache/2.0.54 (Win32) DAV/2 mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.1.0RC1
Database: mysql 5.0.11
Gallery URL: http://lf-photodesign.de

 
djemberay

Joined: 2004-11-27
Posts: 6
Posted: Tue, 2005-09-27 18:15

I apologize for what may be an ignorant question, but first, I am stunned by your theme. I had this "fantasy" of my perfect theme and you created it. Incredible!

The question: what is the difference between 1.0rc1 and 0.106b5?

Thank you!

 
RayEarth

Joined: 2005-08-07
Posts: 10
Posted: Wed, 2005-09-28 01:56

Is it possible to make the "Add comment" (from drop down list) page a pop-up? Or even better, is it possible to put an inline add comment box on the photo page itself?

Great theme btw!

 
RayEarth

Joined: 2005-08-07
Posts: 10
Posted: Wed, 2005-09-28 01:58

I'm also having some issues with the micro-thumbs to display properly on Safari or firefox in OSX. I took a screenshot to show you what I mean.

 
vcdgeek

Joined: 2005-08-20
Posts: 56
Posted: Wed, 2005-09-28 05:47

How can I know which version of PGTheme is installed currently? I guess I installed around 20days back. Is 1RC1 is the latest?

Thnks,

 
vcdgeek

Joined: 2005-08-20
Posts: 56
Posted: Wed, 2005-09-28 06:04

Never mind. I got the previous. If anyone is wondering, its there in the modules section.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2005-09-28 09:47

djemberay,

the new RC has some additional new features like the previous/next/fullscreen mouseovers in the photoview


Gallery version: 2.0 core 1.0.0
PHP version: 5.1.0 RC1apache2
Webserver: Apache/2.0.54 (Win32) DAV/2 mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.1.0RC1
Database: mysql 5.0.11
Gallery URL: http://lf-photodesign.de

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2005-09-28 09:48

PGilbert,

I just saw that I have a \local theme.css which might probably be the cause of my sidebar issue - I'll fix and report asap.

CU
Lutz


Gallery version: 2.0 core 1.0.0
PHP version: 5.1.0 RC1apache2
Webserver: Apache/2.0.54 (Win32) DAV/2 mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.1.0RC1
Database: mysql 5.0.11
Gallery URL: http://lf-photodesign.de

 
nicheplayer

Joined: 2005-08-03
Posts: 35
Posted: Wed, 2005-09-28 13:40

I installed this theme last night on the final release of Gallery2, and everything appeared to work fine. This morning I'm having trouble with my theme admin pages.

I'm unable to change to a different theme. Under the "Defaults" tab, the only thing that appears is a pulldown for default sort order. Under the "Classic" and "Matrix" tabs, the last thing on that page to load is the "blocks to show on photo pages" option, and at the very bottom of that block there are two forward slashes (//). Nothing more. On the PG Theme tab, the last thing on that page to load is "MicroThumbs - background color, only works without Color Pack (ex. 787878)." There are no Save and Reset buttons.

If I go to edit an individual album's theme, the theme settings page loads all the way; i.e., I get the Save and Reset buttons.

System info is as follows:

Gallery version = 2.0-rc-2+ core 0.9.37
PHP version = 5.0.4 apache
Webserver = Apache/1.3.33 (Darwin) PHP/5.0.4
Database = mysql 4.0.25-standard
Toolkits = ArchiveUpload, Exif, ImageMagick
Operating system = Darwin cube.local 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

I did install Zend Optimizer last night. Might that have something to do with it? TIA.

 
djemberay

Joined: 2004-11-27
Posts: 6
Posted: Wed, 2005-09-28 18:00

Is it possible when clicking on an album at the leaf-level to have it go straight to the first photo with the micro-thumbnails navigation rather than showing the large thumbnails and then getting the micros after clicking on a large thumbnail?

Thanks!

-raymond

 
tnelms
tnelms's picture

Joined: 2005-01-20
Posts: 4
Posted: Wed, 2005-09-28 18:55

I was having the same problems and it does appear it's the Zend Optimizer that is causing the problem. I disabled it and everything works fine.

Terry
http://www.nelmsphoto.com/

 
nicheplayer

Joined: 2005-08-03
Posts: 35
Posted: Wed, 2005-09-28 19:10
tnelms wrote:
I was having the same problems and it does appear it's the Zend Optimizer that is causing the problem. I disabled it and everything works fine.

Darn. I was hoping this wasn't the answer. I need every ounce of speed I can get after (up)grading to Gallery2. Thank you for your reply!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2005-09-28 19:24

If you need speed then try a PHP accelerator, like eaccelerator. Zend, from what I'm told, only gives a marginal performance increase and it's buggy with G2.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2005-09-28 19:31

PGilbert,

everything fine now - it cached a local copy of the theme.css and .js in a local folder and didn't use the updated ones.

Great
CU
Lutz


Gallery version: 2.0 core 1.0.0
PHP version: 5.1.0 RC1apache2
Webserver: Apache/2.0.54 (Win32) DAV/2 mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.1.0RC1
Database: mysql 5.0.11
Gallery URL: http://lf-photodesign.de

 
scishop

Joined: 2004-12-31
Posts: 11
Posted: Wed, 2005-09-28 20:27

The mouseover navigation icons are buggy when fading in is not enabled.

 
scishop

Joined: 2004-12-31
Posts: 11
Posted: Wed, 2005-09-28 21:08

Macintosh photo fade-in is buggy.

Safari: Loading gif does not animate. Photos fade in before completely loaded. Slightly ugly but usable.

Firefox: Photos never fade in. They simply never appear. Do not use this option if you have users using Firefox Mac.

 
djemberay

Joined: 2004-11-27
Posts: 6
Posted: Thu, 2005-09-29 07:24

I think I have a bug with the micro-thumbnails. I changed the column width from the default of 4 to my preferred 3 wide and when I navigate towards the middle of the photo set, I get the ellipsis not being counted as a thumbnail and forcing the table to 4 wide again. To see this, go to www.rayhand.com and select photographs.

Hope this helps. Wonderful template...

-raymond

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-09-29 23:18

Pedro asked me in a PM about not including the first/last items in the set of peers.. it is possible to omit these in your tpl with some complex {if} conditions.. but it's easier to deal with if the returned peer data just has what you want. So I added a new addEnds parameter for the LoadPeers callback.. it defaults to true, but pass a value of false and it won't add the first/last items into the peer data.

 
dmartien

Joined: 2005-09-30
Posts: 11
Posted: Fri, 2005-09-30 04:19

Thanks for the great theme! Very elegant look.

I am having a couple of problems:

1. The mouseover for next and previous and full size is not working for me. I *think* that I have the right options enabled. I have enabled all of the options that have text like "Photo Navigation (OnMouseOver) - Show navigation pics on the TOP of the Photo". Is there anything else that I need to do to enable this?

2. Fading in does not work for me. I have "Photo - Show Photos fading in" enabled.

I know that my browser is not the problem, because these features work for me on other galleries, (such as Pedro's gallery2) which use this feature. Does anyone have any clues as to what I should try? Thanks!

I assume that both of these features use jscript, so that could be a factor. Other jscript stuff, like mouseover highlighting on microthumbs, works fine, though.

Site is http://themartiens.com/Gallery . I can provide other info if it's helpful.

P.S. A minor one for Pedro: the icon shown at the bottom of the page for the theme is still labeled as 0.1 even though version is now 1.0.

P.P.S. Pedro, the microthumb navigator on your gallery2 site is very cute-even better than the one in the 1.0RC1 distribution. Any chance you will share that with us?

Thanks!

 
nicheplayer

Joined: 2005-08-03
Posts: 35
Posted: Fri, 2005-09-30 20:19

Sure enough, disabling Zend Optimizer solved the problems I was having.

I'm loving this theme. Thanks so much Pedro (and others who've contributed such great feedback).

Here's a link to my gallery, http://nicheplayer.net/gallery2/, for anyone who's interested. Pretty plain, but I like it that way.

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Fri, 2005-09-30 20:44

Is it possible to use the modified slideshow of this theme only when this theme is selected? I run a couple of different gallery's (using the multi-gallery setup) and use this theme only for 1 of the gallery's.

 
dmartien

Joined: 2005-09-30
Posts: 11
Posted: Fri, 2005-09-30 22:41

Update on my post that is three above this one:

I've gotten the fading and mouseover navigation links working with some help from a friend of mine. As it turns out, you must have the ImageFrame module installed and be applying a frame to your images in order for these features to work. Perhaps the fade in and mouseover navigation are placed in the same layer as the frame?

Thanks for the great theme, in any case!

 
pjfenneran
pjfenneran's picture

Joined: 2005-09-23
Posts: 7
Posted: Sat, 2005-10-01 00:56

So I am feeling pretty useless...just to state I am a newbie (utterly) with coding language, design, etc. But I installed the theme (great theme) but for some strange reason after install/activation and then setting the theme as the default it doesn't do it. But when I edit the album to put the PG theme as it's default the album will have the theme installed. Take a look http://www.fenneran.com/atlanta/gallery/v/ . If someone could get in touch with me here or offline I will be very thankful. Nothing like self teaching coding.

Patrick (email:pjfenneran@bellsouth.net)

FYI - I am pretty impressed with the examples that the members here have done with the theme.

 
vcdgeek

Joined: 2005-08-20
Posts: 56
Posted: Sat, 2005-10-01 05:36

Iam having problems with the slideshow. It gives error as follows
Error:Unknown runtime error
Code: 0
URl: http://<mydomain.com>/g2/main.php?g2_view=slideshow%3ASlideshow&g2_itemId=789&g2_GALLERYSID=

This works fine on Firefox. Anyone knows abt this? Pls help me.

 
vcdgeek

Joined: 2005-08-20
Posts: 56
Posted: Sat, 2005-10-01 05:43

Anything to do with the fact that I upgraded to PGTheme1.0. This worked fine in previous version of PGTheme.

 
cs2_1979
cs2_1979's picture

Joined: 2005-09-12
Posts: 18
Posted: Mon, 2005-10-03 08:10

I changed the logo and logon in PG theme but did not change the pixelsize. Nevertheless the width size of all pages has changed slightly so that the text 'Options' and the word 'reserved' (from the line 'all rights reserved') are cut off like you can see in the attachment. Also the right and bottom slider bar got the same colour as the page background and can not be seen clearly.
Can anyone of you inform me how I could change this small but annoying feature?
Appreciate your help. Regards.

 
tapper

Joined: 2005-10-03
Posts: 3
Posted: Mon, 2005-10-03 14:08

Can someone please tell me which file to edit, and where in that file to make the edits so I can have a Welcome Message on my 1st page (similar to Pedro's Gallery home page).
I am using the PG theme w/ the Charcoal colorpack and it gives me a large empty box on the left side with the album thumbs in a box on the right.

I'd like to put text and notes in the big box on the left but I don't know which file to put it in.

Thanks for any help you cna give,

Bob

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2005-10-04 05:53

tapper, in your PGtheme templates, there should be an author.tpl which you can use to add some text.

Gallery version: 2.0+ core 1.0.1
PHP version: 5.1.0 RC1apache2
Webserver: Apache/2.0.54 (Win32) DAV/2 mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.1.0RC1
Database: mysql 5.0.11
Gallery URL: http://lf-photodesign.de

 
SpookiePower

Joined: 2005-10-04
Posts: 164
Posted: Tue, 2005-10-04 16:29

Where do I upload new pictures and create new albums ??
The "gallery" link where I was able to do that, dissapered
when I installede PGTheme.

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Wed, 2005-10-05 13:51
sddroog wrote:
Is it possible to use the modified slideshow of this theme only when this theme is selected? I run a couple of different gallery's (using the multi-gallery setup) and use this theme only for 1 of the gallery's.

Anyone?

 
SpookiePower

Joined: 2005-10-04
Posts: 164
Posted: Wed, 2005-10-05 14:43

No problem anymore. Found out that I had to click the option-link to the right to make new albums.

 
pjfenneran
pjfenneran's picture

Joined: 2005-09-23
Posts: 7
Posted: Wed, 2005-10-05 15:06

If anyone has any suggestion on how to correct my issue (reminder I changed the default to PGtheme but the theme is not showing. Only in the individual albums). Here is what I did to install...I unzipped locally…etc. When I unzipped it created two separate folders (themes and modules). I copied the themes folder in //gallery/themes and I expanded the modules folder to the colorpack files and put them in //gallery/modules/colorpack/packs/ on the server. The second issue is that I do not see the color choices either in the site admin page. I am thinking I didn’t load it correctly. http://www.fenneran.com/atlanta/gallery/v/