326

(11 replies, posted in Showkase Support)

I expect you've seen this forum post.
The instructions were accurate at the time (2 years ago) but things have changed slightly since then. (There are now certain files that are shared between all themes.)

If you've already put your 'favicon.ico' file in your root directory (not necessarily the same as your Showkase root directory) and it's not being picked up by your browser, then add the following code to your 'showkase/_themes/base/pagetypes/basetheme.tpl' file in the {block "stylelinks"} ... {/block} section between lines 27 and 30 (alongside the other <link> tags.

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

You can change the location of your 'favicon.ico' file if you like (it does not need to be in your root directory) but just make sure that the path to the file is correct in the 'href' attribute of the <link> tag.

Be sure to publish your site afterwards (just click the 'Publish' button) to have this <link> tag inserted into all your pre-existing Showkase pages.

Please note that the file and line numbers above refer to the current version of Showkase (v1.6.1).
If you are not already using the current version, then you might like to upgrade your site following the instructions here.
For a list of changes between versions, please see the Version History.

Incidentally, once you've posted a couple of posts, you should hopefully be able to include links. (Otherwise, you can disguise the links by inserting spaces between slashes or leaving out the http:// part.)

327

(7 replies, posted in Showkase Support)

I'd be happy to investigate further but it would help if I had access to your web server and Showkase site.
If you are agreeable to this, then please let me know and I will send you an email address where you can forward me your FTP and Showkase login details.

In the meantime, how are you setting your PHP directives? It might be worth checking (with phpinfo() to see if the new values are actually being used.

Also, try running the Showkase Server Compatibility Test. Even if you ran the test before installing Showkase, please try again in case your web host has made any changes recently. The results might give us a clue as to the nature of the problem.

328

(93 replies, posted in Showkase Support)

@toygate

Is there a keyboard shortcut for Save and for +New Page?

There are currently no keyboard shortcuts for Showkase interface buttons but thank you for posting your suggestion here where it will be seen by the developers.

329

(7 replies, posted in Showkase Support)

Thanks for the additional information.

The line you noted above sets several attributes for each image so it certainly looks like my initial suggestion regarding max_input_vars might be in the right ballpark.
Try increasing max_input_vars further (to something much larger such as 2000) to see it this solves the problem.
If I was out by just one and max_input_vars needs to be 7 x the number of images, then 1200 would not be enough for a 180 image gallery.
I was pretty sure that 6 x the number for images is all that should be required when I posted earlier but there is no harm in trying a larger amount in case I was wrong. What you say in your latest post certainly points towards a low max_input_vars being the cause of the problem.

I have just done some testing of my own and in a gallery of 33 images, a max_input_vars of 200 results in an undefined offset (when clicking 'Save' on the 'Images' page tab) but a max_input_vars of 201 works fine. Neither 200 nor 201 divide exactly by 33 but they are both just over 6 so trying a larger value (such as 7 x the number of images) might yet work.

Also, if you have not yet tried increasing your PHP memory_limit, this might also be worth a shot.

330

(7 replies, posted in Showkase Support)

It looks like you might be reaching your PHP max_input_vars limit.
Each image in a Showkase gallery page has 6 different variables associated with it so in order to process a large gallery, you will need to ensure that max_input_vars is at least 6 x the number of images in the gallery.
For example, if you have a gallery with 200 images, then the max_input_vars will need to be at least 1200.
I notice in your screenshot that the undefined offsets begin at 166 which equates to a max_input_vars value of 996 (166 x 6 = 996) so it sounds like your max_input_vars might currently be set to 1000 (and it needs to be higher for your site).

You should be able to check your PHP settings using phpinfo() as follows:

  • Create a new file in a plain text editor with the following code: <?php phpinfo(); ?>

  • Save the file with a .php file extension (for example, 'phpinfo.php').

  • Upload the file to your web server and open it in a browser.

You should be able to change PHP values using a php.ini file, via an .htaccess file or via your web hosting online Control Panel.
If you have trouble changing any PHP values, your web host should be able to help you out.

Hopefully increasing max_input_vars will solve your problem.

If this does not help, then here are other things that you can try.

(1) Please try installing and running the Showkase Server Compatibility Test to check that your server has all the features Showkase needs.
If any of the tests fail, there are troubleshooting tips on the test's support page (link above).
Even if you ran the test before installing Showkase, please try again in case your web host has made any changes recently.

(2) If you are not already using the latest version of Showkase (v1.6.1), please try upgrading to see if this helps.
For a list of changes between versions, please see the Version History.
Full instructions for upgrading Showkase can be found here.

(3) Try going to 'System -> Repairs' and clicking the 'Repair' button to rebuild the page records.

(4) If the error message happens only when deleting images from certain gallery pages, try editing the pages in question, going to the 'Advanced' tab and clicking the 'Rebuild' button to rebuild the gallery.

(5) Check and increase your PHP memory_limit directive (in a similar way to max_input_vars above).

(4) If none of the above helps, then try running Showkase in debug mode to see if a more informative error message is displayed when the problem occurs.
Open your 'showkase/admin/settings/constants.php' file in a plain text editor and change line 12 from:

define('DEBUG', false);

... to:

define('DEBUG', true);

This should help to track down the exact cause of the problem.
Please note that the line number above refers to the current version of Showkase (v1.6.1).

I would also recommend that you make a complete backup of your site before you change anything, just in case anything goes wrong and you need to reinstate the original files at a later date.

I hope one of my suggestions above helps to solve your problem.

331

(1 replies, posted in Showkase Support)

Unfortunately, there are no dedicated keyboard shortcuts for Showkase interface buttons.
However, you might like to post your suggestion in the Feature Requests forum thread.
This keeps all the ideas together and ensures that they are not overlooked by the developers.
I do not know the likelihood of any suggestions being implemented but this is certainly the best place for all ideas.
Thank you.

Edit:
Many thanks for posting your suggestion in the Feature Requests forum thread.

332

(5 replies, posted in Showkase Support)

You're welcome.
I'm glad you've found a suitable compromise.
Thank you for letting me know.

333

(5 replies, posted in Showkase Support)

The thumb count was the problem. Thanks!

You're welcome!

To fix the gap on the left side that is set aside for the nav icon, I added to the custom.css file the following to get it to align left with the image block:

I'm glad you've been able to left-align the thumbnails to your liking. Thank you for sharing your solution.

Any ideas on how to get the thumbs to stay immediately below the image no matter what the height of the page is?

If you are looking to always have the top of the thumbnails flush against the bottom of the main image, then the only way to do this using the available configuration options would be to set imagePadding="0" and thumbPadding="0" and then either set imageScaleMode="FILL" (probably not appropriate for your gallery) or ensure that your images are large enough that they will always need to be dynamically scaled down slightly by Juicebox to fit within the gallery's image area when the gallery is displayed.

Otherwise, you could perhaps use some custom CSS such as the following to move the thumbnail container (and its navigation buttons) up slightly. (However, I would always recommend using the available configuration options where possible as Juicebox will not know of any custom CSS modifications that you make. Juicebox may expect certain elements to be in certain places and shifting them around via CSS may lead to unforeseen problems and unwanted knock-on effects.)

.jb-idx-thumbnail-container, .jbn-nav-button  {
    margin-top: -20px !important;
}

Again, this will work only if all your images are larger than the gallery's image area. If any of your images are smaller than the image area and are not dynamically scaled up (check your gallery's imageScaleMode value), then there may be a gap below your main images. (There is no easy way to always just attach the top of the thumbnails to the bottom of the main image.)

334

(5 replies, posted in Showkase Support)

I can't get the thumbnails to align left and immediately below the main image.

The default value for maxThumbColumns is 10 but your gallery has only 8 images so Juicebox will be reserving enough space for 10 thumbnails, leaving room for extra thumbnails which your gallery does not have. Try setting maxThumbColumbs="8" (in the 'Thumbnails' section).
It might be difficult to exactly align the thumbnails with the left-hand edge of the main image (Juicebox will reserve space for the thumbnail navigation buttons which will be required in a narrow browser window and thumbnail padding will also need to be taken into consideration) but you could perhaps use imagePadding to line them up and also set thumbNavPosition="BOTTOM" to position the thumbnail navigation buttons below the thumbnails, clearing some space to their left.

Also, can't get the Gallery title position to move from the default - bottom left.

The 'ARTSY' text below your gallery is actually the Showkase page title ('Page Content -> Page title') rather than the Juicebox Gallery Title.
If you want to move the page content (including the page title) from below the gallery to above the gallery, then it is not possible with the available interface options and you'll need to edit one of the Showkase source files.
Open the 'showkase/_themes/base/pagetypes/juicebox.tpl' in a plain text editor.
Cut lines 18-23 inclusive:

      <section class="page-body">
        <h2 class="page-title">{$ss_pageTitle}</h2>
        <div class="body-content {$pageBodyLayout}">
          {$ss_pageBody}
        </div>
      </section>

... and paste them to immediately below line 2:

{block "content"}

Please note that the line numbers refer to the current version of Showkase (v1.6.1).

Be sure to re-publish your site after making this change.

335

(2 replies, posted in Showkase Support)

Thanks for sharing!

It's often enough to just press Ctrl + F5 to reload the current page from the server (but, if all else fails, clearing the browser's cache is certain to solve any browser caching issues).

