Forum moderator: bigblog  
uCoz Community » For Webmasters » Design Customization » Instruction for those who want to change design
Instruction for those who want to change design
Posts: 117
Reputation: 52

Message # 1 | 12:42 PM
In uCoz system a site is based on dynamic pages. Dynamic page is a page, which doesn't exist on the server as an integral whole, but is constructed in a browser "on fly" of separate blocks according to a certain script. In general it consists of three components:

1. Content, i.e. text, images and hyperlinks; it is located in a special database as a rule.
2. Description of content design, i.e. how the content is placed and formatted on a page.
3. Program-script, which extracts separate blocks from the database and constructs a page.

The first item is entirely yours, i.e. information with which you are going to fill your site. The second and the third are granted by the system, but though the second may be changed for almost 100%, the third you can only complement with client scripts.

The program-script, written by high-class professional programmers, is presented to you in the form of modules - Forum, Guestbook, Catalogs etc., described on the main page of our site. By means of Control Panel, you can adjust these modules to your site. uCoz Control Panel is made as convenient as possible, it has user-friendly interface, and is supplied with various hints and mini-instructions.

Page appearance is based on templates and a style sheet in a separate file. Each module has several templates, allowing to customize separately appearance of each module and appearance of pages inside a module.

Page code includes both common HTML-tags and special uCoz codes. uCoz codes are special variables, which accept the following values when output on a page:

  1. Constants
  2. Variables
  3. Parts of HTML codes
For example, $SITE_MENU$ code outputs contents of the main site menu, which has a separate template. As a result, your make changes in one place, and then they become active on all site pages automatically. In general uCoz codes represent on a site contents of the fields, which you fill in module settings or in some templates.

Each template has also Visual Editor, but it is intended for the "face-lift" of your template. Here you can format text, insert a link or an image, but we do not advise you to make serious changes in Visual Editor. Even such professional editors as FrontPage or DreamweaverMX do not guarantee pure code.

Template Builder, Global Blocks and Quick Replacement of HTML-code parts make work with the design much easier.

Template builder is intended for quick and convenient replacement of the whole site design. You need not update each template separately, all you need is to create one common skeleton and all active templates will be updated. This utility is intended for "rude" customization of site appearance, all tiny details you should change manually; still it will save you much time.

Global blocks are blocks, available in all other templates of your project. With the help of global blocks you can optimize the design of your project, having divided it into common parts, e.g.: HEADER - common upper part, FOOTER - common lower part etc. By means of global blocks, you can make changes of the whole project by editing one block template only. You can create 10 global blocks.

Quick replacement – this feature is intended for quick replacement of one part of HTML code by the other. E.g. you need to replace "SITE LOGO" by "Interesting site", so you insert "SITE LOGO" in the first field, and "Interesting site" - in the second. As a result "SITE LOGO" will be replaced by "Interesting site" in all templates where it is found. You can do this action with any HTML code, e.g. replace images (logo), template variables ($codes$) etc. However, be attentive when making a replacement for it can occur even in those places where you didn’t expect. E.g., if you want to replace "a" by "b", the system will replace "a" by "b" everywhere it will find "a". Remember, if something goes wrong, you can always restore templates by means of the corresponding feature or with the help of "Update design for all active modules" option in "Common settings" section.

That is what you must know if you want to change the design of your site.

Posts: 9296
Reputation: 456

Message # 46 | 1:24 PM
I'm not active on the forum anymore. Please contact other forum staff.
Posts: 1
Reputation: 0

Message # 47 | 4:59 PM
Can u show me how to change background ? I don't know where i can find <body> tag. And where is that tag in >^<
Posts: 1931

Message # 48 | 5:49 PM

If you want a specific help, create a new thread with provided design number.

[... With uCoz since December 2 2007 ...]
Posts: 62
Reputation: 2

Message # 49 | 1:33 PM
also avoid custom templates like rockettheme's Dominion it is a nuisance it looks good but you cannot log in or do anything furthermore the admin bar is disabled and if you think you made a bad idea and try to uninstall it there you will end up in a real pit. your site will never look the same again even if you manage to restore the front template the rear control is corrupt. dont say you were not warned
dont fear fool

Post edited by shadychiri - Thursday, 2010-12-09, 1:34 PM
Posts: 33
Reputation: -1

Message # 50 | 7:15 AM
i did all of it but still my home page is not changed
please help cry

Added (2010-12-22, 1:15 Am)
i did it but it wont work
please help cry

Posts: 2856
Reputation: 189

Message # 51 | 10:26 AM
PRANJAL, provide website URL and explain what do you exactly want to change
To busy building a passive income online ;)
Posts: 3366
Reputation: 171

Message # 52 | 1:04 PM
PRANJAL, specify your actions so we will be able to understand the problem.
Posts: 33
Reputation: -1

Message # 53 | 7:58 AM
my website url is-
i had tried to change the design of my website and already tried all of the steps given here in this page , but still all the pages changed but not my homepage,
Posts: 2856
Reputation: 189

Message # 54 | 11:40 AM
PRANJAL, try these following steps

Main »Settings » Common settings » Site design: Choose design » check the box of "Update the design for all active modules" » save
if your homepage is still not changed , tell us more about what you have in Main » Customize design » Page Editor , there should normally only be "Site Pages"

To busy building a passive income online ;)
Posts: 3366
Reputation: 171

Message # 55 | 2:46 PM
PRANJAL, Control panel->Design->Design management (templates)-> Page editor->Restore default templates.
Posts: 33
Reputation: -1

Message # 56 | 2:50 PM
hi animorph & natashko ,
i did both the suggestions ,but they didn't work
still my home page has not changed
please help,,
Posts: 3366
Reputation: 171

Message # 57 | 3:55 PM
PRANJAL, go to Control panel->Page editor->Pages management->Click "Change" next to your Home page->make sure that "Apply personal template to the page" is not tagged->Save
Posts: 33
Reputation: -1

Message # 58 | 8:35 AM
thanks a lot it worked smile
Posts: 6
Reputation: 0

Message # 59 | 7:35 PM
Odd problem I can't seem to solve. I want to change the template (theme) of a sub page, but it affects the home page when I do. So apparently, the home page setting is the only thing I can change, which of course changes all the sub pages. I tried selecting "apply personal template" to the sub page, but then I can't actually access the template menu that's available when on the "common settings" page. I am left with manually editing code. Click image below:


Can I just copy the template code from the template list you provide (assuming the code itself is shown somewhere) into that area? Or is there a simpler way to go about this? Thanks.

Posts: 105
Reputation: -3

Message # 60 | 11:28 AM
Hey there! i need help bad and quick! My website design is #818 and when i added the skeleton code, it turn my page all white! Im soo scared that i won't be able to get my webdesign i use back sad So when i try to change back to where i went to common settings and change the design back to #818 and i push the restore template design button but it didn't work! it is still white! Can you please help me! I put my website offline because i don't want my memebers to see what happen to it! LOL

thanks for your help! happy

uCoz Community » For Webmasters » Design Customization » Instruction for those who want to change design