•  » Themes
  •  » [Theme] GreyDragon Theme

#91 2014-12-16 22:07:23

Leif
Guest

Re: [Theme] GreyDragon Theme

I have installed the plugin "Community" to make uploads from every user in all albums.
After upload a photo comes the message "Uploaded Photos" incl. the breadcrumb below the static menu.
I´m not sure if it a problem of the community plugin or the greydragon theme.
I have check it with the "Elegant-Theme". All is fine.

See screenshot:

http://piwigo.alphaville.nu/upload/screenshot.JPG

 

#92 2014-12-17 01:36:48

Serge D
Member
US
2014-07-15
384

Re: [Theme] GreyDragon Theme

Leif wrote:

I have installed the plugin "Community" to make uploads from every user in all albums.
After upload a photo comes the message "Uploaded Photos" incl. the breadcrumb below the static menu.
I´m not sure if it a problem of the community plugin or the greydragon theme.
I have check it with the "Elegant-Theme". All is fine.

I will have to check on that, I have not work on support for Community plugin yet

Offline

 

#93 2014-12-17 16:45:12

Leif
Guest

Re: [Theme] GreyDragon Theme

Found 2 more "Special-Pages" do display not correct with static menu.

comments.php (when comments availlable, when empty is correct)
tags.php

http://piwigo.alphaville.nu/upload/screenshot1.JPG

http://piwigo.alphaville.nu/upload/screenshot2.JPG

 

#94 2014-12-17 18:16:42

Serge D
Member
US
2014-07-15
384

Re: [Theme] GreyDragon Theme

I need to rethink logic
I do not want to rewrite all templates with my own, in general my assumption going to be that menu visible for all special pages not covered today
apparently current boxing model does not work consistently across all other pages

Edit: Fix will be part of 1.1.19

Last edited by Serge D (2014-12-17 21:14:48)

Offline

 

#95 2014-12-18 14:13:54

Leif
Guest

Re: [Theme] GreyDragon Theme

I have a Problem with the rootpath in Headerlogo.

i use the clean urls without extension .php and questionmark.
I´ve set the logo image in the themeconfiguraton to local/icon/logo.png.
Correct only on the Homepage, on all subpages is the link broken, no image and the link is not correct.
I´ve checked the quelltext.

Code:

<div id="theHeader"><a title="Home" id="g-logo" href="./"><img alt="Home" src="./local/icon/logo.png"></a></div>

When i set the href from "./" to "/" all is fine.
Rootpage is without the point before the slash.
Maybe it is a bug?

See on my testpage: http://piwigo.alphaville.nu

Hope you can help. Excuse my many questions.

 

#96 2014-12-18 18:00:50

Serge D
Member
US
2014-07-15
384

Re: [Theme] GreyDragon Theme

issue is with not using extension for index.php
server is confused as to what root is. It triggers a discussion what ROOT in the PWG is truly is, but it is a different topic

could you try making the following change in themes/greydragon/include/greydragon.class.php (simply locate and replace entire function)

Code:

  public function getHeader() {
    $content = "";
    $root_base = get_root_url();
    if ($root_base):
    else:
      $root_base = '/';
    endif;

    if ($this->hasOption('p_logo_path')):
      $content .= '<a title="Home" id="g-logo" href="' . $root_base . '"><img alt="Home" src="' . $root_base . $this->getOption('p_logo_path') . '"></a>';
    endif;
    if ($this->hasOption('p_header')):
      $content .= '<a title="Home" id="g-header-text" href="' . $root_base . '">' . $this->getOption('p_header') . '</a>';
    elseif ($this->hasOption('page_banner', TRUE)):
      $content .= '<a title="Home" id="g-header-text" href="' . $root_base . '">' . $this->getOption('page_banner', TRUE) . '</a>';
    endif;                                                                                                              

    return $content;
  }

Offline

 

#97 2014-12-18 19:24:06

Leif
Guest

Re: [Theme] GreyDragon Theme

Perfect Serge! Thats it.

Thanks a lot.

 

#98 2014-12-19 07:17:58

Serge D
Member
US
2014-07-15
384

Re: [Theme] GreyDragon Theme

version 1.1.19 is up

+ custom.css location moved to local/greydragon/ to comply with PWG guidelines. File should be automatically created when theme is updated.
  Please make sure that migration is successful as it may require adjustment of "local" Folder permissions in some cases