336

(3 replies, posted in Showkase Support)

You're welcome!

337

(3 replies, posted in Showkase Support)

You're welcome!

338

(3 replies, posted in Showkase Support)

A grid of videos is not something that Showkase has native support for so you'd certainly need to find some kind of manual solution.

The first thing to bear in mind is that Showkase fits videos using the FitVids JavaScript library.
If you want to disable the loading of this JavaScript file, open the 'showkase/_themes/base/pagetypes/basetheme.tpl' file in a plain text editor and remove line 170:

<script src="{$ss_themesUrl}/base/js/jquery.fitvids.js"></script>

Now, your videos will no longer be resized by Showkase and will always be at whatever dimensions you assign to them in their iframes.
You should now be able to position your videos side by side using code such as the following:

<iframe allowfullscreen="" frameborder="0" height="200" mozallowfullscreen="" src="https://player.vimeo.com/video/12345678?color=ffffff" style="margin-right: 20px;" webkitallowfullscreen="" width="300"></iframe>
<iframe allowfullscreen="" frameborder="0" height="200" mozallowfullscreen="" src="https://player.vimeo.com/video/12345678?color=ffffff" style="margin-right: 20px;" webkitallowfullscreen="" width="300"></iframe>
<iframe allowfullscreen="" frameborder="0" height="200" mozallowfullscreen="" src="https://player.vimeo.com/video/12345678?color=ffffff" webkitallowfullscreen="" width="300"></iframe>

