X_treme theme
eliasgruber
Joined: 2006-02-07
Posts: 45 |
![]() |
hi, since i had a fatal hdd-crash, i had to restore all the data. it was not possible to save the users and groups, everything was root,root, so i changed most of them manual. everything is working fine in the meanwhile, except one thing: What I already did: now i tried the following: i made a complete new installation from gallery2. i have the same problems there??!? very strange, maybe there is something missconfigured in my system? have a look at: maybe you can have a short look, the gallery is in debugmode and you have all rights on the topalbum with maybe you have an idea? thanks a lot! i put the gallery in debugmode, so you can have a look: http://elias.kiwi.at/~elias/gallery2/main.php?g2_itemId=62622 try to make some changes in x_treme-theme you'll get the follwing error: Error (ERROR_PERMISSION_DENIED) : user id: 4 doesn't have permission: core.edit for item id: 62622 i really tried everythin thanks in advice, elias. Gallery-Version = 2.2.1 Kern 1.2.0.1 |
|
dan97
Joined: 2007-05-19
Posts: 27 |
![]() |
Hi, I like your theme very much and thanks for your creation... can you tell me how I can allow users to download a image/picture from the uploaded picture As when I try to right mouse click, but the option for saving the picture/image is not available... pls help danny |
|
danielmuller
Joined: 2007-06-24
Posts: 1 |
![]() |
Hi, I've found some mistakes in various templates files, preventing x_treme to work well in certain cases: templates/album.tpl: impossible to create a PO file using Gallery's script On lines 789, 793, 987, 991: Change {g->text text="▪} to {g->text text="▪"}
templates/photo.tpl: Full size image not visible in PopUp window in Firefox (if height not provided Firefox assumes 0) --- ../photo.tpl 2007-06-21 19:18:09.000000000 +0200 +++ photo.tpl 2007-06-21 23:05:39.000000000 +0200 @@ -95,12 +95,16 @@ if (witem > w) { win.document.write("<DIV style='position: absolute; top:10; left:10'><a href='javascript:void(0)' onclick='photo.width="); win.document.write(witem); + win.document.write(";photo.height="); + win.document.write(hitem); win.document.write("'>Full Size<\/A>"); win.document.write(" "); win.document.write(separ); win.document.write(" "); win.document.write("<A href='javascript:void(0)' onclick='photo.width="); win.document.write(w-30); + win.document.write(";photo.height="); + win.document.write(Math.round(((w-30)/witem)*hitem)); win.document.write("'>Screen Size<\/A> image<BR\/><\/DIV><BR\/>"); ;} @@ -108,6 +112,8 @@ win.document.write(url); win.document.write("' width='"); if (witem > w){win.document.write(w-30);}else{win.document.write(witem);} + win.document.write("' height='"); + if (witem > w){win.document.write(Math.round(((w-30)/witem)*hitem));}else{win.document.write(hitem);} {/literal} {if $theme.params.RightClick != "none"} template/photoNavOver.tpl: If photo height is odd and we are using prev/next thumbnails at top and bottom of image, Firefox does't like to have a non integer for the height of thumbnails (he simply do not show the thumbnails assuming 0 as height). I added to all mathematical actions an number format. {$imageheight/2} becomes {$imageheight/2|string_format:"%d"} Same for all others similar lines In the same case, the SPAN tag containing the navigations thumbnails is rounded down and an ugly scroller is showing up Change css in photoNavOver.tpl from overflow: auto to overflow: hidden
I've also made a small add, I wanted the Panorama viewer been shown directly in the photo page and not in a new window. I don't know if what a made is right. --- theme.inc.orig 2007-06-21 19:18:10.000000000 +0200 +++ ../theme.inc 2007-06-21 20:50:39.000000000 +0200 @@ -2413,14 +2413,33 @@ } if (!empty($pluginStatus['panorama']['active'])) { - if (GalleryUtilities::isA($item, 'PanoramaPhotoItem')){ + if ($item->renderer=='PanoramaRenderer') { $theme['panoramaItem'] = 1; list ($ret, $viewWidth) = GalleryCoreApi::getPluginParameter('module', 'panorama', 'width'); if ($ret) { return array($ret, null); } $theme['panoramaWidth'] = $viewWidth; + GalleryCoreApi::requireOnce('modules/panorama/classes/PanoramaHelper.class'); + list ($ret, $image) = PanoramaHelper::fetchViewableImages(array($item)); + if ($ret) { + return array($ret, null); } + if (empty($image)) { + return array(GalleryCoreApi::error(ERROR_BAD_PARAMETER), null); + } + $image = $image[$item->getId()]; + + list ($ret, $renderer) = GalleryCoreApi::newFactoryInstance('GalleryRenderer', 'PanoramaRenderer'); + if ($ret) { + return array($ret, null); + } + if (!isset($renderer)) { + return array(GalleryCoreApi::error(ERROR_MISSING_OBJECT), null); + } + $appletHtml=$renderer->render('HTML', $image, $item, array()); + $template->setVariable('Panorama', array('appletHtml' => $appletHtml)); + } $theme['panorama'] = 1; } else { $theme['panorama'] =0; And for templates/photo.tpl: @@ -606,7 +612,11 @@ {/if} {else} {if $theme.item.mimeType.0 == "i"} - <div class="gsSingleImageNoF" style="position:absolute; width:{$imagewidth}px; height:{$imageheight}px; top:0px; left:0px; background-color: #000000; background:url({g->url arg1="view=core.DownloadItem" arg2="itemId=`$theme.imageViews[$theme.imageViewsIndex].id`" forceFullUrl=true}) no-repeat"> + {if $theme.panoramaItem=="1"} + <div class="gsSingleImageNoF" style="position:absolute; width:{$imagewidth}px; height:{$imageheight}px; top:0px; left:0px; background-color: #000000;">{$Panorama.appletHtml}</div> + {else} + <div class="gsSingleImageNoF" style="position:absolute; width:{$imagewidth}px; height:{$imageheight}px; top:0px; left:0px; background-color: #000000; background:url({g->url arg1="view=core.DownloadItem" arg2="itemId=`$theme.imageViews[$theme.imageViewsIndex].id`" forceFullUrl=true}) no-repeat"> + {/if} {else} <div style="position:absolute; width:{$imagewidth}px; height:{$imageheight}px; top:0px; left:0px;"> {g->image item=$theme.item image=$image fallback=$smarty.capture.fallback class="%CLASS%" id="%ID%" longdesc="%ID%" usemap="#fotomap"}
And the last point, but not the least. One I've created un PO file I was unable to see my translations. I figured out that Gallery is splitting names of components on the "_" sign to rebuild the path to te MO file. Hope this all helps, Daniel |
|
polar_action
Joined: 2007-06-14
Posts: 8 |
![]() |
Along possibly the same lines as Daniel's post above... (cheers Daniel for pointing out the fixes) When I view the photos in Firefox I can happily see the "Full Size" and "Navigation" options on the actual photos, but cannot in IE7. Does anyone else have this issue?? example : http://www.malton-webdesign.co.uk/photography and choose the "Wedding" or "Gallery" option I seem to be getting there with the package and the theme. Dave |
|
nocloo
Joined: 2005-08-18
Posts: 37 |
![]() |
I got almost the same error as Elias above w/ authentication failure: Authentication Failure Your change cannot be completed due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in. Back to the Gallery * in modules/core/classes/GalleryController.class at line 239 (GalleryCoreApi::error) System Information and this happened after I upgraded to x_treme 1.0.2, was working fine w/ 1.0.1. Also, if I switch the theme back to the default Matrix .. everything is working fine. I got stuck on these error for the past month. I cannot do anything, even logging out gives me that error. |
|
aubiera
Joined: 2007-06-27
Posts: 4 |
![]() |
I've used your theme on a website for a photographer friend of mine with great results. Nevertheless, I have encountered a small bug in the album page navigation when the album has. When clicking on one of the page number links, it takes me to the main gallery page instead of the corresponding album page. The next/previous icon links work fine. I'm using Gallery core 1.2.0.1 and xTreme 1.0.1. Do I need to upgrade? |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
eliasgruber, If this wont work please made another topic this is not theme related. http://pedrogilberto.net/g2 |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
*********************** X_treme theme *********************** [img]http://www.pedrogilberto.net/gallery2/themes/x_treme/templates/extra/logos/logo.png[/img] X_treme version 1.0.3 (Change Log) * Date 01/07/2007 - From version 1.0.2: * Fixed photo hover navigation and small changes on it's behaviour and at administration panel options Thanks to danielmuller Thanks to Valiant (andy_st) Thanks to bharat, mindless, Valiant (andy_st), jozefs I hope this can fix the recent bugs you have reported Downloads: http://pedrogilberto.net/gallery2/ Browse SVN Repository: |
|
Freely
Joined: 2007-06-23
Posts: 2 |
![]() |
Hello, I like this theme very and thansk for making it. I want to change encoding for the pages and can not find it in main administrator panel. It can be changed in some main page might be but can not find it. Anyone can give me a small support please, Thanks, Free |
|
eliasgruber
Joined: 2006-02-07
Posts: 45 |
![]() |
Valiant solved the problem! everybody who has similar problems (e.g. nocloo) please try to disable the php Suhosin extension!!! in my case this was autom. enabled when i upgraded from OpenSuse 10.1 to 10.2, afterwards strange things happened. the x_treme-theme didn't work, cause it has too much vaiables in the config-site! Suhosin allows only 100 by default! you can change all the Suhosin-parameters, that the fit to the x_treme-theme or better you deaktivate it! cause you also will have problems when you want to upload a large number of pictures directly from the server! for more details to this problem see topic: thanks a lot for this great theme!!! 1.0.3 fixed a lot of things i was wining to!!! thanks soooo much! elias. |
|
nocloo
Joined: 2005-08-18
Posts: 37 |
![]() |
Hi Elias, I was looking at my php config and didn't have the sohusin mods loaded. Also did a clean install of the latest x_treme 1.03 ... and it worked until I start to customize x_treme theme to bring it up to what it was. Now I'm getting that same Authentication Error again, everything works fine in Matrix ... not sure what I did wrong w/ my x_treme. But I'm stuck for over a month now ... No luck here. Glad you got it fixed. |
|
eliasgruber
Joined: 2006-02-07
Posts: 45 |
![]() |
hi nocloo, i didn't find how to deactivate the suhosin-plugin in the php.ini, i changed the parameters in the ./conf.d/suhosin.ini, there i activated and changed then you can also try to set apache's LimitRequestBody size to a higher value... i think the problem is somewhere in the configuration of your webserver or php, cause especially the x_treme-theme is very complex and uses hundrets of variables... good luck! |
|
Julian Gray
![]()
Joined: 2005-10-26
Posts: 17 |
![]() |
So, I've updated to 1.0.3. Having copied the files into place I had to do a Gallery update before Gallery was happy. I find that the "Get more plugins" option isn't working for me - do other people experience this? Is this a feature of using X_treme? Having posted 3 times with no responses from anyone I'm beginning to feel invisible! Do other people get errors I'm seeing? 1) var text = el.innerText; // IE (etc) |
|
ASNet0007
Joined: 2006-10-17
Posts: 177 |
![]() |
Hi Julian Gray |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
Julian Gray wrote:
So, I've updated to 1.0.3. Having copied the files into place I had to do a Gallery update before Gallery was happy. I find that the "Get more plugins" option isn't working for me - do other people experience this? Is this a feature of using X_treme? Having posted 3 times with no responses from anyone I'm beginning to feel invisible! Do other people get errors I'm seeing? 1) I'm, using IE7 and don't see that error http://pedrogilberto.net/g2 |
|
RobertR
Joined: 2007-07-05
Posts: 5 |
![]() |
Hello Pedro, all, since this is my first post, I would like to thank Pedro for all his efforts reagarding the development of this theme - it is just amazing and I love it. I have recently upgraded to X_treme 1.0.3 and when using Firefox 2 (which is my main browser) I notice that my album thumbnails (128 x 128) show a dark bar at the bottom, as can be seen here: http://www.robertreiser.net/view/galleries/ Hovering over the thumbnails shows them correctly. This effect is only visible with FF2, not with IE7. I can definitely confirm that this was not the case with X_treme 1.0.2 and earlier versions. Any ideas? Kind regards, Robert |
|
pgilbert
Joined: 2005-03-28
Posts: 157 |
![]() |
RobertR wrote:
Hello Pedro, all, * The album.tpl attached will fix that (thumbnail background color settings at colorpacks/color.css: .opacityT{background-color: #??? !important;} and .opacityT:hover{background-color: #??? !important} * theme.inc will allow different number of columns for album's 1st page http://pedrogilberto.net/g2 |
|
RobertR
Joined: 2007-07-05
Posts: 5 |
![]() |
Thank you Pedro. I am out of the town now, but will implement the fix later this evening. This is excellent support, highly appreciated. Kind regards, Robert |
|
ramind
Joined: 2007-04-09
Posts: 11 |
![]() |
Julian Gray wrote:
3) Get more plugins goes to 61% then dies and doesn't complete. (Or am I just impatient?) This is an issue of Gallery2 itself, not of the theme per se. You may not have given PHP enough memory. set this ini_set("memory_limit","32M"); or bigger in your index.php. if you have some thousands of images and lots of modules loaded, increase to 64M or more. Gallery2 docs say one should increase PHP memory to at least 16M, but that is the bare _minimum_ to get it up and running. I've had some login problems in the past, and I *think* that they may be related to this as well, because after I increased memory they (mostly) have gone away. BTW: thanks PG for a very beautiful and well-made theme |
|
Dragonsys
Joined: 2004-12-27
Posts: 72 |
![]() |
ramind wrote:
not in index.php, but in main.php and install/index.php |
|
Julian Gray
![]()
Joined: 2005-10-26
Posts: 17 |
![]() |
Am applying passwords to some albums. I get a different behaviour on the dialogue boxes between FIrefox (which works cleanly) and IE7 (Which doesnt.) Examples attached. |
|
Julian Gray
![]()
Joined: 2005-10-26
Posts: 17 |
![]() |
Okay so maybe I've come to X_treme via the wrong route, but I've tried to do things as per whatever instructions I could find! It seems the file "Manifest" for X_treme references files that don't exist: I think they are present in the zip file but in a completely different path of modules/colorpacks/packs/* Can you confirm the actions I should implement here please? Thanks Julian |
|
Dragonsys
Joined: 2004-12-27
Posts: 72 |
![]() |
Julian Gray wrote:
Okay so maybe I've come to X_treme via the wrong route, but I've tried to do things as per whatever instructions I could find! it's not just the color packs, it's also the icon packs, comments, and image frames. I did a find and replace on all of these to correct the path. and reuploaded the Manifest file |
|
ASNet0007
Joined: 2006-10-17
Posts: 177 |
![]() |
hi, |
|
ASNet0007
Joined: 2006-10-17
Posts: 177 |
![]() |
I was just wondering if anyone else had this problem? If I click a page number at the bottom of a dynamic page, |
|
freely666
Joined: 2007-07-23
Posts: 2 |
![]() |
Hello, I have realy big problems with my album. www.fototelpa.lv The thumbnails have not been posted. As well when I add a possibility to see the image in other size he automatacly change it to 96x96. As well I am trying to setup the display settings for albums and when I untick settings and save tick comes back.. and nothing have been changed. Anyone can help me pelase Thanks |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
I suspect it is a image toolkit issue not related to this theme at all. Dave |
|
piticu
![]()
Joined: 2005-08-08
Posts: 12 |
![]() |
i've finally updated x_treme to 1.0.3 and i started to customize it a little bit. i got a problem that i could not resolve it: Quote:
(c) Copyright - quite unusefull without info about copyright owner. Can anyone please help me a little bit? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
how can i customize the actual copyright message? Did you look in the template files of the theme? // Set the message for the alert box var msgmouse="{/literal}(c) Copyright - {$theme.params.site}{literal}\nALL RIGHTS RESERVED\n\n"; msgmouse += "This page is copyrighted, and "; msgmouse += "all content is protected."; |
|
piticu
![]()
Joined: 2005-08-08
Posts: 12 |
![]() |
mucho tpl files. i didnt wanted to mess things up. the code you pointed looks like a winner. thanx alot dave now, i know no javascript: how do i change the (c) with the actual copyright symbol (ie html entity ©)? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
did you try © ? Dave |
|
piticu
![]()
Joined: 2005-08-08
Posts: 12 |
![]() |
yes, i did: it shows up exactly like this "© Copyright 2007 -..." |
|
Dragonsys
Joined: 2004-12-27
Posts: 72 |
![]() |
Try to copy and paste the symbol itself - © |
|
piticu
![]()
Joined: 2005-08-08
Posts: 12 |
![]() |
dragonsys: read my previous post. i just said i tried what you suggest and i got only a "?". the symbol it might be ascii but i am using a character set, on the server side it might be another char set and in the browser could be another one. that's the problem. that's one of the reasons that html identities had been invented - you use plain ascii to tell browser to render extended ascii chars |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
G2 uses UTF-8. this forum does too, so the character in Dragonsys' post is UTF-8.. I copy/pasted it into a tpl file (my terminal also set to UTF-8) and the javascript alert() showed the copyright character ok. I also found that © literally showed the characters ©. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
http://www.evotech.net/blog/2007/04/named-html-entities-in-numeric-order/ Dave |
|
Dragonsys
Joined: 2004-12-27
Posts: 72 |
![]() |
piticu wrote:
dragonsys: read my previous post. i just said i tried what you suggest and i got only a "?". the symbol it might be ascii but i am using a character set, on the server side it might be another char set and in the browser could be another one. that's the problem. that's one of the reasons that html identities had been invented - you use plain ascii to tell browser to render extended ascii chars hmmmm it worked perfectly fine for me, as long as I use the one I posted above. |
|
icon123
Joined: 2007-07-09
Posts: 2 |
![]() |
Hi, Can anyone help me get Lightbox working for this theme. I love this theme and it works great, but I don't care for the page being regenerated with every picture change. I tried to implement it myself, but it didn't work. I think the x-treme theme is a little too advanced for me. Thanks for any help or guidance. icon123 |
|
coding
Joined: 2006-12-28
Posts: 21 |
![]() |
Hi, I was looking at this reflection site http://cow.neondragon.net/stuff/reflection/ and wanted to implement something like this in X_treme. Is it doable ? Has anyone tried it ? I have least knowledge of JS, so please let me know how this can be done. Thanks in advance. |
|
oggg
Joined: 2006-04-22
Posts: 35 |
![]() |
Hi, |
|
triangular
Joined: 2005-12-21
Posts: 138 |
![]() |
I posted this elsewhere but I think it may be an x_treme specific issue. I run Drupal 5.x with G2 2.2, and use the Drupal G2 module to embed G2. I'm using x_treme theme. When I open a G2 page, I have this repeated error at the top of the page in a box: * warning: Invalid argument supplied for foreach() in /home/.olwen/myadvent/gallery.myadventurouslife.com/modules/core/Callbacks.inc on line 69. My G2 Callbakcs.inc line 69 has this: From other things I've read, I suspect this is an issue between the 2 themes or CSS? Anybody can help with this error? Christian Gallery version = 2.2-rc-2 core 1.1.30 |
|
triangular
Joined: 2005-12-21
Posts: 138 |
![]() |
I have this Callbacks.inc error and just posted a request about it before finding this. What exactly is the "emergency edit item"? I have no idea and don't want to delete anything before I know what it is! PS Have you ever found any other solution? I'm using Drupal 5.x with the cleanslate theme, and x_treme G2 theme charcoal. |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
core.EmergencyEditItemLink serves just one purpose: if you edit your theme settings and remove the "item actions" block from all your block lists then when you return to the album you'd have no way to edit the album or its photos again! All this block does it show a simple "Edit" link when it finds none of the specified blocks have Item Actions. |
|
Dragonsys
Joined: 2004-12-27
Posts: 72 |
![]() |
oggg wrote:
Hi, Edit /{path-to-G2}/modules/core/templates/blocks/BreadCrumb.tpl Quote:
{if !$smarty.foreach.parent.last} |
|
oggg
Joined: 2006-04-22
Posts: 35 |
![]() |
Thanks! |
|
triangular
Joined: 2005-12-21
Posts: 138 |
![]() |
When I delete (comment out) these lines, I get absolutely nothing in my G2 page below the top horizontal menu links. No albums, no text, nothing. I'm stuck. My error is exactly the same, the error with callbacks.inc on line 69. Help? flyer wrote:
|
|
triangular
Joined: 2005-12-21
Posts: 138 |
![]() |
mindless wrote:
core.EmergencyEditItemLink serves just one purpose: if you edit your theme settings and remove the "item actions" block from all your block lists then when you return to the album you'd have no way to edit the album or its photos again! All this block does it show a simple "Edit" link when it finds none of the specified blocks have Item Actions. I have verified that this error only happens when using the x_treme theme. I really don't want to change themes. I tried commenting out all the lines that were suggested in a previous post (from callbacks.inc) but that only left me with no display below the line of links that go accrross the top of the page. Can anyone tell me please exactly which lines I should comment out? Again, in my case the error is stated twice at the top of the page when viewing G2 with X_treme theme inside drupal. Like this: * warning: Invalid argument supplied for foreach() in \www\gallery2\modules\core\Callbacks.inc on line 69. Its big and ugly and wastes a lot of space at the top of every integrated page. Please help. Christian |
|
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
did you try removing/commenting the g->block for EmergencyItemEditLink in album.tpl? |
|
triangular
Joined: 2005-12-21
Posts: 138 |
![]() |
Thanks, that did fix me! |
|
triangular
Joined: 2005-12-21
Posts: 138 |
![]() |
How do I find out which version of Xtreme theme I currently have installed? Thanks. Christian |
|