DotNetNuke HTML Editor Background Black

When you get a black background in the HTML Editor.

image

The solution is easy.

Look for the file found here:

\Providers\HtmlEditorProviders\Telerik\Config\ConfigDefault.xml

Edit it to add this line:

<property name="CssFiles">~/Providers/HtmlEditorProviders/Telerik/Config/EditorCustom.css</property>

Looking like this:

image

Then edit this file:

\Providers\HtmlEditorProviders\Telerik\Config\EditorCustom.css

To look like this:

body
{
  background-color: white;
  background-image: url(image_path);
  color: black;
}

image

 

That’s about it.

How to pass iStockphoto Photographer Application Quiz–Answers

Review your answers

  1. Files downloaded from iStockphoto (including yours once you pass this test) are offered with a royalty-free license, which describes how the image can and cannot be used: – TRUE
    When iStock clients download an image they must first agree to our royalty-free content license agreement.
  2. iStockphoto images are downloaded under two different kinds of royalty-free licenses: our “standard use” license, which allows for all kinds of commercial, personal, and editorial uses, and our “editorial use only” license. – TRUE
    iStock now has an editorial use only license in addition to our standard content license agreement.
  3. All recognizable faces in images with the standard use license require a model release, including those in crowds: – TRUE
    All recognizable human faces require a model release, including public areas, crowds, self portraits and vintage photographs.
  4. Logos are acceptable in wide angle photographs under the standard use license: – FALSE
    Any visible logo should be removed in royalty-free stock photography.
  5. Identifiable design marks, such as the 3 stripes for Adidas or the Nike swoosh, are allowed in images under the standard use license if the name is removed: – TRUE
    All design elements that are recognizable to a company may also be protected by trademark, and should always be removed for royalty-free stock photography.
  6. Landmark buildings such as the Sydney Opera House require a property release to be used in images offered with the standard use license: – TRUE
    Famously recognized buildings and modern architecture may require a property release. Questionable buildings should be researched prior to uploading.
  7. A model release is required for a self portrait: – TRUE
    All recognizable human faces require a model release, including public areas, crowds, self portraits and vintage photographs.
  8. The photographer can witness their own Model/Property Release: – FALSE
    A model or property release cannot be witnessed by the photographter
  9. A simple snapshot is acceptable; iStock does not require quality in composition: – FALSE
    The iStock collection is a selection of the highest quality, both creative and technical, images submitted. Simple snap shots will not be accepted.
  10. It is acceptable to protest a rejection in the iStock forums: – FALSE
    To protest an image, it should always be addressed through “Scout”, located in the Support section.
  11. It is acceptable to copy the composition of another photographer`s work – FALSE
    iStock respects the creative value of each original image and does not condone mimicking the work of others.
  12. Photographs should be upsampled or interpolated to the maximum XXL size: – FALSE
    iStock will not accept images that have been upsampled or interpolated above their native resolution.
  13. The above example contains: – COMPRESSION
    Compression can be spotted in a photograph by the “chunking” of colors.
  14. The above example is: – UNACCEPTABLE
    Harsh light or distracting shadows unintentional to the composition will be declined from the iStock collection.
  15. The above example is: – UNACCEPTABLE
    The use of noise reduction should never create a “watercolor” or overly smoothed appearance.

Discount Coupon Entry not Displaying Opencart 1.5.3.1

Opencart Cart Version 1.5.3.1

We have been using opencart Version 1.5.3.1 with a custom template or skin. We found that the skin had some coding that stepped users through the “cart” step of the checkout, directly to the checkout process.

The stops the “voucher or coupon” step being available to the end user during checkout. (Unless they had more than one item in their cart).

The problem appears to be that the template is using the code:

<a href="<?php echo $checkout; ?>"

 

rather than:

<a href="<?php echo $cart; ?>"

 

You see the difference is the word “checkout” vs “cart” in this string.

This means that when you click on the:

image

icon for checkout, you are directed to:

domain.com/index.php?route=checkout/checkout

where you need to go to get the coupon option is:

domain.com/index.php?route=checkout/cart

 

Things to check first

1. Ensure you have added coupon codes!

The first obvious check is to ensure you have added voucher (discount) codes to your storethrough OpenCart’s administration panel, in Sales > Coupons.

image

2. Ensure Coupons are enabled in OpenCart

Next, we need to check the coupons feature is enabled in OpenCart. In OpenCart 1.5+, this is located in the Extensions > Order Totals menu in the administration panel. Make sure that the Coupons feature is enabled (it should be by default).

image

3. The Fix

Use a program that will search all files in your website structure looking for the phrase:

<a href="<?php echo $checkout; ?>"

and replace it with

<a href="<?php echo $cart; ?>"

 

What you will probably find is an error when you then try to proceed from the “Cart” to the correct “Checkout”

We found that the find and replace we did, broke the actual button found here:

image

But the good news was that the fix is really easy.

If you hover on that link / button you will find that the error message appears that says something like: Undefined Error in (and lists the file) and the line number.

Just open that file, find the correct line number, and replace the word “cart” with “checkout” in that once instance.

The net result being that you are changing all but one of the instance of the <a href="<?php echo $checkout; ?>" string.