core icon indicating copy to clipboard operation
core copied to clipboard

Error pages - Allow customization for default error pages

Open gabbydotCMS opened this issue 14 years ago • 4 comments

Allow clients to have their own logo and text in the default dotCMS's error pages for those cases where the custom error pages are not displayed.

gabbydotCMS avatar Aug 16 '12 16:08 gabbydotCMS

Ready. All the changes are applied

oswaldogallango avatar Aug 22 '12 20:08 oswaldogallango

Changes done:

  • Page's icon is now local instead of referring to dotmcs.com; instead of http://www.dotcms.com/global/favicon.ico, favicon's URL is now http:///home/favicon.ico (this file needs to be added to the starter - it will be reported in a separate task)
  • Logo on error pages is now the logo configured in the Company Portlet
  • Copyright URL is now the Portal URL configured in the Company Portlet
  • Page Title, Page H1, Page Body, and copy right URL title are now taken from the dictionary terms allowing the user to assign their own text to the error pages in multiple languages.
  • These language variables have been included in the default language file and are the ones that need to be defined by the user in case they want to customize the text in the default error pages:

[error code]-image-title [error code]-page-title [error code]-title [error code]-body1 [error code]-body2 [error code]-copywright

error code = 400, 401, 402, 403, 404, 500, 503

Please see http://jira.dotmarketing.net/secure/attachment/5826733/screenshot-1.jpg .

gabbydotCMS avatar Aug 23 '12 16:08 gabbydotCMS

Also, dotCMS 2.x can store file assets in the root folder. We should ship with the /favicon.ico there.

wezell avatar Aug 23 '12 16:08 wezell

Working and have it on my doc list for the release

DeanGonzalez avatar Oct 01 '12 14:10 DeanGonzalez