PG theme

dunnie

Joined: 2005-04-23
Posts: 2
Posted: Mon, 2006-01-09 05:42

Hi,

I love your theme. Is there a way to prevent the right click on the full screen image mode ? Also is there a way to have teh copyright information correspond to the albumn owner ? I t would be great to pop-up a copyright message personalized to the albumn owner.

Thanks !!

Dunnie

 
cferd
cferd's picture

Joined: 2005-02-14
Posts: 2
Posted: Mon, 2006-01-09 10:28

Pedro,

First let me say that this theme is absolutely wonderful, I'm loving it.

It seems that the 'album information' disappears with "Revision: 1.07" of the album.tpl that you provided. The information shows up fine with "Revision: 1.06", so I'm back to using that for now.

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Mon, 2006-01-09 11:34

saul11, i made that to name diferently pics on top and bottom to work with javascrpits onMouseOver and onMouseOut if the user choice to display navigator pics ont top and bottom off the photo at same time.

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

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Mon, 2006-01-09 11:39

alyssatx,

edit "theme.inc"

and after

Quote:
case '1.0.RC2':
/* We now require theme API 2.1 */

enter this line:

Quote:
case '0.10.4':
/* We now require theme API 2.1 */

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

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Mon, 2006-01-09 11:43
 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Mon, 2006-01-09 13:15

Hello pgilbert,

Thanks for the reply. I have been able to get the same result with only one navigatorPhoto.tpl file. I did this by renaming one of the two files to navigatorPhoto.tpl and replacing the 'T' or 'B' of every iconName by {$position}, a variable I defined in photo.tpl just before calling the navigatorPhoto.tpl. So photo.tpl now has four entries of these two lines:
{assign var="position" value="bottom"}
{g->theme include="navigatorPhoto.tpl"}
Where position is 'bottom' or 'top'.

Considered afterwards, it is stupid of me to first implements lots of new features into my theme and then cleaning up the code. I should have done this the other way around so you could easily take it over.
I'll be posting my theme on the forums within a couple of weeks I hope. I'll drop a note here and maybe I can help to merge the two themes anyhow or help you take over any features of my theme. And hopefully you can help me with some bug patches you've made that are not included in my theme.

 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Mon, 2006-01-09 14:10

Pedro,

