Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Sep 2008
    Posts
    98

    Default 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!

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,718
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Command line basics?
    By lightbeing in forum Database Discussions
    Replies: 1
    Last Post: 10-30-2010, 08:04 PM
  2. Security Basics
    By harsonrobkus in forum Security
    Replies: 3
    Last Post: 10-07-2010, 05:59 AM
  3. API2 Basics?
    By mikelegg in forum cPanel Developers
    Replies: 16
    Last Post: 12-19-2008, 06:02 PM
  4. New Server DNS Setup basics
    By westhost-neil in forum New User Questions
    Replies: 2
    Last Post: 06-30-2005, 06:32 AM
  5. Custom Skin Basics
    By Danimator in forum Themes and Branding
    Replies: 1
    Last Post: 03-07-2003, 01:59 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube