#1 (permalink)  
Old 07-22-2009, 07:42 PM
Registered User
 
Join Date: Sep 2008
Posts: 91
sirbrent is on a distinguished road
Questions: Some Branding Basics

I am trying to learn the cpanel theming and branding process, which has been a fun adventure but not an easy task.

Say I have a branding called "hulahoop" for x3 skin, and I want to prepare this branding for distributing. I have learned that when using skins that if the file being requested exists in the set branding folder it will be used, if not it will look for the root branding. Simple and elegant. Yes.

My problem is with creating those damn sprite files. I cannot seem to get mine to be acknowledged (ones which I have put in my /branding/huluhoop folder, e.g.: icon_sprites_img.jpg & icon_sprites_img.jpg.map). I cant tell what files are being using when the sprites are rebuild (through script usage AND through "Reset All Icons" in branding interface). Where should my branding 'style's main page default icons' be specified. Basically I want to have some custom icons in my branding directory, and when the system rebuilds the sprites or a user is editing the "hulahoop" branding's sprites they will be the proper set.

I have started to learn a lot about cPanel's APIs and the way the skinning system works but there are a few things that I haven't been able to make sense of... and there doesn't seem to be any good documentation out there... nothing at all complete and comprehensive anyway --Please show me, if I am wrong!

Many thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-23-2009, 11:21 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by sirbrent View Post
I am trying to learn the cpanel theming and branding process, which has been a fun adventure but not an easy task.

Say I have a branding called "hulahoop" for x3 skin, and I want to prepare this branding for distributing. I have learned that when using skins that if the file being requested exists in the set branding folder it will be used, if not it will look for the root branding. Simple and elegant. Yes.

My problem is with creating those damn sprite files. I cannot seem to get mine to be acknowledged (ones which I have put in my /branding/huluhoop folder, e.g.: icon_sprites_img.jpg & icon_sprites_img.jpg.map). I cant tell what files are being using when the sprites are rebuild (through script usage AND through "Reset All Icons" in branding interface). Where should my branding 'style's main page default icons' be specified. Basically I want to have some custom icons in my branding directory, and when the system rebuilds the sprites or a user is editing the "hulahoop" branding's sprites they will be the proper set.

I have started to learn a lot about cPanel's APIs and the way the skinning system works but there are a few things that I haven't been able to make sense of... and there doesn't seem to be any good documentation out there... nothing at all complete and comprehensive anyway --Please show me, if I am wrong!

Many thanks!
Are you just placing files in the branding directory or are you adding them via the Branding Editor? I recommend using the Branding Editor since that will handle all the sprite stuff for you.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
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
API2 Basics? mikelegg Developer Discussions 16 12-19-2008 06:02 PM
New Server DNS Setup basics westhost-neil cPanel Newbies 2 06-30-2005 06:32 AM
Thanks for branding fmalekpour cPanel and WHM Discussions 0 03-19-2003 02:59 PM
Custom Skin Basics Danimator Themes and Branding 1 03-07-2003 01:59 PM


All times are GMT -5. The time now is 12:33 PM.


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