Because all I have found on this service, the materials on the subject were, to put it mildly, is not complete (so do not offends me to the authors), or simply did not fit me on the concept - has decided to try to go his own way and at the same time to write this manual. Just specify that tekstik this is far from complete for ‘dummies’ in a computer software, and for those who like me, a good understanding in this matter, but with such a thing as a WEB-design, found only now. Therefore, concepts such as’ downloader ‘he also’ rocking chair ‘, a text editor and such - will be applied without additional razzhevyvaniya.
So, to start. What is a ‘template’ provided us with service mylivepage? This is, in fact, two flagrant obtesannye blanks (HTML-table with the basic variables, and its simple CSS-stylesheet) are intended, or not say, for a few large professional WEB-design, for example, than I am. A person just beginning, but it wants to change the design (now know how to draw, and WEB-design in the eye has not seen), and not just to paint the cell base tables of different colors, IMHO they are virtually useless because do not contain any information either on schedule or on any other design. Therefore had to find another way to the top, so to say, creativity. And yet, you must immediately decide what you want … If, suddenly, as I mentioned above, has a simple change of colors in the cells of the base table, the replacement of the top tips on the picture and you delete some unnecessary elements (such as’ an invitation to a friend eMail ‘) you were comfortable with, have a turn now to the materials . Its more than enough to realize such a concept of design changes. And do read this material is extremely useful if you are not very good so far and know HTML at all, to understand the overall concept of building a template of the service. Also highly recommended to carefully read here.
In principle, of course, even such a simple way you can achieve good results, but as the saying goes .
If, like me, you want as a more serious embedded in the design of your site, for example, change the Design menu and other elements have to try much stronger. The general idea is - to create a template, the result of the introduction of which would be indistinguishable from the original topic on which it was created, and then editing it already, is to change site design in greater depth.
The elements of the template:
- ‘cap’ the page;
- User avatar;
- hint to the contents of the current page;
- advertising services;
- beginning of the chat window (at this point is not used and may be removed);
- the left side of the main fields Pages - navigation, the form of sending letters and visits;
- central core of page - its main content;
- subsection title page;
- the contents of sub page;
- pravaya main part of page - service menu management / login to the site
- konets chat window (at this point is not used and may be removed);
- ‘Basement’ page;
Elements of these small print, are official, the screen is not displayed and, as I understand it, are analogues of cycles to.
As you can see, all that we can - is to paint the cells in your color or podlozhit in them, as bakgraunda what-string picture (this is usually done in the element 3, while minimizing or removing elements 2 and 4)
But until such a state it must be about to bring to be, as in the proposed service template to use additional graphics in the form of ramochek elements for the template.
Thus it is necessary to take into account that part of the tables filled with transparent elements (for example, cells from the left and right of the element of N9), a portion of images, creating an effect ramochek. And yet, some of the elements (variables) are able to ‘inherit’ design. For example, the element MLP_WHO_ON_SITE inherits the frame MLP_WINDOW_TITLE. It is, I do receive and MLP_INVITE not entirely, but only for the title! (In any case, succeeded, when I’ve tested it)
So, rukomenduemy set of tools:
Use for this purpose, built-in editor of Opera, as the Abraham Abramych or so Pace vindovsky notebook, I feel absolutely unacceptable, we are going to work with the Activities which all, a programming language and tools needed appropriate. Therefore, a text editor with the ‘backlight’ syntax or HTML-editor, with an emphasis on working with source code. You can still remember the Macromedia Dreamweaver MX or MS Front Page, but, perhaps, in our case, it can be considered in the first bust. And secondly, “Well, these rabbits are not designed for climbing,” the program of its kind designed for the design of the site from the beginning, but not how to edit an existing one, to the same with a set of global variables to which these programs totally helpless.
So, stop, or at the editor with syntax, or in HTML-editor, not the visual type.
Editor with syntax, such there are countless - choose for yourself. One can only color HTML-text that someone else has the tools for creating and editing (it may be preferable for future design modifications), I use for such purposes UltraEdit, patamushta used (even though it was paid).
Editor HTML. Here too, the choice is large enough, and besides, this same approach, in my opinion, is preferable because Part of the (very small), the editor can take on. Here the choice of no less than great, but as an honest man, (:)) rekomeduyu free products or 1st Page 2000, and it seems to me preferable AceHTML FREE (because he knows how to work with Unicode). Both are still many new products are paid for rings around. Now define some thematic template, which is going to edit (because they have a different arrangement of cells of the base table), which will be presented from 9 to spoil. We, we do not know well in this case, it is very significant (although in fact they are virtually identical). His and choose ‘Change design’. Personally, I chose the 4-th.
Now create a new page on the site with one word, for example, no longer need to do is to guide. Keeping it to their browser (it is desirable that it was IE, because the image is clearly separated from the text in a separate directory) under the name ‘page’ (All names conditional use what you want). Create a folder where-string ‘Template’ folder in the ‘original’ (here, just going to keep the fire source), copy it our sohranenku (html + images folder), find, copy of the same sohranenku in the folder ‘Template’. Starting the editor, create a new empty text and move it of COPY-PASTE the contents of the upper window section of your site, ‘templates’. The resulting text is saved in the ‘original’, as’ template.html ‘, and throws a copy of the’ TEMPLATE ‘.
Now we need a CSS-script. There are two ways. First - take the contents of the bottom window and save it as’ style1.css’, respectively, in two copies in the ‘original’ and ‘PATTERN’. But! So you get a ‘waning’ style, only with the base class (although not all). So let us go through more complicated. If you look in the source text, you have saved the page, there, in the beginning, you can find a string, a file that is uploaded style. Here is this something more than a full file, with an indication of where the address, and we download itself, accessible way (here I am - rocking chair), and then play in our directory in two copies. In principle, we even do not edit yet, is it good for the future ‘to’ box in the template CSS, instead of … which is proposed by default. Now a bit about the pictures. Careful examination of the directory ‘page.files’ brings disappointing truth - we are deceived, it is clearly not kept all the pictures used on this page, you can see missing in the numbering (as it was in my case, you may be lucky longer). We have to re-use the rocking chair for collecting missing (addresses can be found in the contents of ‘page.html’). The resulting spill generously to the folders’ original / page.files’ and ‘PATTERN / page.files’. Now it feels ready to use:
- your way … / PATTERN
- original [dir]
- Page.files [dir]
- page.html
- template.html
- style1.css
Actually now the most unpleasant and tedious part of the start a - it is necessary to move the tag graphic design from the real page (page.html) of the template (template.html). Or vice versa - to replace parts of the text vytaschennogo from the page template variables. You can only wish perseverance, plodding, and at least some familiarity with the language of HTML. Note that before you undertake the task described below, I have two weeks training at the cats - study the basics of HTML, making pages for my . Without such a baggage further reading, and possibly use vylozhennogo expanded template might be futile. Therefore, basic knowledge of HTML or least intuitive thinking depot (to understand provided me the template) are required. The work is not complicated (it is, I judge myself, of course), but nudnayaya … Most important thing is not entangled in a table cell, podtablits etc.
In principle, who is very lazy, WTO that are ready to ‘base’ template for a standard template, N4 (virtually identical to the original, the differences are explained at the end of text). The text template is supplied with some commentary, but the entire structure is highlighted indented, so that, hopefully, not LOSE. And yet, the text encoding is UTF-8 (Unicode). So if this is necessary - I do not know, but it is in such a coding output pages on the site.
The results of their work need to periodically check in military terms, on its website. If you also do not want to frighten the visitors, you can create, as did I, a temporary site (the first I’m afraid the administration did not endorse the idea), to work out the pattern on it, then it (the site) bang. Check the correctness of the assembly template OFFline completely fail, because it uses the internal variables of service mylivepage, who only worked at it.
Nice post…
I bookmark your website…