Note the style attributes of the iframes (margin-right: 20px;), adding a little space between videos (not required for the last one).

Just use the regular '1-column wide' body text layout for this.

I hope this helps.

Please note that the line number above refers to the current version of Showkase (v1.6.1).

339

(3 replies, posted in Showkase Support)

The ability to auto-hide thumbnails was introduced in Juicebox-Pro v1.5.0 (please see the Version History for a list of changes between versions) but your gallery currently uses Juicebox-Pro v1.4.4.1.

Your Showkase-Pro v1.6.1 installation already comes bundled with Juicebox-Pro v1.5.0 so all you need to do to upgrade your gallery is re-publish your site (just click the 'Publish' button).
You may have to clear your browser's cache afterwards before reloading your gallery's web page.

This should solve your problem.

340

(3 replies, posted in Showkase Support)

I'm glad you've been able to sort out your default email program.
Thank you for letting me know.

341

(3 replies, posted in Showkase Support)

The "email us" link in the Support Overview is a 'mailto' link.
A 'mailto' link will open your computer's default email program and start an email to the specified email address.
If you do not use an email program (such as Outlook or Thunderbird) on your computer and, instead, use webmail (via a browser interface), then nothing will happen when you click on a 'mailto' link.

The email address for email support is showkase@simpleviewer.net. It can be seen in the browser's status bar when you hover over the "email us" link. You can also right-click the link and select 'Copy Email Address' which you can then paste into a new email to send to us. Alternatively, you can post any queries you have here and I'll do my best to help you out.

342

(3 replies, posted in Showkase Support)

I'm glad to hear that you've been able to resolve your issue.
Thank you for letting me know.

343

(3 replies, posted in Showkase Support)

I expect the grey color you are seeing is coming from line 386 of the '_themes/maribo/css/styles.css' file (the 'background-color' entry in the following section).

.gallery-listviewer .image-wrap {
  /* intrinsic ratios image sizing */
  position: relative;
  height: 0;
  background-color: rgba(0, 0, 0, 0.1);
  margin-bottom: 2em;
}

I'm not sure about the origin of this 'background-color' entry (a neutral grey might have been chosen to prevent an even more distracting flash of either black or white in certain browsers) but try removing the 'background-color' entry, changing the color to match the background color of your website or change the 'rgba' value to be completely transparent: background-color: rgba(0, 0, 0, 0);
This should hopefully solve your problem.

Please note that the line number above refers to the current version of Showkase (v1.6.1).

344

(3 replies, posted in Showkase Support)

Download the CKEditor 'Full Package' from this web page: http://ckeditor.com/download
Unzip the package and upload the complete 'ckeditor' folder to your 'showkase/admin/' directory (overwriting any existing files).
This, in conjunction with setting config.toolbar = 'Full'; as in my post above, should unlock all the features you are looking for.

Please note that although this should work OK, Showkase has not been tested with the 'Full Package' or this version of CKEditor (v4.5.11) so this modification should be done at your own risk.

345

(3 replies, posted in Showkase Support)

(1) You can change the configuration of the CKEditor toolbar in the 'showkase/admin/settings/ckeditorconfig.js' file.
If you'd like to use the 'Full' toolbar, change line 32 from:

config.toolbar = 'Showkase';

... to:

config.toolbar = 'Full';

