Gallery 3 Project migration – progress 08/01

New version of the GD Theme for PW is up for grabs

It is the large update as it affects core code.

  • Major theme code refactoring. Theme logic is now “classified”
  • Bootstrap CSS support introduced to alleviate browser dependencies.
  • Theme’s CSS is moved out of theme.css to ensure proper application
  • Admin: fixed issue with quotes not stored properly in various fields
  • Admin: Added option to enable debug mode
  • Admin: Added option to reset theme settings
  • Admin: Removed option to suppress noindex for Robots (managed from PW config.inc)
  • Admin: Added check for required PW version and plugins
  • Admin: Theme styling is extended to Theme’s admin area

Take a look at admin area look-and-feel and let me know what you think

Edit: as with any big changes, I discovered few issues. As result I have posted the patch

Download current alpha version

This entry was posted in Piwigo, Technology. Bookmark the permalink.

11 thoughts on “Gallery 3 Project migration – progress 08/01”

  1. When I activate the GThumbs+ I get the following errors: Warning: Illegal string offset ‘show_thumbnail_caption’ in /Library/Server/Web/Data/Sites/Default/_kcsc/piw/plugins/GThumb/main.inc.php on line 40

    Warning: Illegal string offset ‘nb_image_page’ in /Library/Server/Web/Data/Sites/Default/_kcsc/piw/plugins/GThumb/main.inc.php on line 44

    Warning: Illegal string offset ‘nb_image_page’ in /Library/Server/Web/Data/Sites/Default/_kcsc/piw/plugins/GThumb/main.inc.php on line 45

    Warning: Illegal string offset ‘nb_image_page’ in /Library/Server/Web/Data/Sites/Default/_kcsc/piw/plugins/GThumb/main.inc.php on line 46

    Warning: Illegal string offset ‘show_thumbnail_caption’ in /Library/Server/Web/Data/Sites/Default/_kcsc/piw/plugins/GThumb/main.inc.php on line 47

    I’m running on a MacMini Server 10.9.4

    Any ideas how I should chase this?

    1. If I am not mistaken, you need to save settings at least once
      if error persist I would advise to post question on the forum

      1. Jeffrey Billings says:

        Thanks!

  2. Andrew says:

    Hi,

    Where can I download this theme?

  3. Greg says:

    Thanks for working on this.

    I haven’t up my mind about Piwigo. The admin menu organization in inscrutable. And seemingly obvious things aren’t easily done, such as showing the Caption below the photo—you have to show all the metadata. URLs are odd. No theme options.

    I think much of this can be accomplished but I know nothing of Smarty and little of PHP which would be required. With Menalto Gallery I used to be able to insert some PHP code in without to much difficulty to make changes.

    Serge GD is changing my captions to all lowercase. Is that intended?

    All of this said, Piwigo had many good features—good looking, arrow keys are supported, mobile looks good and works well.

    1. Placements of captions are part of the theme. Various themes would handle it differently. And if you decide to make your own theme then you can add elements anywhere you want.
      I just finished first round of customization for GThumb+ plugin and would probably make thumb layout generation as part of it rather than make it part of the theme.

      Yes, some menu choices are odd, but there were few questions lately asking if admin area can be improved.
      From what I can see, it is easily done. And as I am working on my theme, I am working on new styles for admin area.

      In latest GD making caption lowercase is optional now and you can prevent it from happening.

  4. Greg says:

    Follow up. When you show the Caption using metadata, it’s lost at the bottom of the right column. Not with the photo.

    1. not sure I follow

      Edit: see my comment on the latest build. it may help

      1. Greg says:

        I’m using show metadata to get the caption to show and it ends up at the list of metadata, not above or below the photo as I would like it and as G3 did it. It’s a Piwigo thing not a Gray Dragon issue.

        I can send a screen capture or look at my site and look at an individual photo, although most don’t have captions, so it might be easier if I post a screen capture: http://knobby.ws//toShare/Screen%20Shot%202014-08-12%20at%209.29.45%20AM.png
        The caption is at the lower right.

        All lowercase is fixed. Thanks

        1. I will be adding support for positioning to GThumb+ module fork. This way some metadata would be part of the thumb overlay
          Next step would be to try and replicate some of the behavior from G3.
          Please note that some themes already supporting it out of the box – ex: Stripped – and is worth exploring

Leave a Reply