PG theme

pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Wed, 2005-12-21 15:40

kerryman,

At theme.tpl:

Quote:
{if empty($theme.params.sidebar)}
{if !empty ($theme.params.link1) || !empty ($theme.params.link2)}
{$separator}
{/if}
<a href="#" onclick="ShowLayer('actions','visible')"
onmouseover="ShowLayer('actions','hidden')">{g->text text="Options"}</a>
{/if}
</td>
</tr>
</table>

after:

Quote:
<a href="#" onclick="ShowLayer('actions','visible')"
onmouseover="ShowLayer('actions','hidden')">{g->text text="Options"}</a>
{/if}

I think it should work if you add this:

Quote:
{* add items on top menu *}
{if $user.isAdmin}
{$separator}
<a href="{g->url arg1="view=core.ItemAdmin" arg2="subView=core.ItemAdd" arg3="itemId=`$theme.item.id`" arg4="return=`$theme.item.id`"}">Add Items</a>
{/if}

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

 
almost

Joined: 2005-01-12
Posts: 103
Posted: Wed, 2005-12-21 15:43

Thanks, Pedro. That did the trick.`

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2005-12-21 16:15
<div id="blocks{$item.id}" style="position: absolute; left:{$theme.params.sidebarL+140}px; top: {$theme.params.sidebarT+100}px; text-align:left; z-index: 20; visibility: hidden;" onmousedown="dragStart(event, 'blocks{$item.id}')"  class="BlockOpacity">
<div id="blocksIn{$item.id}" style="position: relative; left: 0px; top: 0px; width:500px; z-index: 10;" class="gcBackground1 gcBorder2">

didn't fix my issue - the comment on the entry page shows the "overflow". The issue is only on the first page - the album comments using the blockIC-block work fine.

CU
Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Wed, 2005-12-21 17:07

Lutz,

I don't know why but it works ok on IE but not on Firefox

CU
Pedro

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

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2005-12-21 17:58

I've checked IE and you're right, there it works...
and that after Firefox becoming my favorite browser - one of the strange misteries of ... CSS, I assume.
Thanks,
Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
almost

Joined: 2005-01-12
Posts: 103
Posted: Wed, 2005-12-21 19:36

I already felt like a fool. I read every entry (I think) in this thread, looking for a way to replace PG's classy upper-left logo with my own. I copied my logo.gif (and logoon.gif) into the PGthemes\images directory, and into each PG colorpack's images directory - and nothing changed. Then, finally, I remembered cache. I used site admin's Maintenance function to empty template cache and, voila, up popped my logo.

Now I'm spending time pushing hairs back into my scalp. (There aren't that many, although I had pulled most of them out.)

 
chrismgeary

Joined: 2005-12-15
Posts: 8
Posted: Wed, 2005-12-21 20:36

has anyone solved the undefined smarty errors?

eg:
HP Notice: Undefined index: item in c:\g2data\cg.co.uk\smarty\templates_c\%%4155887281\%%77^77F^77F2473C%%navigatorTop.tpl.php on line 5 PHP Notice: Undefined index: show in c:\g2data\cg.co.uk\smarty\templates_c\%%4155887281\%%77^77F^77F2473C%%navigatorTop.tpl.php on line 5 PHP Notice: Undefined index: photoItem in c:\g2data\cg.co.uk\smarty\templates_c\%%4155887281\%%77^77F^77F2473C%%navigatorTop.tpl.php on line 266 PHP Notice: Undefined index: photoItem in c:\g2data\cg.co.uk\smarty\templates_c\%%4155887281\%%77^77F^77F2473C%%navigatorTop.tpl.php on line 302 PHP Notice: Undefined offset: 1 in c:\g2data\cg.co.uk\smarty\templates_c\%%4155887281\%%77^77F^77F2473C%%navigatorTop.tpl.php on line 479

Gallery version = 2.0.2 core 1.0.0.2
PHP version = 5.1.1 cgi-fcgi
Webserver = Microsoft-IIS/6.0
Database = mysql 5.0.17-nt
Toolkits = Exif, ImageMagick, NetPBM, Gd
Operating system = Windows NT SRV1 5.2 build 3790
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

 
Radley

Joined: 2005-12-22
Posts: 6
Posted: Thu, 2005-12-22 04:32

My seperators aren't showing up with the PR Theme and in the slideshow I am seeing "?"

Any ideas

slideshow url

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2005-12-22 12:00

Pedro,

the example on your testpage works - even with my Firefox browser (ok it's too wide - but at least the height is correct)...
could you hint what you made?

Just checked how you entered the comment - if I use only [ img][/ img] it works at my site too - as soon as I put it into [url= ][img ]...[/img ][/url ¨] it displays faulty...

weird ...

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Thu, 2005-12-22 15:52

Lutz,

I made it as I wrote above (changing the "width" position), but the width is not working with Firefox...

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

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Thu, 2005-12-22 16:48

Lutz,
I think it's fixed, changing old "blocks{$item.id}" by:

Quote:
<div id="blocks{$item.id}" style="position: absolute; left:{$theme.params.sidebarL+50}px; top: {$theme.params.sidebarT+100}px; text-align:left; z-index: 20; visibility: hidden;" onmousedown="dragStart(event, 'blocks{$item.id}')" class="BlockOpacity">
<table width="500px" class="gcBackground1 gcBorder2">
<tr><td style="text-align:right">
<h2>Comments to "{$item.title|markup}"&nbsp;</h2>
</td></tr>
<tr><td>
{g->block type="comment.ViewComments" item=$child }
</td></tr>
<tr><td style="text-align:right">

{if empty($theme.params.colorpack)}
<a onclick="MM_showHideLayers('blocks{$item.id}','','hide')" onmouseover="MM_showHideLayers('blocks{$item.id}','','hide')" title="Close">
<img src="{g->url href='themes/PGtheme/images/'}close.gif" alt="close"/></a>
{else}
<a onclick="MM_showHideLayers('blocks{$item.id}','','hide')" onmouseover="MM_showHideLayers('blocks{$item.id}','','hide')" title="Close">
<img src="{g->url href='modules/colorpack/packs/'}{$theme.params.colorpack}/images/close.gif" alt="close"/></a>
{/if}

</td></tr>
</table>
<br/>
</div>

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

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2005-12-22 17:35

perfect - that fixed it - cool!!

Thanks a lot - and already Merry Christmas
Lutz

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Thu, 2005-12-22 17:53

I updated again the zip file, it's still RC7, with this bug fixed.

Fixed files:
album.tpl
photo.tpl
navigatorTop.tpl

Download again...
I'll be off a couple of days ... Merry Christmas and Happy New Year

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

 
tomcat76
tomcat76's picture

Joined: 2003-04-22
Posts: 133
Posted: Thu, 2005-12-22 19:50
LFrank wrote:
tomcat, that was one of RC6's issues ... upgrade to 7 - you will enjoy it :)

Hi Lfrank, many thanks have just upgraded but of course I now have the problem of it being exif data rather than comments.... I think I read of a fix but thought Pedro had fixed it in this release...

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2005-12-22 20:09

are you sure having got the latest RC7 version? Try to clear browser caches and reload it from Pedro's page - its fixed on my site sing the latest RC7

Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de

 
tomcat76
tomcat76's picture

Joined: 2003-04-22
Posts: 133
Posted: Fri, 2005-12-23 08:28

Hi Lfrank, well despite trying I just can't seem to hit the wrong number of ticks to display comment's they seem to work when I am logged on, but as soon as I log out or try guest, they vanish, I have downloaded from the link on here and from Pedro's site still the same... the icons below the main photo look the same though one is at a different angle to the other, I have no camera image for exit data so I've no idea what is wrong, and it was all looking so good...:-(

Regards Steve

 
chrismgeary

Joined: 2005-12-15
Posts: 8
Posted: Fri, 2005-12-23 11:16

anyone? the question has been asked a few times and not answered. am i doing something stupid?

 
Colt45

Joined: 2005-07-09
Posts: 48
Posted: Fri, 2005-12-23 20:47
chrismgeary wrote:
anyone? the question has been asked a few times and not answered. am i doing something stupid?

Have you tried clearing the template and database caches?

 
melmo

Joined: 2005-12-24
Posts: 1
Posted: Sat, 2005-12-24 13:19

My slide show doesn't look anything like the demo. Did I do something wrong?

slideshow url

thank you!

 
chrismgeary

Joined: 2005-12-15
Posts: 8
Posted: Sat, 2005-12-24 14:43

i have just done both. i click back on the home link and straight away i get:

PHP Notice: Undefined index: child in c:\g2data\cg.co.uk\smarty\templates_c\%%4155887281\%%73^730^730099F4%%album.tpl.php on line 78 PHP Notice: Undefined index: child in c:\g2data\cg.co.uk\smarty\templates_c\%%4155887281\%%73^730^730099F4%%album.tpl.php on line 78

I've even tried deleting the entire smarty directory but the problem still remains. The problem disappears if I use the matrix theme.

 
chrismgeary

Joined: 2005-12-15
Posts: 8
Posted: Sat, 2005-12-24 15:33

i may have answered my own question.
my php.ini file error level was set to: E_ALL

I set it to E_USER_WARNING and the problem goes away.

Whether there is an underlying problem or not, I'm not sure.
But I remember from previous PHP scripts I've used in the past that have worked
perfectly but when the error level is set to ALL you get errors that seem like red herrings.

Chris

 
almost

Joined: 2005-01-12
Posts: 103
Posted: Tue, 2005-12-27 15:14

PG, I updated your theme with the latest updates (12-22) hoping comments would show. That worked, but now the geometry of of the page is off. Formerly 4 items wide, width now wraps at 9 items. What's up??? (IE6)

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Tue, 2005-12-27 17:39

For those who wanted to display different "author BIO" on first page:

Quote:
This will work but you have to add the differente tpl files manualy:

download and substitute the "album.tpl" file by this one: http://www.pedrogilberto.net/gallery2/album.tpl

Then for each user create:

[username]_author.tpl (eg. "pgilbert_author.tpl")
and if you use the links at this page:
[username]_[link1].tpl (eg. "pgilbert_equipment.tpl")
[username]_[link2].tpl (eg. "pgilbert_portfolio.tpl")

**************
forget that, it will work only when you are logged on as a user.
I think the best way to do that is to put the bio informations on album description...
**************

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

 
tomcat76
tomcat76's picture

Joined: 2003-04-22
Posts: 133
Posted: Tue, 2005-12-27 18:27

Unfortunately I seem to have problems with the lastest update, RC6 seemed to be ok, but I decided I would like to add user commenting so upgraded to RC7 and simply cannot work out how to get the comments icons to show or the Exif icon to show, I have tried and tried but simply cannot get them to show, but I did manage at one stage to get some shown when I am logged in, if I log out or try the 'guest' option they disappear... such a great theme, just love the slideshow option but for me...... I think for the time being I will stick to G1.

Regards Steve

 
bellasiena

Joined: 2005-12-11
Posts: 9
Posted: Wed, 2005-12-28 04:11

While viewing your Gallery2 test site I noticed something during the Slideshow that I think you should reconsider. It's a minor point but the [+] sign next to the "Back One Image" is not intuitive, meaning I didn't know that that was for the slideshow tools menu. I would reconsider this and make the "[+]" a hot link (w/ the finger) and also have a flyout explaing that this is to expand the slideshow menu. I truly love the theme, great job! Gary

 
girl138
girl138's picture

Joined: 2005-12-28
Posts: 7
Posted: Wed, 2005-12-28 10:35

Please excuse me for being incredibly stupid. I absolutely love this theme and I have it up at my site http://unitedgrief.com/memorials , which is a memorial/community site for bereaved parents. Everything is working perfectly - but I can't for the life of me figure out how to add additional links to the top (where it has Site Admin | Your Account | Your Album | Logout). I need to add just one more in addition to the two that the theme allowed me to add through the themes control panel.

Again, I am so sorry for asking such a dumb question. If anyone can tell me which file I need to edit to accomplish this, I will be eternally greatful. Thank you SO much.

-jenna
www.unitedgrief.com
www.girl138.com

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Wed, 2005-12-28 14:01
Quote:
- I would like the columns to be spread evenly. When there is a long description in one of the columns it ruins the layout of the album.

I think I found a solution myself. However, it would be great if this could be implemented in a next version of this great theme because I would think it is nicer for everybody:

I changed line 608 and 626 of album.tpl from:

<td class="{if $child.canContainChildren}giAlbumCell gcBackground1{else}giItemCell{/if}">

to:

<td style="width: {$theme.columnWidthPct}%" class="{if $child.canContainChildren}giAlbumCell gcBackground1{else}giItemCell{/if}">

I have another request: instead of the option "Show Information", I would like to have a "Show Date", "Show Size" and "Show Viewcount" option. This would give more control over the information being showed.

Thanks again!

 
almost

Joined: 2005-01-12
Posts: 103
Posted: Wed, 2005-12-28 15:09

Pedro, you can see the wider-than-usual album referred to above at http://www.yantisgetaway.com/gallery/v/xmas05/ . I've found that the problem is introduced when the latest version of album.tpl (12-22) is used, and only occurs when comments have been posted. Reverting to the previous version fixes the geometry.

 
tanner

Joined: 2004-09-14
Posts: 6
Posted: Thu, 2005-12-29 16:40

Well I finally took a plunge and transitioned from Gallery 1 to 2. Had some difficulties at first (realized later than the Gallery 2.0 didn't meet the requirements for this theme and reinstalled it manually as it was an installable app via Plesk) and the theme ran fine.

The three quirks I noticed:

The initial layout for the top album, I specified for four columns but it refuses to budge off of three columns. If I switch theme, then it I get four columns, but move it back to PGTheme it goes back to three. *** Figured it out, had to change the ALBUM :: 1st Page - Columns per album page ***

Secondly, the other one is with the MicroThumbs used to build the navigation. I have the default, with four columns and show only twenty, but I'm getting 23 or sometimes 21 which is odd, the first twenty are correct, and when I click on an thumbnail, the images used for the thumbnail changes. Hard to explain, but you can see the behaviour here:

http://miketan.info/gallery2/main.php?g2_view=core%3AShowItem&g2_itemId=50

Click on the Porsche thumbnail in the lower right and you'll see the thumbnails get rearranged and such.

Lastly, when I add an album to the top, for some reason it'll have a link to an existing album but after adding a few images to the new album I created it'll display properly. Not sure what's going on.

System info:

Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.1 apache2filter
Webserver = Apache
Database = mysql 3.23.58
Toolkits = ImageMagick, NetPBM, Gd, Thumbnail, SquareThumb, Exif
Operating system = Linux plasma.squigly.net 2.4.25-040218 #1 SMP Wed Feb 18 17:59:29 CET 2004 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

All in all, PGTheme is one of the best ones out there!

 
diegogrone

Joined: 2005-12-27
Posts: 11
Posted: Thu, 2005-12-29 18:20

To all the people having problems installing the different colorpacks like PG Charcoal.
Make sure that you also have installed the colorpack module, which you can find here:
http://www.absolve.com/Gallery2Download%20-%20Gallery2%20Codex.htm
You have to download the zip.file and install this module.
Now under admin-modules-display you will find the new entry "colorpack".
Only after you have installed and activated this module,
you will see the option to choose a special colorpack.

 
ventrilqstman

Joined: 2005-12-11
Posts: 8
Posted: Thu, 2005-12-29 20:33

Hey this is a fabulouis theme!!! Really well done.
Got a cuople of questions however, if anyone can answer them...

The link at the top that says "Home" (it links to the main page of my gallery) It does not show ans image, just a red x.
Also can I remove the "Home" button. I'm using the gallery in an inline frame,and just showing one album on a page.I want to remove the links to other parts of the galley.

Also the buttons for slideshow, next photo, etc, just show a little square with a dot in it. Can I make that have icons, like an arrow,a slideshow icon etc.

And on the sample page for pg, in the nature photos the border has a faded/feathered look. How do i get that border? (right now I'm using
"pg white 3px")
One more thing. How do i set the pg theme settings, so that they apply by default every time a make a new album.
If you need to see an example the page is http://www.wildpix.biz/weddingsgallery1.htm
Thanks... Gavin

 
girl138
girl138's picture

Joined: 2005-12-28
Posts: 7
Posted: Fri, 2005-12-30 02:35
Quote:
"One more thing. How do i set the pg theme settings, so that they apply by default every time a make a new album."

Site Admin --> Themes --> All Themes

Then just make sure that the albums inheret settings fromt the parent album, like this:

-jenna
PG Theme hard at work: www.unitedgrief.com
My Blog: www.girl138.com

 
ventrilqstman

Joined: 2005-12-11
Posts: 8
Posted: Fri, 2005-12-30 07:48

Ok thanks.
Next question...
Can anyone tell me why the buttons (like "Home" "start Slideshow" etc. Are not ahowing an icon, just a box?
To see what I mean just go to http://floorcoveringhelp.com/gallery2/main.php?g2_view=core.ShowItem&g2_itemId=233
Gavin

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Fri, 2005-12-30 11:20

Hi guys.

Please can anyone give a pointer on this?

I have activated Mod Rewrite and it is working ok except when I use the Micro Thumbs.

Does anyone know why Mod Rewrite will not work with the Micro Thumbs and what to do to reverse this?

Thanks

Gallery Version: 2.0.2
Gallery 2 Site: http://imac-g5.dnsalias.com
PHP Info URL: Above Site/myphpinfo.php
Gallery 2 Theme: PGTheme (RC07)

 
isdexecutor

Joined: 2005-12-30
Posts: 1
Posted: Fri, 2005-12-30 12:54

Hi, great theme first of all.

because "Apply ImageBlock settings to sub-albums" cannot be unchecked at "edit album" page (it is allways checked), it is impossible to "ALBUM :: 1st Page - Link Thumbnail directly to photo page" at a sub-album level am I correct?

Example:
gallery holds 3 albums: A, B, C.
Albums B & C I want to have linked thumbnails. (When you click on the album thumbnail you get sent directly to the microthumbs).
Album A I want to act normally and display the sub-albums contained. But each of the subalbums I want to behave as above (linked thumbnails).

in other words I want the grid (giItemCell is it?) to be visible ONLY at sub-album level, never at photo level.

Anyone found a workaround for this?
thanks.

 
bprad

Joined: 2005-12-27
Posts: 1
Posted: Fri, 2005-12-30 13:38

Hi, Really nice theme.
But after I upload create my album and add pics to it, I'm not able to view them.
I get the following errors.
Notice: Undefined index: item in
g:\www\gallery2\g2data\smarty\templates_c\
%%1522125213\%%77^77F^77F2473C%%navigatorTop.tpl.php on line 5

Notice: Undefined index: show in g:\www\gallery2\
g2data\smarty\templates_c\%%1522125213\%%77^77F^77F2473C%%
navigatorTop.tpl.php on line 5

Warning: requireonce(g:\www\gallery2\modules\core\classes/../../../modules/comment/Callbacks.inc):
failed to open stream: No such file or directory in g:\www\gallery2
\modules\core\classes\GalleryCoreApi.class on line 2505

Fatal error: requireonce(): Failed opening required 'g:\www\gallery2
\modules\core\classes/../../../modules/comment/Callbacks.inc'
(include_path='.;C:\WIN32APP\MYPROG~1\EASYPH~1\\php\pear\') in g:\www\gallery2
\modules\core\classes\GalleryCoreApi.class on line 2505

I followed the suggestion of chrismgeary and set error_reporting = E_USER_WARNING, but it only ensures that the errors are not displayed. I switched bacl to E_ALL and I got the above errors.

Am I missing something glaringly basic?

Wish you a hapy new year.

Cheers

bprad

ps: It works fine without any errors when I switch to the default Matrix theme

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Fri, 2005-12-30 14:11

bprad, install comments module or, at navigatorTop.tpl change

Quote:
{g->callback type="comment.LoadComments" itemId=$item.id show=$show}

to:

Quote:
{if $theme.comments ==1}
{g->callback type="comment.LoadComments" itemId=$item.id show=$show}
{/if}

It should workout.

Dayo,
I' m working on that,
at navigatorThumbs.tpl everything with "core:" should be "core." (eg. core.ShowItem)
the same at navigatorTop.tpl with "core:" and "slideshow:" (eg. view=slideshow.Slideshow)

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

 
rick7

Joined: 2005-03-02
Posts: 168
Posted: Fri, 2005-12-30 15:55

Hi Gavin -- I checked out your Gallery and I'm having the same problem as you with my own Gallery. (I thought I sent a note here about this last night but it didn't seem to get posted!) Anyway, in Firefox when I click on 'Add Comment' or 'EXIF' below thumbnails on an album page, the words blink away and are quickly replaced by a blank box and then immediately return. The screen display jumps a little bit also. In IE6, I get only blank boxes. It seems like some sort of problem with the graphic images (I guess they're GIFs) of 'Add Comment', 'EXIF'. Same thing with the graphic text for 'firstprevious', 'nextlast', etc. Not sure what's going on.

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Fri, 2005-12-30 17:13

Nice one Pedro!

The Micro Thumbs now do the business. Slideshows still return the php variables but fine for me.

Now if you could just apply your genius to the summary / detailed exif switch.....

You are the man.

PS...Anyone know where I can get at the headings for the Image Block? I want to edit the heading "Random Image".

.

.

Gallery Version: 2.0.2
Gallery 2 Site: http://imac-g5.dnsalias.com
PHP Info URL: Above G2 Site/My PHP Info
Gallery 2 Theme: PGTheme (RC07)

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Sat, 2005-12-31 06:00

ventrilqstman

The reson you don't have an image there is probably because you don't have all the files for PGTheme. There are files called logo.gif and logoon.gif (with Pedro's Logo that you have to edit) that should be in each colorpack. As you are using PGCharcoal, they should be in "images" for that pack....Go to Modules, Colorpacks, Packs, PGCharcoal, Images. Yor site sems to be missing that directory and that is why call your icons are not showing up.

Anyway, to remove that "Home" link so go to PGTheme, Templates, Theme.TPL and delete this block of code

{if empty($theme.params.colorpack)}
<a href="{g->url}"
onmouseover="logo.src='{g->url href='themes/PGtheme/images/logoon.gif'}'"
onmouseout="logo.src='{g->url href='themes/PGtheme/images/logo.gif'}'">
<img id="logo" src="{g->url href="themes/PGtheme/images/logo.gif"}" alt="home" longdesc="home" /></a>
{else}
<a href="{g->url}"
onmouseover="logo.src='{g->url href='modules/colorpack/packs/'}{$theme.params.colorpack}/images/logoon.gif'"
onmouseout="logo.src='{g->url href='modules/colorpack/packs/'}{$theme.params.colorpack}/images/logo.gif'">
<img id="logo" src="{g->url href='modules/colorpack/packs/'}{$theme.params.colorpack}/images/logo.gif" alt="home" longdesc="home" /></a>
{/if}

Create a folder called "Local" in the templates directory, save the edited Theme.TPL there and leave the original as it is.

.
.
Gallery Version: 2.0.2
Gallery 2 Site: http://imac-g5.dnsalias.com
PHP Info URL: Above G2 Site/myphpinfo.PHP
Gallery 2 Theme: PGTheme (RC07)

 
rick7

Joined: 2005-03-02
Posts: 168
Posted: Sat, 2005-12-31 14:50

Ah, thank you Dayo -- I was having a similar problem with the GIFs not appearing correctly and your msg pointed to the solution. I was using BlueBottle -- a non-PG colorpack. I switched to a PG colorpack and now I get the icons. Seems a shame though that you can't use a non-PG colorpack -- BlueBottle is really my preferred color. Anyway, thanks much for your message.

 
rick7

Joined: 2005-03-02
Posts: 168
Posted: Sat, 2005-12-31 15:00

I've recently switched from G1 and preferred the look of G1's root page with one album highlight and its descriptive text per row, with the descriptive text to the RIGHT of the highlight. Is there a way to configure PG to do this? Can't seem to find the right option. The option to display this descriptive text on the root page at all seems to be 'ALBUM :: Items - Show Description'. But I can't find a way to say 'show this text to the right of the album highlight'. Thanks.

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Sat, 2005-12-31 17:32

Rick

Try this.

Go to modules/colorpack/packs/PGBlue and copy the images folder (the whole folder that is) to modules/colorpack/packs/bluebottle. This should give you blue coloured icons that will hopefully be close to the bluebottle.

Don't know much about the bluebottle pack but I assume it is mainly blue. You might also want to copy the four gif files dirctly under modules/colorpack/packs/PGBlue as well.

Gallery Version: 2.0.2
Gallery 2 Site: http://imac-g5.dnsalias.com
PHP Info URL: Above G2 Site/My PHP Info
Gallery 2 Theme: PGTheme (RC07)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2005-12-31 22:49

rick7, classic theme looks approximately like G1 root album (thumbs on left, text to right, optional subalbum tree). you can use that theme for just the top album if you like.

 
rick7

Joined: 2005-03-02
Posts: 168
Posted: Sat, 2005-12-31 23:28

Right, I was happy when I saw that Classic's root album looks like G1's. But then Classic's album pages continue the one-item-per-row theme, very different from G1 which allows a user-configured number of items for row and column for 'regular' album pages. (I always left mine at the default 3x3.) It seems that throughout G2 themes, "Rows per album page" and "Columns per album page" set values for both the top/root album and all 'regular' albums.

I'm intrigued, though, by your suggestion to use Classic 'for just the top album'. Can I use different themes for subalbums?

By the way, when we say 'subalbums' are we referring to anything below the root/top album -- i.e. what I'm calling 'regular' albums?

It's sure been frustrating not being able to get G2 -- with all its remarkable user customizability -- to look like what my users have been comfortable with for years! (I also really miss having a simple 'Add Comment' text link beneath each photo!)

Thanks VERY much for any help.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2005-12-31 23:56

Every album can have a different theme and different theme settings. You're probably changing the default theme and default theme parameters in site admin. Try going to your root album and clicking edit album / album tab. Pick a theme there (applies to just this album), then save and click the theme tab (settings for just this album).

 
rick7

Joined: 2005-03-02
Posts: 168
Posted: Sun, 2006-01-01 02:13

Thanks very much for all this help. One more thing: how do I change the "Photography by Pedro Gilberto" logo in the upper left to something else, or get it to not appear?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2006-01-01 02:54

not sure, probably in templates/theme.tpl

 
girl138
girl138's picture

Joined: 2005-12-28
Posts: 7
Posted: Sun, 2006-01-01 03:09
rick7 wrote:
Thanks very much for all this help. One more thing: how do I change the "Photography by Pedro Gilberto" logo in the upper left to something else, or get it to not appear?

i just opened the logo image file up in an image editor, changed it to my own logo, and resaved it with the same name.

 
triangular

Joined: 2005-12-21
Posts: 138
Posted: Sun, 2006-01-01 04:13

Please tell me, how can I prevent the full size popup window? I have unchecked all theme settings which mention POPUP in them, but the Full Size mouseover still appears and still works. If I go a step further and remove the EVERYONE group from access to the original image, leaving only rights to view resized versions, the popup still comes up but shows a broken image icon. Thank you.

Christian