- Fix issue when Static menu would cause misalignment of the content in 3rd party plugins
- Adjust min height of the content with Static menu to better fit the screen
- Fixed issue when using SEO friendly URLs would cause logo not being visible in sub pages

Offline

 

#99 2015-01-01 05:30:01

windracer
Member
St. Pete, FL
2014-12-28
499

Re: [Theme] GreyDragon Theme

Hi Serge! I'm a long time GD user from the Gallery days and am trying out Piwigo again as a replacement for my G3 sites.

I have a few minor issues, so far, trying to use the latest GD theme with Piwigo, specifically:

- clicking on the site image logo goes to the root of my site, instead of the Piwigo root (ex. it links to www.mysite.com instead of www.mysite.com/photos)

- similarly, on the photo details page, the "breadcrumbs" at the top, showing the album path, don't work like they do on an index page. instead of being able to click on each individually to jump to that album, the entire thing just links back to the site root (again, www.mysite.com which is not where Piwigo is). The underlying HTML looks correct (I can see proper 'a href=' tags) but it's not rendering like that ... maybe a CSS issue of some sort? Even the font looks a little different, which seems to indicate a CSS thing.

Offline

 

#100 2015-01-02 03:57:53

windracer
Member
St. Pete, FL
2014-12-28
499

Re: [Theme] GreyDragon Theme

windracer wrote:

- similarly, on the photo details page, the "breadcrumbs" at the top, showing the album path, don't work like they do on an index page. instead of being able to click on each individually to jump to that album, the entire thing just links back to the site root (again, www.mysite.com which is not where Piwigo is). The underlying HTML looks correct (I can see proper 'a href=' tags) but it's not rendering like that ... maybe a CSS issue of some sort? Even the font looks a little different, which seems to indicate a CSS thing.

Ok, I figured out this was because my header logo was larger than 80px. It was the same logo I was using in G3, but I just trimmed it a bit to 80px and that fixed the breadcrumbs (the font is still incorrect though, not matching the thumbnails page, but I can probably figure out the CSS for that).

Offline

 

#101 2015-01-02 06:19:03

windracer
Member
St. Pete, FL
2014-12-28
499

Re: [Theme] GreyDragon Theme

windracer wrote:

- clicking on the site image logo goes to the root of my site, instead of the Piwigo root (ex. it links to www.mysite.com instead of www.mysite.com/photos)

I was able to fix this by using 'get_absolute_root_url()' in getHeader.

Offline

 

#102 2015-01-08 17:08:37

Serge D
Member
US
2014-07-15
384

Re: [Theme] GreyDragon Theme

windracer wrote:

windracer wrote:

- clicking on the site image logo goes to the root of my site, instead of the Piwigo root (ex. it links to www.mysite.com instead of www.mysite.com/photos)

I was able to fix this by using 'get_absolute_root_url()' in getHeader.

what was url before you start using absolute path?

Is local/config/config.inc.php has proper root url in $conf['gallery_url']

Offline

 

#103 2015-01-08 17:34:01

windracer
Member
St. Pete, FL
2014-12-28
499

Re: [Theme] GreyDragon Theme

My photo site URL is, for example, www.mysite.com/photos.

I have not changed $conf['gallery_url'].

With those settings, the link on the logo image points to www.mysite.com, instead of www.mysite.com/photos.

Changing $conf['gallery_url'] seems to have no effect on this.

Offline

 

#104 2015-01-09 18:42:33

Serge D
Member
US
2014-07-15
384

Re: [Theme] GreyDragon Theme

windracer wrote:

My photo site URL is, for example, www.mysite.com/photos.

I have not changed $conf['gallery_url'].

With those settings, the link on the logo image points to www.mysite.com, instead of www.mysite.com/photos.

Changing $conf['gallery_url'] seems to have no effect on this.

Ok, I think I solved it. will be in 1.1.20

Offline

 

#105 2015-01-11 04:23:32

windracer
Member
St. Pete, FL
2014-12-28
499

Re: [Theme] GreyDragon Theme

Not sure if this a PWG thing or Grey Dragon thing, but why, in the side menu, is the item labeled "Keywords" when a guest is connected but then switches to "Tags" when a user logs in? Both links point to tags.php, so why the naming difference?

Offline

 
  •  » Themes
  •  » [Theme] GreyDragon Theme

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact