PG theme

Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2006-09-03 15:54

Yep, it does!

In order just as I like it.

Thanks again.

.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
matze1106

Joined: 2005-03-14
Posts: 36
Posted: Tue, 2006-09-05 20:29
DesignsByIndy wrote:
Quote:
Posted: Sat, 2006-08-26 13:41

I'm kinda new to the whole gallery thing and I downloaded PGtheme and followed the directions like you said. But I keep getting this error:
Error
Error (ERROR_BAD_PARAMETER) :

* in modules/core/classes/GallerySmarty.class at line 109 (gallerycoreapi::error)
* in lib/smarty/Smarty.class.php at line 1584 (gallerysmarty::trigger_error)
* in lib/smarty/Smarty.class.php at line 1410 (gallerysmarty::_fetch_resource_info)
* in lib/smarty/Smarty.class.php at line 1256 (gallerysmarty::_compile_resource)
* in modules/core/classes/GallerySmarty.class at line 90 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 206 (gallerysmarty::fetch)
* in main.php at line 418 (gallerytemplate::fetch)
* in main.php at line 87
* in main.php at line 80

It doesnt happen until I try to set it as the default theme. (Gallery works great with the themes that came with it...it also did this when I tried the Carbon theme. ) I've run the "delete template cache". I've even gone as far as reinstalling gallery. Nothing works. I know I'm new and this is probably some stupid newbie mistake...but could you please help me?
I'd really appreciate it. Thanks!

Vicki

In case anyone else has this problem.I figured out how to fix it. I don't know exactly what was wrong but I had installed Gallery2 using the preinstaller. After uninstalling and reinstalling the full version on my own and uploading all themes it works fine now.

I've the same problem. At the top of my side I've this message "Security Violation - The action you attempted is not permitted."

I've uploading the full version over my older version and have uses the update installation. Any ideas?
----------------------
www.mkallweit.de

 
yahtzee

Joined: 2005-03-12
Posts: 97
Posted: Wed, 2006-09-06 17:34

Is there a way to show comments below the album thumbnails, instead of having to click the drop down menu bar on the left or actually going into the album to see the comments? Just looking for some type of indicator that comments exist inside? Suggestions?

Gallery version = 2.1.1 core 1.1.0.1
PHP version = 5.0.4 cgi
Webserver = Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysql 4.1.19-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, Thumbnail, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux serv01.siteground134.com 2.6.17.6 #1 SMP Wed Jul 26 02:58:25 CDT 2006 i686
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.5

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2006-09-06 17:40

yahtzee, yes - but you will have a "ContainChildren Check" on album level -- if you look at my site you will see the little Icon - if a comment exists

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

 
yahtzee

Joined: 2005-03-12
Posts: 97
Posted: Wed, 2006-09-06 19:08
LFrank wrote:
yahtzee, yes - but you will have a "ContainChildren Check" on album level -- if you look at my site you will see the little Icon - if a comment exists

Where do i enable that? In the site admin section under themes?

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2006-09-06 19:17

yahtzee - no, Pedro didn't put a variable for this - it was in album.tpl where the comments are shown - the if surrounding it contains a if "containsChildren" check as I remember correctly...

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

 
xephonia

Joined: 2006-09-06
Posts: 3
Posted: Wed, 2006-09-06 19:19

Since the search feature on the forums has been disabled, I can't really do too much digging. I've tried to scan all 26 pages of this thread so far, though, and I didn't see anybody mention this specific problem I'm having.

I'm using the latest version of the theme from the pgtheme.home.sapo.pt site. (PGtheme_V1.1RC1_Full_G2.1.zip)

When trying to do a search, I would get the "Smarty error: unable to read resource: "gallery:themes/PGtheme/templates/topNavigation.tpl"" error that's been mentioned in a few other posts. The topNavigation.tpl file does not exist in the theme .zip file, which is causing the problem. Future releases of the theme should either include the file, or remove references to it. For a quick fix, I just copied the file from the Nature theme's templates directory, since I already had it installed.

