426

(15 replies, posted in Showkase Support)

Try setting your sendmail_path (in your 'php.ini file) to just '/usr/sbin/sendmail'(without the -t -i switches) to see if this makes a difference.
Maybe your web host could shed a little more light on the "Could not execute: /usr/sbin/sendmail -t -i" error message.

Otherwise, try using SMTP instead.
Open the 'showkase/admin/plugins/contact/master/contactcore/contact.php' file in a plain text editor and change line 21 from:

$mailer->isMail();

... to:

$mailer->isSMTP(); // Use SMTP
$mailer->SMTPDebug = 2; // Enable SMTP class debug output mode - can be 0, 1, 2, 3 or 4
$mailer->SMTPAuth = true; // Use SMTP authentication - can be true or false
$mailer->SMTPSecure = ''; // Secure connection prefix - can be '', 'ssl' or 'tls'
$mailer->Host = 'smtp.example.com'; // Set SMTP host
$mailer->Port = 25; // Set SMTP port
$mailer->Username = 'username'; // Set SMTP username
$mailer->Password = 'password'; // Set SMTP password

You will need to fill in your own unique SMTP details (as noted in the comments within the code).
You might also need to ensure that the 'From' address is a valid email address on your domain.
Try changing line 91 from:

$mailer->setFrom('mailer'.strstr($siteEmail, '@'), $userName);

... to:

$mailer->setFrom('your@email.address', $userName);

I hope this helps.

427

(15 replies, posted in Showkase Support)

Are you referring to the 'Email to' field in the admin section?

I'm not exactly sure why the contact form (PHPMailer) would fail to send emails to your own email address.
I used a couple of different (valid) email addresses when I was testing the functionality out on your server (a Gmail address and a Hotmail address) and emails from the contact form were sent to both addresses successfully.

At least we're making some progress and now know that your email address seems to be the cause of the problem.

I don't know if it will help but this forum thread seems to describe your problem:
http://stackoverflow.com/questions/2901 … l-function

Also, the PHPMailer troubleshooting section for the "Could not instantiate mail function." error message might help.
https://github.com/PHPMailer/PHPMailer/ … l-function

You could maybe try the 3rd suggestion in the link above and try using sendmail by opening the 'showkase/admin/plugins/contact/master/contactcore/contact.php' file in a plain text editor and changing line 21 from:

$mailer->isMail();

... to:

$mailer->isSendmail();

The path to the sendmail binary in your 'php.ini' file looks to be OK (the regular default sendmail path) so you should not need to explicitly set it.
Be sure to republish your site after making this modification.
I'm not sure if it will work but it might be worth a try.

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

428

(3 replies, posted in Showkase Support)

Yes, indeed. Useful to know if you're creating you own theme.
I'm glad it helps.

429

(3 replies, posted in Showkase Support)

Gallery settings for individual themes are stored in files such as:

showkase/_data/themedata/kosel/juicebox.xml

The _data folder is not part of the Showkase package. It is created when the gallery is setup. As such, it will not be overwritten if/when you upgrade Showkase.

430

(3 replies, posted in Showkase Support)

It sounds like you might want to try creating your own theme using an existing theme (such as Kosel) as a base template.
Take a look at the Creating Themes support section for more information.
Alternatively, as you seem to have everything customized to your liking at the moment, you might decide that it's best to just leave everything exactly as it is.

431

(3 replies, posted in Showkase Support)

You're welcome.

There are a number of different ways that you can target the 'Message' text area using CSS.
My own suggestion above will target only the 'Message' text area as it uses the element's id (#message) and every id on a web page should be unique.
You can certainly use classes (or input types) to target multiple elements at once (to avoid having to specify individual ids).

432

(3 replies, posted in Showkase Support)

I'm glad you've found what you're looking for.
Thanks for letting me know.

433

(3 replies, posted in Showkase Support)

Add textarea#message to your CSS selectors:

@media only screen and (min-width: 768px) {
    input[type=text],
    input[type=email],
    textarea#message {
        width: 300px;
        border: 1px solid blue;  
    }
}