I'm afraid that your checkout support doesn't work by just checking if the checkout is active. I think you have to duplicate every piece of code for the cart and replace 'cart' in the URL argument by 'checkout' in the new pieces (so 'controller=cart.AddToCart' becomes 'controller=checkout.AddToCart'.
I've been thinking to have 'theme.inc' see which cart is active and register that one on the cart instance... So that no tpl file has to be altered. I have been posting this here and Bharat replied, but I haven't been able to implement it.

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Mon, 2006-01-09 14:26

saul11

you're right, i made this checking at theme.inc but also some changes to the code at album.tpl, navigatorPhotoBottom.tpl,navigatorPhotoTop.tpl and navigatorTop.tpl
where i had

Quote:
if ($theme.cart ==1

I have now

Quote:
if ($theme.cart ==1 || ($theme.checkout ==1 && (!$user.isGuest && $theme.guestPreviewMode !=1)))

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

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Mon, 2006-01-09 14:38

Saul

Before you release your theme into the wild please consider getting together with Pedro to discuss releasing a "PGTheme2". This will let us enjoy the benefits of both your work.

Pedro can basically stop work on v01 which works really and look to merging your stuff into a v2. I am sure he will be happy to give the neccesary credits and we, the grateful users, can add a link to your site to our pages too!

Please, please please think about it.
.
Gallery Version: 2.0.2
Gallery Theme: PGTheme (RC07)
Web Site: http://dakanji.com

 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Mon, 2006-01-09 14:42

So you are saying the checkout module now is supported by the PGTheme?
When I have the cart module of and the checkout module on, and click on an "add to cart" icon for any item I get:

Error (ERROR_PERMISSION_DENIED)

* in modules/core/classes/GalleryController.class at line 153 (gallerystatus::error)
* in main.php at line 165 (gallerycontroller::loadcontroller)
* in main.php at line 87
* in main.php at line 80

I think you are trying to add the item to the cart (ontroller=cart.AddToCart) and not to the checkout (controller=checkout.AddToCart)

 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Mon, 2006-01-09 14:49

Dayo,

I think it will be hard at this stage to merge both of the themes. I used the PGTheme V1.0RC7 (Thu, 2005-12-22) with the snow colorPack to start from. I've added several features and toyed around in the code. Fetching all changes made to the PGTheme and my theme after that point and putting all into a new version will be quite difficult I think. But you are very right when you want both themes to benefit from any work of both us or anyone else of course...

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Mon, 2006-01-09 17:13
 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Mon, 2006-01-09 17:47

Saul

Well if that is the case, then so be it.

A question to you and Pedro

Can you please give me a pointer on how I can load a variable in the exif module (I know it is core and outside the theme) and be able to access the value in it in photo.tpl.

Thanks

Gallery Version: 2.0.2
Gallery Theme: PGTheme (RC07)
Web Site: http://dakanji.com

 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Mon, 2006-01-09 18:34

I had a look for you, but haven't found anything actually :(
Maybe you can address the variable like this $block.exif.varName but I don't know how you can add this var... Maybe you better try in the exif module thread -if it exists- or in the developers channel on IRC.

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Mon, 2006-01-09 18:57

Ok thanks for trying.
.
Gallery Version: 2.0.2
Gallery Theme: PGTheme (RC07)
Web Site: http://dakanji.com

 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Mon, 2006-01-09 19:54

Finally I think I have it now.
Pedro I have managed to support the checkout module without the need of new links for it.
I've added this method to theme.inc

Quote:
function findCartModuleName($template)
{
list ($ret, $pluginStatus) = GalleryCoreApi::fetchPluginStatus('module');
if (!empty($pluginStatus['cart']['active']) && !empty($pluginStatus['checkout']['active']))
{
return false;
}
elseif (!empty($pluginStatus['cart']['active']))
{
$template->setVariable('cartModuleName', 'cart');
}
elseif (!empty($pluginStatus['checkout']['active']))
{
$template->setVariable('cartModuleName', 'checkout');
}
return true;
}

Than called the method in 'showPhotoPage' and 'showAlbumPage' like this

Quote:
if ($this->findCartModuleName($template))
{
return array(GalleryStatus::success(), 'theme.tpl');
}
else
{
return array(GalleryStatus::error(ERROR_CONFIGURATION_REQUIRED, __FILE__, __LINE__, 'Both the cart and the checkout module are activated. This theme can only handle one cart at the time, so please deactivate one of them in the admin.'), null);
}

Thus replacing the line

Quote:
return array(GalleryStatus::success(), 'theme.tpl');

Now in every tpl file showing the cart link, I changed the controller in the link from 'cart' to $cartModuleName

Quote:
href="{g->url arg1="controller=$cartModuleName.AddToCart" ...}"

And it works.

return array(GalleryStatus::error(ERROR_CO... directs to the errorPage with the containing message to tell the admin that he has both the cart and the checkout module on. The module just needs only one, so the admin is asked to deactive one of them...

Hope you have some use of this. You can also check my files here.

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2006-01-10 06:49

saul11,
strange - I have cart and checkout running harmonically together since early RC's by only replacing the
'cart' with 'checkout' in the"href = "{g->url arg1="controller=cart.AddToCart" ...}" statements in the respective templates (localized). And I have to confess having patched the checkout files to read "purchase" instead of cart (i.e. instead of "You have 1 photo in your cart" it says "You have purchased 1 photo").
I don't like the idea to force inactivation of one of the carts as one currently needs both - as only cart offers ZIP download - until the modules have been merged.

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

 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Tue, 2006-01-10 09:19

LFrank,

By replacing cart by checkout in the controller for the links, you choose for the checkout module and thereby remove the "Add to cart" link for the cart module, undependant on what module is installed. With my code, I do almost the same, but I just look which module is active and I let the controller in the links point to that one.
I think when you want ZIP support, you'll have to choose for the cart module (untill they are merged that is) because having both modules up and running will confuse your visitors, because they will see two carts then. I think forcing only one up at the time is the best thing to untill they are merged...

 
pgilbert

Joined: 2005-03-28
Posts: 157
Posted: Tue, 2006-01-10 10:19

saul11,

At "tpl" files you will have to make diferent code to cart and to checkout,
the way it displays as administrator i think is diferent, and there are diferent permission to, eg. to display the link at album.tpl I made this check:

Quote:
{if ($theme.cart ==1 && ($user.isGuest || $theme.guestPreviewMode ==1)) || ($theme.checkout ==1 && (!$user.isGuest && $theme.guestPreviewMode !=1) && isset ($theme.permissions.checkout_purchase))}

or am i wrong?

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

 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Tue, 2006-01-10 10:32

I now do not have to provide different code in every tpl file for the links for the cart mod and the checkout mod. Both use the same links. The 'theme.inc' file decides which module will be addressed by the links. See the code I posted above..
For the admin indeed, the cart/checkout actions are listed in a list selection box, so the links don't have to show for him (only in guestPreviewMode indeed)
Or am I misunderstanding your question?

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Tue, 2006-01-10 11:19

saul11,

jup - but with a little patching of the checkout-code, the two carts are clearly differentiated by title and text's below. But I agree - the optimum will be the (hopefully once) coming merge of the two modules itsself.

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: Tue, 2006-01-10 11:29

saul11,
In order to work with permissions, if checkout is active will have to use:
"$theme.permissions.checkout_purchase", i think.

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

 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Tue, 2006-01-10 12:58

Oh yeah you're right. I forgot about the permissions. And I also forgot to reckon with whether the blocks actually are set to show on the current page (also the comment links just show when the block is active, nevertheless it is not set to show on the current type of page)....
Well I think I'll leave this for later :-/

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Tue, 2006-01-10 20:29

Pedro

There is this piece of code at the top of theme.js. I know it says users should customise it but I for instance only just stumbled on it after moving from total noob to just a noob. It may partially account for some user problems as the url is linking back to your site.

I have been swotting on Javascript and found you can get it automated by changing this....

// here you have some variables to custumize..
var url="http://www.pedrogilberto.net"; // Favorits 'url'
var title="PedroGilberto.net"; // Favorits 'title'
// customization end

to this....

// Edit this variable to your choice of title.
var title="Enter a title of your choice"; // User title
// customisation end

// Load User URL
var url=location.protocol + "//" + location.host; // User url

so that the url is automatically updated and only one (less important) variable has to be updated by the user.

Hope it is useful.

Gallery Version: 2.0.2
Gallery Theme: PGTheme (RC07)
Web Site: http://dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Tue, 2006-01-10 20:50

By the Way Pedro.

The popup full size bug is still raging (at least on firefox). Unchecking all the boxes in Admin does not make a difference. It doesn't come at once but when you hold your mouse in place at some positions for a while, it comes up. When it is clicked though, the pop up comes up but does not show the image.

I am about to delete the reference to it completely from PhotoNavOver.tpl
.
Gallery Version: 2.0.2
Gallery Theme: PGTheme (RC07)
Web Site: http://dakanji.com

 
eryxxx

Joined: 2005-09-05
Posts: 30
Posted: Wed, 2006-01-11 06:35

In G2, v 2.0.2 with PgTheme 1.07 I would like to add more menu items on the frontpage - on the same place as "Log In, Options". I would like the to fill up from right to left. The Themes settings gives the possibility to add two more menu items, but I would like to add several more. Does any of you know which files that need to be edited to be able to achieve this?

Hopefully can any of you point me in the right directions.

 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Wed, 2006-01-11 07:38

eryxxx,

Open theme.tpl and add your link in the table cell where the 'SystemLinks' and 'link1url'/'link2url' are. Don't forget {$separator} for putting a bar between the links. You can also bear in mind to have a look to my extensions to the theme which I will probably release withing a couple of weeks. I've made an option to include an external file with menuitems, but the included menu is positioned on a seperate line and not together with the systemLinks...

 
eryxxx

Joined: 2005-09-05
Posts: 30
Posted: Wed, 2006-01-11 07:48

saul 11, thank you for your reply! As soon as I get home from work I will dive into it. I will also look for your extension.

Best regards, Rune

 
megad

Joined: 2005-11-09
Posts: 22
Posted: Wed, 2006-01-11 13:45

I did some more testing and was able to confirm, this theme does lock up my computer

I reset my albums to the default gallery theme and everything works great

switched to the newest pgtheme with default options, and firefox locks up hard, some type of scripting loop

I really love pgtheme but I'm unable to use the current version

 
BitBass

Joined: 2005-12-23
Posts: 9
Posted: Wed, 2006-01-11 15:47

I've (tried to) read through this entire thread to find the answer to this and I've seen a similar question asked several times but still no answer. So here goes again:

I've tried modifying both author.tpl and album.tpl to do the following. I'd like to be able to embed some php into either of these pages. Simply I want to show the client's IP address. I've tried this:

Here's your IP address {php} echo ($REMOTE_ADDR);{/php}
<br>
Or here: {php} echo gethostbyaddr($REMOTE_ADDR);{/php}

The first simply gives me nothing after the text. The second line gives me Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /home/thebrook/g2data/smarty/templates_c/%%558590803/%%65^65F^65FE5C6C%%author.tpl.php on line 18

So, how do I embed php code?

Also, I'd like to link to another page that retains all of the formatting of PGtheme. This page could either be separate or in the same space(frame?) as author.tpl. If I link to another tpl file using the g->url I get an error.

Basically I want to use G2 and PGtheme as my root page and have the rest of the site embedded inside of it. I don't have many other pages but there are a couple of informational and link type pages.

Pedro, this theme is so sweet that it made me decide to make it my home page. So, it's all your fault! :)

Thanks!
Scott

 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Wed, 2006-01-11 18:36

BitBass,
They way you are trying to insert php code is right, so it's probably the PHP code itself that isn't working. So I looked for IP showing code with google and came out at http://www.allscoop.com/phpcode.php (but there are countless comparable scripts) There you can see that you find the visitor's IP in $_SERVER[REMOTE_ADDR]. Or you could go and save the script in a PHP file in the theme's directory and call it with an IMG HTML tag like described on the page...
For your other question, as I understand it, if you want to create other pages looking like the PGTheme just include the theme's CSS file and use the classes and IDs of it to take over any desired CSS. For having the parameters or colorpacks to reflect on your new pages you will have to create tpl files and code in it with smarty, yourself. You could also go and link ordinary HTML pages with css of your own of course. Linking can be done with the gallery cystom tag g->url, this will ensure that the url is relative to the gallery root directory. Syntax: g->url [href=..] or [arg1="param=value" arg2="param=value" ..] [htmlEntities=false] [forceDirect=true] [forceFullUrl=true] [forceSessionId=bool] Or just a simple example: {g->url href='themes/PGtheme/images/icon.gif'}

 
Narfhimself

Joined: 2005-12-11
Posts: 5
Posted: Wed, 2006-01-11 18:58

Hi there,

Just wanted to let you know it's time to change the year 2005 to 2006 in the footer.tpl in \htdocs\gallery2\themes\PGtheme\templates

I attached the corrected footer.tpl file.

Kind regards,

Narfhimself

AttachmentSize
footer.tpl.txt2.2 KB
 
saul11

Joined: 2005-10-04
Posts: 109
Posted: Wed, 2006-01-11 19:24

Pedro,
How did you manage to have a themed slideshow page instead of the modules page? I don't see the 'ss' parameter ( = "Use PGtheme on SlideShow if is the selected theme") anywhere in any tpl file? I'm asking because I want to have a themed display of the search results and also themed checkout pages. The only thing I know is that I have to copy a module's tpl file to a folder "local" (placed at the same level as the original file) and go edit it there, but I rather have the theme files all in my theme's template folder.

 
BitBass

Joined: 2005-12-23
Posts: 9
Posted: Wed, 2006-01-11 19:59

Saul11, THANKS!

The PHP works great now. Oddly enough the code I had been using I lifted from a file I have called myip.php. It's outside of G2 on my website and it works fine. I never thought to try a different way of grabbing the info since it was working in that file. Odd that it works in one and not the other.

Haven't tried the linking yet but I'll try that later.

 
eryxxx

Joined: 2005-09-05
Posts: 30
Posted: Wed, 2006-01-11 22:10

I have to similiar innstallations of PgTheme 1.07 on Gallery 2.0.2 and on the second, the microthums do not show up as they are supposed to. In Site Admin I have checked the necessary boxes but they are completely gone.

This is an important feature and I really miss it, any ideas about how to get the microthumbs to show?

 
bellasiena

Joined: 2005-12-11
Posts: 9
Posted: Mon, 2006-01-16 03:51

Hello Everyone,

I'm new at this but I love Pedro's Theme so I'm working with it. Does anyone know why I'm receiving this error?
Also, my images, nor my thumbnails are displaying. I'm not sure my sysadmin setup the directories correctly on the install.
Did he install the incorrect versions of the necessary software? During the install the G2 panel stated all Passed OK.

Thanks in advance for the help,
Gary
-----------------------------------
Error
An error has occurred.

Back to the Gallery

Error Detail -
Error (ERROR_MISSING_OBJECT) : Missing object for 24
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 2121 (gallerystatus::error)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 305 (mysqldatabasestorage::_identifyentities)
in modules/core/classes/GalleryStorage.class at line 118 (mysqldatabasestorage::loadentities)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 82 (gallerystorage::loadentities)
in modules/core/classes/GalleryCoreApi.class at line 2186 (galleryentityhelper_simple::loadentitiesbyid)
in modules/core/classes/GalleryView.class at line 361 (gallerycoreapi::loadentitiesbyid)
in modules/core/classes/GalleryView.class at line 219 (showitemview::_getitem)
in main.php at line 287 (showitemview::doloadtemplate)
in main.php at line 87
in main.php at line 80
System Information
Gallery version 2.0.2
PHP version 4.4.1-0.dotdeb.1 apache2handler
Webserver Apache/2.0.54 (Debian GNU/Linux) PHP/4.4.1-0.dotdeb.1
Database mysql 4.1.15-Debian_0.dotdeb.1-log
Toolkits ImageMagick, NetPBM, Gd
Operating system Linux 2.4.20-021stab028.3.777-enterprise #1 SMP Wed Feb 2 21:08:59 MSK 2005 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; ieZoom.com)

 
w1zer

Joined: 2005-09-26
Posts: 37
Posted: Tue, 2006-01-17 17:16

Hello, I have just installed 2.0.2 and want to use PGtheme. I have uploaded it to the themes dir, but on the themes page in site admin I get the following:

Status: Incompatible Theme (Inactive)
PG Theme 1.0.RC7 Gallery2 theme from WWW.PEDROGILBERTO.NET
Incompatible theme!
Core API Required: 6.5 (available: 7.1)
Theme API Required: 2.1 (available: 2.2)

Please could you help?

 
bellasiena

Joined: 2005-12-11
Posts: 9
Posted: Tue, 2006-01-17 18:29

Hello,

I've noticed on several of the sites using Pedro's theme that a script error is generated when clicking on an image using IE 6. Works fine in Firefox and Netscape. Make sure your show script errors option is turned on to view the error. Also I've attached a screen shot of the error.

http://www.dakanji.com/g2/v/people/aal70000LW.jpg.html

Any thoughts from anyone?

Thanks,

Gary

AttachmentSize
error_displaying_image.jpg30.56 KB
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2006-01-17 18:58

@pedro:
there's a PG theme IE issue:

http://gallery.menalto.com/node/43034

 
bellasiena

Joined: 2005-12-11
Posts: 9
Posted: Wed, 2006-01-18 01:47

"I've noticed on several of the sites using Pedro's theme that a script error is generated when clicking on an image using IE 6. Works fine in Firefox and Netscape. Make sure your show script errors option is turned on to view the error. Also I've attached a screen shot of the error."

After further research I have determined that this error is being caused by selecting the "SHADOW"
option when used with IE6. Apparently in a previous post someone mentioned that IE6 has some difficulties
rendering certain images. This error using the shadow frame does NOT occur in Firefox nor Netscape. The renders perfectly in both browsers.
I have now changed back to the 1px frame until further analysis and a final resolution has been achieved.

Gary

 
bellasiena

Joined: 2005-12-11
Posts: 9
Posted: Wed, 2006-01-18 02:27

Is their a procedure for updating the .tpl files?
I'm finding it very frustrating to update this information.
Specifically, author.tpl and footer.tpl
I make the changes to the file, move them back to the directory, refresh
and nothing.

Thanks,

Gary

 
AndrewMac

Joined: 2006-01-18
Posts: 4
Posted: Wed, 2006-01-18 06:29

HI Guy's

I've been using Pedro's theme for a while now, but for the life of me cannot get the add to cart Icon to come up on the photo page when looking at the page as a guest. I've updated my install with the latest patches, but no luck. Being a photographer not a coder I'm at a bit of a loss. Can any one give me a step by step solution to fixing this.

Ta

Andrew Mac

http://www.keaphotos.com/gallery

 
gbo
gbo's picture

Joined: 2005-10-06
Posts: 24
Posted: Wed, 2006-01-18 14:07

You can try to add permission on your main gallery, if you haven't already done that. You need to log in, choose [Edit Permission] and add permission (cf image below).

http://mesphotos.fontismedia.com/tc/gallery_permission.png
_________________
Gil
My Gallery http://mesphotos.fontismedia.com/

AttachmentSize
gallery_permission.png67.02 KB
 
pixsurreal

Joined: 2006-01-02
Posts: 9
Posted: Wed, 2006-01-18 15:17

Are you using an application provided by your server, or the dowload directly from this site?

 
pixsurreal

Joined: 2006-01-02
Posts: 9
Posted: Wed, 2006-01-18 15:53

Pedro

Again, please forgive my lack of experience. I still don't have my image up, let alone have all of the ins and outs figured out.

Are the update links on the PG forum description kept up-to-date with the posts you make here, or do I need to go through all of the posts to find the applicable fixes to make?

Also, by way of information to Gallery users, I've seen several posts in the forums asking about moving the location of the gallery folder on their server, etc. I keep a full copy of my site on my hard drive. Using a Macromedia Dream Weaver's site management capabilities, I am able to move the gallery folder (and pretty much any other file) where ever I want in my directory structure and the program makes the link adjustments automatically. It also provides handy ways to add static pages which tie directly in to the theme's CSS, etc.

What's the feeling about this? Anyone had success/failures with this?

Thanks,

Ken

Ken Hansen

http://www.pixsurreal.com

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Wed, 2006-01-18 18:06
bellasiena wrote:
"I've noticed on several of the sites using Pedro's theme that a script error is generated when clicking on an image using IE 6. Works fine in Firefox and Netscape .... Apparently in a previous post someone mentioned that IE6 has some difficulties
rendering certain images. This error using the shadow frame does NOT occur in Firefox nor Netscape.

That was my site you referenced.

I had noticed that the shadow was not displaying properly on Win boxes running IE but had not gotten round to changing it. It works fine on Safari, Netscape and Firefox on my Mac.

I had not seen the error message displayed before just that the shadow does not display properly on Win IE. Being a Mac person, I didn't care too much about yet another IE issue. Perhaps though, I better ditch the shadow so that the unfortunate Win users can enjoy my shots. It is catering to the lowest common denominator but as I have already stooped down to IEs standards by converting all my images to sRGB since IE doesn't have colour management, I suppose one more instance is not too much a stretch.

Gallery Version: 2.0.2
Gallery Theme: PGTheme (RC07)
Web Site: http://dakanji.com

 
Dragonsys

Joined: 2004-12-27
Posts: 68
Posted: Wed, 2006-01-18 18:08

I get the following error when viewing an image:

Quote:
"); win.document.write("
"); win.document.write("
"); win.document.write("
"); win.document.write(title1); win.document.write("
"); win.document.write("
"); win.document.write(desc); win.document.write(""); win.document.write("
"); if (witem > w) { win.document.write("
Full Size"); win.document.write(" "); win.document.write(separ); win.document.write(" "); win.document.write("Screen Size image"); ;} win.document.write(" FPRIVATE "); win.document.write("
"); win.document.write(""); win.document.close(); } //--> //]]>

 
Dayo

Joined: 2005-11-04
Posts: 1555
Posted: Wed, 2006-01-18 18:19
bellasiena wrote:
Is their a procedure for updating the .tpl files?
I'm finding it very frustrating to update this information.
Specifically, author.tpl and footer.tpl
I make the changes to the file, move them back to the directory, refresh
and nothing.

Thanks,

Gary

Go to admin -> maintenance and refresh the template cache. You might also want to flush the cache on your browser.

Gallery Version: 2.0.2
Gallery Theme: PGTheme (RC07)
Web Site: http://dakanji.com

 
Dragonsys

Joined: 2004-12-27
Posts: 68
Posted: Wed, 2006-01-18 18:33
Dragonsys wrote:
I get the following error when viewing an image:

Quote:
"); win.document.write("
"); win.document.write("
"); win.document.write("
"); win.document.write(title1); win.document.write("
"); win.document.write("
"); win.document.write(desc); win.document.write(""); win.document.write("
"); if (witem > w) { win.document.write("
Full Size"); win.document.write(" "); win.document.write(separ); win.document.write(" "); win.document.write("Screen Size image"); ;} win.document.write(" FPRIVATE "); win.document.write("
"); win.document.write(""); win.document.close(); } //--> //]]>

Looks like this is because I have Gallery Embeded. If I view the stand alone then it works fine...

 
bellasiena

Joined: 2005-12-11
Posts: 9
Posted: Wed, 2006-01-18 22:46

Hi Dayo,

Thanks for the feedback. Yes, I agree IE is very messy however we have to design for all browsers unfortunatley.
I went back to the 1px black frame and it works fine. Most folks don't see these errors because
they have their script errors turned off.

I have discovered another problem that I think Pedro should be aware of, it may be something in
one of the CSS files. When you bring up the slideshow on Netscape and/or Firefox, and then click
the [+] symbol to reveal the slideshow options, you'll notice that the blending (slide transition)
options pull-down is NOT shown. Could this be a CSS problem? I tried it on several different machines
and received the same results so it's not a setting with Firefox or a possible server setting.

Thanks for the TPL information. Should I place all my updated tpls in a local folder inside the templates folder?

Best regards,

Gary