The problem I'm having now, however, doesn't seem to be mentioned anywhere else. I have the theme configured to have the Sidebar hidden by default and to show it when somebody right-clicks in my galleries. I have the Sidebar configured to have the search box at the top of it. When I use the Sidebar in Internet Explorer, I am able to left-click in the Search box and it will erase the "Search the Gallery" text and let me input my own search terms. When I use the Sidebar in Firefox 1.5.0.6, however, I am not able to left-click in the box at all. (Right-clicking the search box works, but it also brings up the browser's default right-click context menu and is not something that most users will try in the first place.)

Note: This only applies to the sidebar when it's configured to float, which is how I have it configured. The static sidebar works fine in both browsers.

I notice that on Pedro's site, the search box works as it's supposed to in both IE and Firefox.

I notice that on this site that was previously posted in this thread in regards to search errors, the search box fails to work properly just as it does on my site.

Any ideas as to what's causing this or how to fix it?

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2006-09-06 19:30

xephonia,
there is a little error in the code makeing the sidebar fly - it "flys" the wrong layer - I can dig it out if you like but earliest tomorrow morning ;)

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

 
xephonia

Joined: 2006-09-06
Posts: 3
Posted: Wed, 2006-09-06 19:40
LFrank wrote:
there is a little error in the code makeing the sidebar fly - it "flys" the wrong layer - I can dig it out if you like but earliest tomorrow morning ;)

If you could, that would be fantastic. I fear I'm too dumb to figure it out on my own. (Or maybe I just need to get some sleep...) At any rate, I will check back later. Thank you for your offer!

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2006-09-06 19:46

xephonia,

look in theme.tpl for the block below (should be near the end of the tpl).

{if $theme.params.sidebar == 'floating'}
        <div id="actions" style="position: absolute; left:{$theme.params.sidebarL}px; top: {$theme.params.sidebarT}px;  
z-index: 50; visibility: hidden;">
          <div id="actionsIn" style="position: relative; left: 0px; top: 0px; padding:6px; 
z-index: 40;" class="gcBackground1 gcBorder2">
            <div id="move" style="position: relative; left: 0px; top: 0px;  
z-index: 30;" class="gcBackground2" onmousedown="dragStart(event, 'actions')" title="{g->text text='click on this bar, drag and drop to move'}">
              <table class="Sidebar">
                <tr>
                  <td style="text-align: right">
                    <a onclick="MM_showHideLayers('actions','','hide')" onmouseover="MM_showHideLayers('actions','','hide')" title="{g->text text='Close'}">
                      <img src="{$imageURL}close.gif" alt="close"/>
                    </a>
                  </td>
                </tr>
              </table>
            </div>
            {g->theme include="sidebar.tpl"}
          </div>
          <br/>
        </div>
{/if}

the "dragstart" has to be only in the "inner" level - otherwise the block to enter the search can't be accessed...
Hope you can change this block yourself...
CU
Lutz

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

 
yahtzee

Joined: 2005-03-12
Posts: 97
Posted: Wed, 2006-09-06 20:01
LFrank wrote:
yahtzee - no, Pedro didn't put a variable for this - it was in album.tpl where the comments are shown - the if surrounding it contains a if "containsChildren" check as I remember correctly...

Im missing something....you are saying its in album.tpl?

 
xephonia

Joined: 2006-09-06
Posts: 3
Posted: Wed, 2006-09-06 20:29
LFrank wrote:
look in theme.tpl for the block below (should be near the end of the tpl).

the "dragstart" has to be only in the "inner" level - otherwise the block to enter the search can't be accessed...
Hope you can change this block yourself...

I should be able to figure that out...I hope. :D Thanks so much for the pointer!

 
o2kiosk

Joined: 2004-09-27
Posts: 4
Posted: Thu, 2006-09-07 19:06

Hi!

I have just installed the theme and everything seemed to be working alright. However when I try and edit the album nothing happens... I either get a blank page, half finished page or Opera tries to tell me to download main.php I have since tried to login with different browsers and edit the album but I still get the same problem!

Www.oxygenkiosk.net/photos