I usually use my browser's developer tools (accessible via F12) to determine which classes and ids the custom rules should be applied to.

Just a quick reminder...
As you are using a lot of custom CSS in your theme's 'custom.css' file (which is absolutely fine), be sure to make a backup of this file.
If/when you next upgrade Showkase, your 'custom.css' file will be overwritten with the blank version that comes bundled within Showkase and you'll need to reinstate your custom version after upgrading (or you could remove the blank version from the Showkase core files before upgrading).

434

(3 replies, posted in Showkase Support)

No problem!

435

(3 replies, posted in Showkase Support)

You're welcome.
I'm glad you've got it sorted out via CSS.

436

(3 replies, posted in Showkase Support)

Image sizes and the theme width do not need to match exactly.
It is perhaps unlikely that images will be displayed at 100% anyway.
Showkase pages (and all its supported gallery types) are responsive and images are dynamically scaled (if necessary) so that they are displayed in their entirety respecting their aspect ratios and without cropping.
The image for the 'About' page, for example, is scaled to fill half the width of the page and images within Juicebox gallery pages are scaled to fit within the gallery's image area. (The images will not be displayed at their actual 1024px width.)
If you have really large images and wanted to display them much larger than the default theme width will allow, then you could certainly increase the theme width.
However, for your own scenario, I would personally just leave things as they are and allow Showkase (and the galleries) to dynamically resize the images if necessary.
You can, of course, try a few different settings for your theme width and settle on the one that you think works best for you and your images.

For other users reading this thread, the FAQ that md.michel is referring to is this one:
What is the optimum image size for the Boma and Kosel themes?

437

(3 replies, posted in Showkase Support)

You can change the 'Headings font', 'Body font' and 'Base font size (px)' in the 'Customize Theme -> Fonts' section.
These settings will apply to image titles and captions in a ListViewer gallery but not in Juicebox or SimpleViewer galleries.

For a Juicebox-Pro gallery, you can set the 'Gallery Font Face' in the 'General' section of the Juicebox gallery page.
Please see here for a short description of the Juicebox-Pro galleryFontFace configuration option.

To set font sizes, add the following CSS to your 'showkase/_themes/kosel/css/custom.css' file, changing the font sizes as appropriate:

/* IMAGE TITLE */
.jb-caption .jb-caption-title {
    font-size: 20px !important;
}

/* IMAGE CAPTION */
.jb-caption .jb-caption-desc {
    font-size: 20px !important;
}

/* IMAGE NUMBER */
.jb-cap-frame .jbac-number {
    font-size: 20px !important;
}

If you use Boma or Maribo rather than the Kosel theme, change 'kosel' in the path above to 'boma' or 'maribo' as necessary.

For a SimpleViewer-Pro gallery, use the 'Caption Font Name, 'Caption Font Size' and 'Image Number Font Size' configuration options in the 'General' section of the SimpleViewer gallery page.
For reference, all SimpleViewer-Pro caption options can be found here.

You can also add HTML formatting to individual image titles and captions to use HTML tags (and CSS via the 'style' attribute).
Please see the following FAQs for details.
Juicebox: How do I add HTML formatting to image captions and titles?
SimpleViewer: How do I add HTML formatting to my captions?

438

(3 replies, posted in Showkase Support)

I'm glad that helped.

439

(3 replies, posted in Showkase Support)

Make sure that you set the 'Thumb width' and 'Thumb height' (and 'Save' the changes) before you upload the images for your gallery.
If you set the 'Thumb width' and 'Thumb height' after uploading the images, go to the 'Advanced' tab (whilst editing the gallery page) and click the 'Rebuild' link (the only option in the 'Gallery repairs and updates' section). This will re-create the gallery's thumbnails using the new dimensions.

Be sure to re-publish your site after clicking 'Rebuild'. You may also need to clear your browser's cache to see the changes.