Otherwise, you can configure a custom toolbar by changing one of the templates in the file ('Showkase', 'Basic', 'Full') and making sure that line 32 selects the template you wish to use.
Showkase incorporates CKEditor v4.5.7 so please refer to the documentation here: http://docs.ckeditor.com/#!/guide/dev_toolbar
Also, please note that the line number above refers to the current version of  Showkase (v1.6.1).

(2) The Showkase Library was designed to accept images only (files with extensions jpg, jpeg, gif and png).
All Library and upload functionality is based around images. When selecting the 'Library -> Images' tab or clicking a 'Browse Library' button, only images are displayed. It would probably take quite a lot of modification to several source files to allow other files types to be accepted by the upload module and for functionality to not be broken anywhere in the interface. Care would need to be taken to filter out non images for Library selections (such as the theme 'Logo') as the file may end up as a 'src' attribute in an <img> tag.
If you need to incorporate a pdf file in your site, the best thing to do would be to upload it to your web server manually and add your HTML code as necessary in the editor (as you are currently doing).

I hope this helps to clarify things for you.

346

(5 replies, posted in Showkase Support)

You're welcome!

347

(5 replies, posted in Showkase Support)

The css worked great.

That's great! Thank you for letting me know.

... any link I put in the body copy has a dotted underline.

If you want to remove the dotted line below links in the Maribo theme, add the following CSS to your 'showkase/_themes/maribo/css/custom.css' file:

a {
    border-bottom-style: none !important;
}

348

(5 replies, posted in Showkase Support)

I notice on the Maribo demo site, the Maribo Photo header font is larger than what the default is when using the actual theme.

Font sizes may be tweaked between versions (perhaps for layout reasons) but I have just created a sample Showkase site using the current version of Showkase-Pro (v1.6.1) and the Maribo theme and the 'Site heading' and 'Site subhead' are the same size in my test site as they are in the v1.5.1 demo site here.
If you are using a version of Showkase prior to v1.5.1, then perhaps upgrading to the current version will solve your problem without any further action.
Full instructions for upgrading Showkase can be found here.

If you still want to increase the 'Site header' font size but only when Showkase is in Large Screen Mode (when the browser window is wider than 768px), then you can use a media query. Please see this Mozilla Developer Network support page for more information on using media queries: https://developer.mozilla.org/en-US/doc … ia_queries

Try adding the following CSS (adjusting the 'font-size' as necessary) to your site's 'showkase/_themes/maribo/css/custom.css' file:

@media only screen and (min-width: 768px) {
    .hgroup h1 {
        font-size: 60px;
    }
}

I hope this helps.

349

(1 replies, posted in Showkase Support)

— recently, even after changing their page titles both on the page list and in the page details, the folder name (URL) will not change.

Just to clarify, in the current version of Showkase (v1.6.1), the folder name is taken from the page name on the 'Pages' tab (shown in the tree) rather than the 'Page title' in the page settings.

I have just double-checked this functionality in a Showkase-Pro v1.6.1 site of my own and everything seems to work as expected. I am unable to replicate the problem you reported.

I do not know why your folder names are not changing to reflect your page names but here are a few things to check and try.

(1) You say the problem seems to have started recently. If you have not made any changes yourself (other than to your Showkase pages), then perhaps your web host has changed something on your server or web hosting account that is somehow contributing to your problem.
Please try installing and running the Showkase Server Compatibility Test to check that your server has all the features Showkase needs. If any of the tests fail, there are troubleshooting tips on the test's support page (link above).
Even if you ran the test before installing Showkase, please try again in case your web host has made any changes recently.

(2) Try going to 'System -> Repairs' and clicking the 'Repair' button to rebuild the page records. This might help.

(3) The problem could possibly be related to permissions. Try going to 'System -> Files' and click the 'make writeable' next to the folders in question.

(4) I notice that the pages you referred to in your post above are not represented in the navigation menu. Are they hidden or is this part of the problem? Try moving the pages in the tree on the 'Pages' tab to a different location (just temporarily), click 'Save' and 'Publish' and then move them back to where you want them to be (and, again, click 'Save' and 'Publish').

(5) After changing a page name (on the 'Pages' tab) is there a new folder with the new name as well as the old folder?

(6) Does the functionality of Showkase still seem to work OK (even though the folder name is not changing on your server)? If you make any changes to one of the Showkase pages whose folder names do not change, are the changes applied successfully?

Maybe the suggestions in #1, #2, #3 and #4 above will help.
Otherwise, the additional information from #5 and #6 might at least point us in the right direction.

350

(1 replies, posted in Showkase Support)

Yes. Showkase should run absolutely fine on PHP 7.
I currently run test Showkase sites on PHP 7.0.6 without issue.
However, if you find any oddities that you think might be related to PHP 7, please let us know.
Thank you.