Any ideas? I may just scrap the theme if I can't get it to work, which is a shame as I have used it before quite happily.

edit to add: Forgot to say if I download the main.php and open it up in notepad it is blank?

TIA

o2Kiosk

 
saril

Joined: 2006-09-12
Posts: 1
Posted: Tue, 2006-09-12 05:28

I'm looking for the same too. The summary that I enter for the photos doesn't appear when I go to the album. Any help regarding this will be greatly appreciated. Here is my site (under creation): http://www.shubhsaril.iconsultancy.biz

 
inthedistance

Joined: 2006-03-24
Posts: 41
Posted: Tue, 2006-09-12 17:40

Hello folks,

PGTheme SPEED remains a huge problem and I'm searching for solutions. Specifically, the lag between clicking and a response. Once a page is loading, that speed is great and on par with the rest of my site. But there is a huge delay between when I make a selection and when I see that page start to load. I see it in my site and in other sites using PG Theme, most recently the ones posted above.

I have torn apart my TPL files to remove anything I don't want, which is a lot of what the PG Theme does, but anyway, its look is still exactly what I'm aiming for.

But the lag remains.

I can't run Zend or any other optimizer (I'm using LunarPages and so I'm limited in what I can do server-side).

What's left to tear apart? I've tried removing unwanted items from THEME.INC but without success -- I always introduce fatal errors (no surprise there).

I'm not a programmer, but I need to improve on this theme or else leave it behind. This is such a beautiful package with a lot of work that I hate to go back to Matrix, which loads instantly, or others which suit neither my desired style or function.

The result of all Pedro's effort is wonderful, but the lag is killing me (and users of my site).

How can some of the bloated code be cleaned up to make this theme perform better? Suggestions, comments?

Many thanks,
Matt

 
mvettas
mvettas's picture

Joined: 2005-07-23
Posts: 26
Posted: Thu, 2006-09-14 01:29

this is by far the best theme with minimal bugs thank you pedro.

question any chance of having an admin only visible option where it goves the physical link url to each image say for posting on forums etc, as it stands for me each image url is code so wont embed to a forum post.

cheers
michael

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2006-09-14 02:03
mvettas wrote:
question any chance of having an admin only visible option where it goves the physical link url to each image say for posting on forums etc, as it stands for me each image url is code so wont embed to a forum post.

http://codex.gallery2.org/index.php/Gallery2:Modules:geturls
you will have various urls for posts in forums BBs etc. Permissions to show as well.

Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
mvettas
mvettas's picture

Joined: 2005-07-23
Posts: 26
Posted: Thu, 2006-09-14 08:45

excellent thx dave

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2006-09-14 20:39

inthedistance

Have you tried the performance adjustments in Site Admin??
.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
ZED28

Joined: 2005-05-22
Posts: 22
Posted: Fri, 2006-09-15 03:18

I'm using the PGLightBox version of this theme and wanted to use the Charcoal color pack - which I've done. However, on clicking a thumnail to launch the Lightbox'd image, the background is white (or a very light gray) and I wanted to darken this down to a color more suited to the Charcoal color pack. Anyone know where I change the settings for this?

Many thanks!

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Fri, 2006-09-15 04:17

ZED28 - please join the Lightbox thread ... that's a lightbox issue to be handled with the lightbox.css ...

Gallery version = 2.2-svn core 1.1.16
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysql 5.1.11 beta-log,
Theme=PGlightbox,
Gallery-URL=http://lf-photodesign.de

 
inthedistance

Joined: 2006-03-24
Posts: 41
Posted: Fri, 2006-09-15 17:09
Dayo wrote:
Have you tried the performance adjustments in Site Admin??

Yes, I have, and the click-lag is still there. When you look at the massive amount of code in the theme files, when compared to the better-performing Matrix theme, it's clear that PGTheme is bloated. This frustration is compounded by the fact that most of the features of the theme are of no use to me (blocks, comments, slideshow, microthumbs, etc). So from the time I click to the time that all the excess code is processed, there has been a considerable delay.

What is the best way to pare the .tpl files and the theme.inc file to improve speed? Simply hacking stuff out has helped, but hasn't raised the performance enough.

