Go Back   cPanel Forums > cPanel® and WHM® (for Linux® and FreeBSD® Servers) > Themes and Branding

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2009, 04:33 PM
Registered User
 
Join Date: May 2009
Posts: 12
morissette is on a distinguished road
cPanel Branding favicon.ico function broken? Doesnt allow uploading of .ico

https://domain.com:2083/frontend/x3/...kg=packagename

This is where I am at (obviously not domain.com but you get the idea)

--Favorite Icon (must be an ico) --> The field that I am trying to upload a .ico to
--The error --> Inputs not Valid - The image must be either .jpg, .png, or .gif.

cPanel directly asks for an .ico and then tells me no

I was able to manually change the file /home/invexdes/cpanelbranding/x3/sundaymorning/favicon.png to /home/invexdes/cpanelbranding/x3/sundaymorning/favicon.ivo which works in firefox; however it does not work in IE. (Not that IE is a browser any one should use - but they do)

Here is cPanel's validation function - as you can see nothing about ico:

Code:
<script type="text/javascript">

function register_validators() {

        /* generate validators */
            <?cp Branding::brandingeditor(register_validator[['match'\{comma}'jpg_gif_png_jpeg'\{comma}\{leftbracket}document.getElementById[['uifile%']]\
{rightbracket}\{comma}'$LANG{'ValidatorImageType'}'\{comma} function [[]] {
                      return [[document.getElementById[['uifile%']].value == '' ? false: true]];
                    }]];
            ,number,number) imgtype=ui ?>

            realtime_validate_init('mainform');
        }
        YAHOO.util.Event.addListener(window, "load", register_validators, false);
        </script>
So what is the fix for this? - (And yes I attempted to edit their validation script to allow ico - no go)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
x2 branding broken? kaos1409 Themes and Branding 2 11-25-2005 06:06 AM
favicon.ico do not work? oderland cPanel and WHM Discussions 10 07-12-2004 06:40 PM
favicon.ico jackal cPanel and WHM Discussions 7 12-26-2003 06:44 PM
URGENT: mail() function broken in cpanel 7. cyon cPanel and WHM Discussions 23 07-09-2003 12:18 PM
Install an RPM function broken nuclear cPanel and WHM Discussions 4 06-28-2003 03:16 AM


All times are GMT -5. The time now is 10:52 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc