Page 1 of 812378»
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: 10
Reputation: -4
Message # 2 | 6:56 PM
thank you

have a good day

Posts: 7
Reputation: 0
Message # 3 | 8:14 PM
Is this new? The Quick replacement?
Because if it isn't, i didnt have to go through so much trouble tongue

And I dont find it confusing, much easier than just regular customization.

Posts: 9296
Reputation: 456
Message # 4 | 9:26 AM
Pouter, Quick replacement is not new at all.
I'm not active on the forum anymore. Please contact other forum staff.
Posts: 15
Reputation: 0
Message # 5 | 12:26 PM
oh my, I believe I understood nothing. Can I ask here then? Topic says "design change" - that's layout/template? Now I have this one, very beautiful btw, who ever made this
But as I am making a fan page, I need myself a layout that is... more to theme of it. "shape" is pefect, but some pics - just not. Now, my html is fine for changes making, but not whole layout making. So what I need - can I change the one I have (like replace that pretty gal with the one I drew) or will I have to find myself some made html and then try and change that?

Posts: 1
Reputation: 0
Message # 6 | 4:25 PM
Is it possible to just choose from a Design that is already made? Like the ones that you choose from when you create the site.
Posts: 1424
Message # 7 | 7:13 PM
Quote (Revinint)
Is it possible to just choose from a Design that is already made? Like the ones that you choose from when you create the site.
Control Panel -> Settings -> Common Settings -> Site design.
Posts: 1
Reputation: 1
Message # 8 | 3:21 PM
if I change the design, would all my changes gone? since I have made any changes at the code, so if I change the design it will reverse back all my changes, I think better I try another way... smile
Posts: 1424
Message # 9 | 10:45 AM
The changes which you made via CP -> Customize Design will be lost if you change desin.
Posts: 19
Reputation: 3
Message # 10 | 2:08 AM
Thanks, I'll look into doing this for my site.
~Doing my best to help~

Http:// <-- A growing community, Updates Everyday!
Posts: 3
Reputation: 0
Message # 11 | 12:16 PM
hi there,
doing this - Control Panel -> Settings -> Common Settings -> Site design.

doesn't change the main page! changes all the other but not the main, page - please help.. thanks

Posts: 487
Reputation: 77
Message # 12 | 12:41 PM
Quote (luka)
doesn't change the main page! changes all the other but not the main, page - please help.. thanks

Check the box (right under the design selection) that says "Update the design for all active modules".

Posts: 3
Reputation: 0
Message # 13 | 2:27 PM
when i check that, another little window appears

'Site name displayed near the logo:
One or two words, e.g. company, clan, school name etc. '

then i click on SAVE, then go on the site still old design on the main page cranky

Posts: 1424
Message # 14 | 3:16 PM
Everything works fine for me. Luka try to 'Restore default template' in source code.
(CP -> Customize Design -> Site Pages -> Right-top: " Restore default template ")
Posts: 3
Reputation: 0
Message # 15 | 3:55 PM
i did that and it worked, Armaros ur wkd..

thanks i would of never thought of doing that.

uCoz Community » For Webmasters » Design Customization » Instruction for those who want to change design
Page 1 of 812378»