I need this theme to run faster.

 
SpookiePower

Joined: 2005-10-04
Posts: 164
Posted: Fri, 2006-09-15 19:15

I have just moved my gallery from one server to another and allmost everythings
works just fine. But somehow the colorpack with PG Charcoal - Greypop did not
moved from the old server to the new one. I have forgot how to install the colorpack
and is not sure that I got it from this file http://prdownloads.sourceforge.net/gallery/g2-module-colorpack-1.0.0.zip
Can some one guide me here.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Fri, 2006-09-15 19:21

Spookie, the PGcolorpacks are seperate downloads on Pedros site

Gallery version = 2.2-svn core 1.1.16
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysql 5.1.11 beta-log,
Theme=PGlightbox,
Gallery-URL=http://lf-photodesign.de

 
SpookiePower

Joined: 2005-10-04
Posts: 164
Posted: Fri, 2006-09-15 20:03
LFrank wrote:
Spookie, the PGcolorpacks are seperate downloads on Pedros site

Thanks, I found it in the RC7 pack. But I just now found this message
in on the theme page -

greypop 1.0.0 1.0.0 Grey theme that makes images POP
Incompatible theme!
Core API Required: 6.5 (available: 7.3)
Theme API Required: 2.1 (available: 2.3)

The wierd thing is that is works just fine on the old server,
but not on the new server.

How can I fix this problem ?

Gallery version = 2.1.2 core 1.1.0.2
PHP version = 4.3.10-16 cgi-fcgi
Webserver = Apache/2.0.54 (Debian GNU/Linux)
Database = mysql 4.1.11-Debian_4sarge7-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, SquareThumb, Thumbnail, Gd, Getid3
Acceleration = none, none
Operating system = Linux web1 2.6.8+vserver #1 SMP Wed Jun 7 23:09:25 CEST 2006 i686
Default theme = PGtheme
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; da; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Fri, 2006-09-15 20:20

grey theme? Not only the color-pack? Seems to be made for an old version of Gallery.
YOu could try to adjust theme.inc (or module.inc) to the desired API versions as a hack - but might not fix the problem if it uses 'old', not longer supported functions ...

Gallery version = 2.2-svn core 1.1.16
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysql 5.1.11 beta-log,
Theme=PGlightbox,
Gallery-URL=http://lf-photodesign.de

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2006-09-16 05:05

inthedistance

Seems your best bet may be to choose another theme.

.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
SpookiePower

Joined: 2005-10-04
Posts: 164
Posted: Sat, 2006-09-16 09:17

I can't understand why it will not work.

I tryed to uninstall PG theme and install it again. Now I get this message

PG Theme 1.0.RC7 Gallery2 theme from WWW.PEDROGILBERTO.NET
Incompatible theme!
Core API Required: 6.5 (available: 7.3)
Theme API Required: 2.1 (available: 2.3)

On this site www.photo.activewebsite.dk I did an upgrade from gallery 2.1 to 2.1.2
and it works just fint.

On this site www.photo.box2600.dk where I have moved the site to, I did
a new install 2.1.2 on moved the site. Both runs 2.1.2 but only the old one works.

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Sun, 2006-09-17 17:44

Hi there...I am using PGtheme and I have noticed when browsing through my albums that the page number navbar URLS (i.e. page 1 2 3 4 5...20) don't match the URLs used in the <previous next> navbar. I am using the URL rewrite module and have set unique URLS for each page, but the page number navbar doesn't seem to use them while the previous/next navbar does. I know from experience with the search engines that using two URLS for the same page will cause indexing problems. Does anyone know how to make the page number navbar use the "pretty" URLs?

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Sun, 2006-09-17 19:34

there is an issue with the original NavigatorTop.tpl - at least with G2.2

Gallery version = 2.2-svn core 1.1.16
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysql 5.1.11 beta-log,
Theme=PGlightbox,
Gallery-URL=http://lf-photodesign.de

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Sun, 2006-09-17 22:53

