Thanks Serge, you have given me some pointers and I will follow up. FYI it is G2 not G3.
Offline
Hi Serge D,
for the first tests I added following code to the end of header.tpl (just before {/footer_script}):
$("#menubar dl dt").on("click", function() {
var myMenuDD = $($(this).parent().children("dd")[0]);
var myMenuDDdisp = myMenuDD.css("display");
// other menus
$(this).parent().parent().find("dd").css("display", "none");
if (myMenuDDdisp == "block") {
myMenuDD.css("display", "none");
} else {
myMenuDD.css("display", "block");
}
}
);No changes in CSS, code above works even with mouse hover, but only prior to first click on the menu title.
But after next few hours playing with the theme I decided to give up because I don't need most of features of the theme, just few ideas - and maybe I'll create new theme for my own some time in the future...
Offline
Serge D wrote:
homdax wrote:
Footer. Your theme defines some links as default (User - Logout - Contact) but if I say, want to add Copyright Info in the Footer Text box you have in the theme, it overwrites the same place where the links are...?
yes and no, Footer text would be added next to links, but then you can position it using custom CSS.
For example, this should work out of the boxCode:
<ul class="g-inline g-link-list"><li>All images are subject to copyright and may not be reproduced or republished without permission</li><li> © 2008-2014 </li></ul>
Trying above but it does not show, at all. I assume in regards to your code I should paste it in the CSS box inside the Theme Configuration? Also tried the Copyright infusion but it does not show either.
Offline
no, html above goes into "Footer Text"
Offline
Did that but this is getting annoying....
Am I going to have to dig in to the source code to place this properly?
FYI, the Copyright notice is essential and may very well be several lines. As a comparison I had this text on another site:
Warhammer 40,000: Dawn of War II © Copyright Games Workshop Limited 2014. Warhammer 40,000: Dawn of War II - Chaos Rising © Copyright Games Workshop Limited 2014. Warhammer 40,000: Dawn of War II - Retribution © Copyright Games Workshop Limited 2014. Dawn of War II, the Dawn of War II logo, GW, Games Workshop, Space Marine, 40K, Warhammer, Warhammer 40,000, 40,000, the ‘Aquila’ Double-headed Eagle logo, and all associated logos, illustrations, images, names, creatures, races, vehicles, locations, weapons, characters, and the distinctive likeness thereof, are either ® or TM, and/or © Games Workshop Limited, variably registered around the world, and used under license. Developed by Relic Entertainment. Published by SEGA. Sega, the SEGA logo, Relic Entertainment and the Relic Entertainment logo are either registered trade marks or trade marks of SEGA Corporation. All rights reserved. FMOD Ex Sound System Copyright © 2001-2009 Firelight Technologies Pty, Ltd. AMD, the AMD Arrow logo, ATI, the ATI logo, AMD Athlon, and combinations thereof are trade marks of Advanced Micro Devices, Inc. Portions of this software are copyright © 2009 The FreeType Project (www.freetype.org). All other trade marks, logos and copyrights are the property of their respective owners. All rights reserved to their respective owners.
with Gallery 2 and there was never an issue.
I have also tried the Copyright plugin, that shows promise, but a bit tedious to implement on all photos on all pages, in the footer.
Last edited by homdax (2015-02-24 08:49:03)
Offline
well, you did use different theme in G2
GD is designed as fixed footer height
if your case content need more space and different layout
there are 2 options:
* I will be looking into option of making footer area auto adjustable, but it may take some time to finish. will welcome suggestions though
* you can "hack" the layout:
--- notice that all content from "Footer Text" is wrapped by div.g-footer-bottomleft
--- populate Footer Text with your content
--- now it overflows because of absolute positioning
--- add the following custom CSS in "Custom CSS" area
#g-footer { min-height: 9em !important; }
9em is just an example, use one to fit your content
--- if you want center align text then something like that could be used
.g-footer-bottomleft { text-align: center; }
it is simple to the degree, but requires some understanding how page is structured
Last edited by Serge D (2015-02-25 21:26:55)
Offline
No problem, I can sort that out. I may nag about stuff, but I am pretty versed in code interpretation, I have just recently adopted the approach that web tech is now so advanced that any actual code editing is just lazy devs not making interfaces. :)
Grateful you look in to this for the Theme.
Offline
Ok, all reasonably in place.
Used
#g-footer { min-height: 5em !important; }
.g-footer-bottomleft { text-align: center; }Tried a HR as upper delimiter, but it came up to high, not messing more with it for now.
Last edited by homdax (2015-02-28 10:17:16)
Offline
homdax wrote:
Tried a HR as upper delimiter, but it came up to high, not messing more with it for now.
you can achieve delimiter effect using span with border and margin/padding. it would allow you more control over content
Offline
Couple of things:
1) With main menu set to Popup Menu Closed - It doesn't appear that the menu autocloses after clicking a menu option (the admin menu does do this correctly)
2) User Tags extension seems to have some issues with this theme - can't add a tag. When you click on the 'pencil' the block goes gray with nothing in it. EDIT: (In chrome it works... sort of -IE & firefox no go)
Any ideas?
Last edited by jnashpiwigo (2015-03-02 04:00:27)
Offline
jnashpiwigo wrote:
1) With main menu set to Popup Menu Closed - It doesn't appear that the menu autocloses after clicking a menu option (the admin menu does do this correctly)
This is somewhat deliberate, i.e. state of the menu is persisted when navigation is performed.
I can make it optional
jnashpiwigo wrote:
2) User Tags extension seems to have some issues with this theme - can't add a tag. When you click on the 'pencil' the block goes gray with nothing in it. EDIT: (In chrome it works... sort of -IE & firefox no go)
I did some refactoring for tags area
for me to test it properly, could you tell me in what mode do you use metadata area - as tabs or as overlay
what IE version you use?
Offline
Serge D wrote:
jnashpiwigo wrote:
1) With main menu set to Popup Menu Closed - It doesn't appear that the menu autocloses after clicking a menu option (the admin menu does do this correctly)
This is somewhat deliberate, i.e. state of the menu is persisted when navigation is performed.
I can make it optionaljnashpiwigo wrote:
2) User Tags extension seems to have some issues with this theme - can't add a tag. When you click on the 'pencil' the block goes gray with nothing in it. EDIT: (In chrome it works... sort of -IE & firefox no go)
I did some refactoring for tags area
for me to test it properly, could you tell me in what mode do you use metadata area - as tabs or as overlay
what IE version you use?
1) This would be a nice configurable option! Thanks
2) I actually use PaleMoon - but for IE testing, v11
Oh, and I use 'Icon w/ Overlay' for metadata.
Last edited by jnashpiwigo (2015-03-05 19:47:28)
Offline
Hi,
I am using the latest version of GreyDragon, with the latest version of Piwigo. I installed the Statistics plugin (http://piwigo.org/ext/extension_view.php?eid=174), but my Google Analytics code is not inserted in the page when I use the GreyDragon theme. No problem with another theme, such as Clear or Dark.
Is there an incompatibility between GreyDragon and the Statistics ? Is there another way to add the Google Analytics code to a greyDragon themed piwigo without using the Statistics plugin ?
Thank you in advance
Offline
garz wrote:
Hi,
I am using the latest version of GreyDragon, with the latest version of Piwigo. I installed the Statistics plugin (http://piwigo.org/ext/extension_view.php?eid=174), but my Google Analytics code is not inserted in the page when I use the GreyDragon theme. No problem with another theme, such as Clear or Dark.
Is there an incompatibility between GreyDragon and the Statistics ? Is there another way to add the Google Analytics code to a greyDragon themed piwigo without using the Statistics plugin ?
Thank you in advance
bug, is fixed in 1.1.22
you can use header until then or "Footer Text" or custom version for footer.tpl (need to be placed in "local" fodler
Offline
Serge D wrote:
bug, is fixed in 1.1.22
you can use header until then or "Footer Text" or custom version for footer.tpl (need to be placed in "local" fodler
Great, thanks ! I'll wait til this update is out, if I can't find the time to tweek the template...
Offline