This should hopefully solve your problem.

440

(4 replies, posted in Showkase Support)

Not a big problem to fix (just a typo) but a small bug, nonetheless, so thank you for reporting it!

441

(4 replies, posted in Showkase Support)

This problem will be fixed in the next version but if you want to implement the fix yourself just now, it should be quite easy to do.
Open the showkase/admin/plugins/juicebox/defaults.ini file in a plain text editor and change line 134 from:

BackButtonUseIcon = "false"

... to:

backButtonUseIcon = "false"

... (note the lowercase 'b' at the beginning).
Be sure to republish your site after making the change.

Otherwise, you can still use the Back Button using text instead of the icon until the next version is released.

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

442

(15 replies, posted in Showkase Support)

[Communication continued via email.]

443

(15 replies, posted in Showkase Support)

I'm sorry to hear that running PHPMailer in debug more produced less error output than before.

Have you checked with your web host to ensure that PHP mail is enabled and set up correctly on your hosting account? If so, what did they say?
If you have not yet contacted them, please ask them why PHP mail does not seem to work on your hosting account. They may be able to tell you right away exactly what the problem is.

I'd be happy to investigate further myself but I'd really need access to your web server.
If you are agreeable to this, please let me know and I'll send you an email address where you can forward your FTP details to me.
Thank you.

444

(4 replies, posted in Showkase Support)

Unfortunately, it looks like you have discovered a bug. I have been able to replicate the problem in a test gallery of my own.
I have notified the developers and it should be fixed in the next version.
Thank you for reporting it.

445

(1 replies, posted in Showkase Support)

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

Just to clarify (and for others reading this thread), custom colors set in the 'Site -> Customize Theme -> Custom Palette' section will become active only after selecting 'custom' as the 'Overall color scheme' in the 'Site -> Customize Theme -> Color Scheme' section.

446

(15 replies, posted in Showkase Support)

I did not republish the page (should I have done so?) as this script is not part of the theme.

Yes, you'll need to republish your site after making the modifications. Sorry for not mentioning it before.
When you publish the site, Showkase will copy the contact form files from the 'master' folder into the '_viewers' folder (which is used in the live site).
Hopefully using PHPMailer in debug mode and without suppressing errors will result in a more detailed message which will help to determine the exact cause of the problem.

447

(3 replies, posted in Showkase Support)

You're welcome!

448

(3 replies, posted in Showkase Support)

No problem. I'm glad you've got it sorted out.
The About page has a different layout to other page types and expects an image to be used (and displayed on the right), hence the 'Image Url' input field (with the 'Browse Library' button) which other page types (such as the Basic page) do not have.
In the About page, space is reserved on the right for an image (the 'Image Url') and whatever you enter into the editor will be displayed on the left.

449

(3 replies, posted in Showkase Support)

Edit: solved with edit index.html

If you manually edit any of the HTML pages generated by Showkase, your modifications will be overwritten the next time you publish your site.

Instead, edit the showkase/_themes/base/pagetypes/contact.tpl file (the file that Showkase uses to generate the HTML pages).

You can change the 'Name' on line 68:

<label for="name">Name <span class="required">*</span></label>

... the 'Send' button's label on line 76:

<input type="submit" id="submitbtn" value="Send">

... and the "Please complete all entries" text on line 77.

Be sure to publish your site after editing the 'contact.tpl' file.

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

450

(3 replies, posted in Showkase Support)

By default, the About page under the Kosel theme is designed to display text to the left and an image to the right.
There is no need to worry about the page layout or HTML tags.
Try the following.

(1) Upload the image you'd like to display on your About page to the Library ('Library -> Upload').
(2) Create a new About page.
(3) In the 'Page Content' section of the About page, click the 'Browse Library' button (next to the 'Image Url' box) and select the image.
(4) Enter your text in the editor (there is no need to enter 'Source' mode or use any HTML tags).
(5) 'Save' the page and 'Publish' the site.

Hopefully this will give you the layout you are looking for.