From what I have been told this kind of issue can lead to pages being double indexed and penalized as duplicate content. Has anyone developed a fix for the issue? At least now I know where to find the code as I was looking in album.tpl

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2006-09-18 06:09

ichthyous - I made some fixes in the respective Lightbox files

Gallery version = 2.2-svn core 1.1.16
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysql 5.1.11 beta-log,
Theme=PGlightbox,
Gallery-URL=http://lf-photodesign.de

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Mon, 2006-09-18 12:57

LFrank, What are Lightbox files?

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Mon, 2006-09-18 13:01

ichtyous - if you're intrested - have a look here: http://gallery.menalto.com/node/54063

Gallery version = 2.2-svn core 1.1.16
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysql 5.1.11 beta-log,
Theme=PGlightbox,
Gallery-URL=http://lf-photodesign.de

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Mon, 2006-09-18 15:14

LFrank,

I saw your new version and it looks nice. However, I am running 2.1.1 and don't really want to change yet. I am wondering if there's a way to make the page-number navbar at the bottom use the rewritten URLS that the <previous next> buttons use? A temporary fix would be to use a 301 redirect in your htaccess file in order to redirect the "bad" filename to the proper one. This will avoid a dupe content penalty with the search engines, but it is a major amount of work that shouldn't be necessary if the code were fixed. I don't understand PHP well enough to know whether the fix to this problem is very complex or simple and nobody has gotten around to it yet.

 
niceguyx

Joined: 2006-09-10
Posts: 1
Posted: Sat, 2006-09-23 18:52

Has anyone seen this error?
Fatal error: Call to undefined function: relativerequireonce() in /home/niceguyx/public_html/gallery/modules/colorpack/classes/ColorPackImpl.class on line 31

Just installed the colorpacks for the PGTheme on Gallery2. Using the most recent version of all 3.

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Wed, 2006-09-27 04:14

Is PGlightbox the succesor to PGtheme for gallery v 2.2 now?

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2006-09-27 04:19

ichthyous, would more see it like a new, parallel, branch as long as Pedro doesn't catch up ... I've added a few things and changed a few ...

Gallery version = 2.2-svn core 1.1.16
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysql 5.1.11 beta-log,
Theme=PGlightbox,
Gallery-URL=http://lf-photodesign.de

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Wed, 2006-09-27 13:15

I upgraded to 2.2 last night and lost my PGtheme design entirely, so I installed PGlightbox and uploaded my old pgtheme local tpl files. For the most part it's worked fine, except for the photo pages. For some reason any OnMouseOver navigation cuases the photos to load in the upper left corner of the screen rather than in the page where they should. Not sure why, but when I disabled all OnMouseOver features it stopped. Also, for some reason the OnMouseOver opacity change for MicroThumbs doesn't work either...the thumbnails appear and work, but there's no rollover effect. Just as a test i deleted my photo.tpl page from the local directory, but nothing changed. An even bigger problem is that I don't have any lightbox features at all, even though I have enabled them. On a good note, Version 2.2 of gallery includes new url rewrite code that fixes the bottom page number issue where it wasn't using rewritten urls before. That's a major boost to SE friendliness for 2.2 except for the one major problem of the breadcrumb using highlight IDs which constantly change. From what I hear the only other option is to lose the navigation functionality that the highlight ids provide. Thanks for the upgrade Luts...if I see any bugs Ill let you know

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2006-09-27 13:14

ichtyous, you're welcome - if you find lightbox errors, please use the PGLightbox thread I've opened.
The new photo.tpl is completely redesigned to allow the little navigation thumbs to overlay the photo... if you mix old and new you'll get the photo displayed wrong (mainly CSS issues and the script used).

Gallery version = 2.2-svn core 1.1.16
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysql 5.1.11 beta-log,
Theme=PGlightbox,
Gallery-URL=http://lf-photodesign.de

 
zer0dmb

Joined: 2006-08-15
Posts: 5
Posted: Tue, 2006-10-03 00:35

Hi Board,

