5099 Posts in 1519 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1650 Views |
-
Changing Tree Icons for Error Pages

17 February 2009 at 9:13pm
Hello,
Since I don't have a code page for Error Pages, is there a way to change their tree icons?
-
Re: Changing Tree Icons for Error Pages

17 June 2011 at 1:58am
Did you ever figure this one out Dan?
I've tried by changing this line:
static $icon = array("sapphire/javascript/tree/images/page", "file");
to
static $icon = array("sapphire/javascript/tree/images/page", "error");
in sapphire\core\model\ErrorPage.php
I added page-error.gif and png to the sapphire\javascript\tree\images folder but it still displays the original page-file icon.
Whats weird is if I remove the line of code from the page then the error page icons disappear.
Any ideas??
Cheers
-
Re: Changing Tree Icons for Error Pages

29 June 2011 at 1:26am
Did you try doing this in the _config.php file?
ErrorPage::$icon = array('themes/rohitbanerjee-blocko/images/icons/error',"file");
It worked for me and this way you dont have to touch or modify your Error page php file.
| 1650 Views | ||
|
Page:
1
|
Go to Top |