Does anyone know where the size dimensions are set for the icons in PGTheme? I am trying to replace the cart icons specifically, and just adding new addcart.gif and addcarton.gif files will not work since the dimensions have been defined and it squishes the new gifs into too small a space. I feel like I have looked all over, including icons.css, theme.css, etc. From navigatortop.tpl, I have found this:

   <a href="{g->url arg1="view=checkout.SelectProducts" arg2="itemId=`$theme.item.id`" arg3="return=`$theme.item.id`"}" 
onmouseout= "Vcart{$item.id}.src='{$imageURL}view_cart.gif'"
onmouseover= "Vcart{$item.id}.src='{$imageURL_on}view_carton.gif'"
title="{g->text one="(%d item in your cart) - " many="(%d items in your cart) - " count=$block.checkout.ShowCart.total arg1=$block.checkout.ShowCart.total}{g->text text=$theme.params.ViewCartText}">
<img id="Vcart{$item.id}" src="{$imageURL}view_cart.gif" 
alt="{g->text text='View Cart'}" title="{g->text one="(%d item in your cart) - " many="(%d items in your cart) - " count=$block.checkout.ShowCart.total arg1=$block.checkout.ShowCart.total}{g->text text=$theme.params.ViewCartText}"
class="icon"/></a>

Unfortunately, I don't know where these image size definitions are coming from? Anybody have an idea?

Thanks in advance,
/zer0

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2006-10-03 03:32

zer0dmb

The Icon files are just referenced in and are not resized.

.
Gallery Version: 2.1.1
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2006-10-03 04:18

zer0dmb, the class 'icon' in the theme.css sets a size

Gallery version = 2.2-svn core 1.1.17
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.6 mod_ssl/2.2.3 OpenSSL/0.9.8c
Database = mysql 5.1.11 beta-log,
Theme=PGlightbox,
Gallery-URL=http://lf-photodesign.de

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2006-10-03 04:37
LFrank wrote:
zer0dmb, the class 'icon' in the theme.css sets a size

Oops! : )

.
Gallery Version: 2.1.1
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
zer0dmb

Joined: 2006-08-15
Posts: 5
Posted: Tue, 2006-10-03 05:44

Thanks Lutz, I appreciate your help. I have been using your advice for so long without having to ask, but I finally had to! Thanks for the quick reply!

Anyone know why PGTheme doesn't display the "Items Added" text when something is added to the cart. I used to use the Carbon theme and it did this. Is this something I can turn on in PGTheme, or perhaps add myself. Any ideas on where to add it?

Thanks again to all!

/zer0

 
imageja.com

Joined: 2006-08-29
Posts: 7
Posted: Tue, 2006-10-03 17:33

imageja.com

 
imageja.com

Joined: 2006-08-29
Posts: 7
Posted: Tue, 2006-10-03 17:39

imageja.com Internet Explorer giving a 404 _ file not found whin i click print on digibug and icons not showing properly
but works ok with fire fox ( pg theme) .make reply very simple iam only a photographer

 
guyforget

Joined: 2006-08-28
Posts: 39
Posted: Wed, 2006-10-11 01:16

Sorry if this has been discussed before, but the search feature is disabled and Ive googled and read this thread entirely.

When using PGTheme is there any way to make it notate "new" and "updated" items and albums as there is with the default themes?

 
Dinictis

Joined: 2006-10-07
Posts: 4
Posted: Fri, 2006-10-13 23:25

I received this error msg while trying to configure PGtheme in gallery themes setting. Can anybody help me. Thanks in advance.

-----------------------------------------------------
Gallery2 (v 2.1.x) theme from WWW.PEDROGILBERTO.NET
Incompatible theme!
Core API Required: 7.0 (available: 6.8)
Theme API Required: 2.2 (available: 2.1)
-----------------------------------------------------

Website - http://www.dinictismedia.com (under construction)
Fotopages - http://dinictis.fotopages.com
Flickr - http://www.flickr.com/photos/dinictis

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2006-10-13 23:46

Install the correct version of the theme:
What version of gallery do you have?
http://codex.gallery2.org/index.php/Gallery2:User_Contributions#Themes
there is two versions of the theme