Sunday, May 13, 2012

Configuring Satellite-X - step by step instructions

Went to the store. Opposite him stands mikroekskavator Bobcat on roof flasher rotates inside is ' forgive Manhattan. ... I bought two bottles of corona lime. All beer has risen in price, and stratified on the ' beer for cattle ' and ' you can drink, but expensive ... nightmare. I was deprived of half life. Now to the shelf constant dilemma - two for cattle to drink, or one for the soul. Save the soul only liberal diesel Lime and crown.

archive to unpack. At the exit, we have a bunch of folders and files. All this stuff should fill in the appropriate folder on the server. The required directory name is different, I have a public_html, some - httpd_docs. What do you have - you should check with your hosting provider.

I pour through the Total Commander. That you would recommend. Once filled, the right to expose the folder where files will be written. This is done as. The cursor on the folder, then into the totals: File - Modify the attributes of. Set the attributes and QA.

We need to put 777 ( all pressed tick ) on the folder: rssnews_, users, data, system, link. And to rss. xml - rss written back -flow of articles from the site. Many attribute the RCC magic quick indexing. We are in a solid tradition does not give any one of the shamanic movements that can help make it rain (of money! ) - Do everything in our script with at least a hint of the utility, not forcing you to think once again.

Now is the time to edit the template. By default, our template is in the folder shablony. They are composed of all the templates that come in the delivery. This is just my whim. The pattern can be anywhere, be any name at all be what and who you want, if only in a html-code and variable data labels. Leading the default template - newshablon. php. This is a pattern with my secretary. Please love and favor. You can change it all. Styles, by the way, are configured in a separate file for it - ds. css. He is at the root note, because the path to the template is registered from the root. Once again, remember what I said about the pattern above. It does not matter, where is the template, but to connect image, style files, etc. Dr.. should go to it from the root. T. e. template can be bought for more clarity to dump in the root folder. He was not hurt anybody out there. Try to put it in the template folder shablony not necessary - it does not matter.

Once played enough with the pattern, it is time to configure the config. The entire configuration is now in the folder config. Previously, it was all in a single file, but we are preparing a script to the emergence of start- admin. therefore, setting config divided into thematic pieces and stored in separate files in the specified folder.

configbase. php - most important for us to file. We discovered it in the usual notepad and put this in it RIGHT path to the template, the full address of the site, general site settings (name and other metatags ) and is included or not NC. More than we ever in this file is not Lazimov. Why does not the site address is taken from the site? .

configsys. php - in fact here we rule set for the system bloat. For the satellites I'm not here I come. And most customers played with only one setting in this file - a $ CASH - t. e. Configuring cache or not. There is only one critical point. If caching is enabled, then after filling content you will have to clean the folder system. If caching is disabled, the menu will not display correctly. My advice - to fill the content caching off, after pouring the content - include. And even then look at the correctness of the entire site.

All other files in the config we ignore. Settings sponosorov us soar, while the satellite is not indexed, and the settings for these variables we are concerned only if we are geniuses layout. For those who are patterns for manufacturing trades Satkha, be aware that in addition to the template, you must provide configcpu. php and confignocpu. php - configuration data for the variables. And the customers - ask for it with shablonschikov.

It's time to fill content. There are two options. Making the files yourself and just pour them into a folder data. Or use the editor. php. For the latter option you need to call http://vashsite. ru / editor. php and what to do next, it is written in the editor. The essence of this editor - with the help of your layout to create a sharp X files in the data. php. The latest version of the editor also makes blatantly automatically update the menu - clears the cache.

Next step - pozyrit. You just have to upload the site and make sure it works. It will also be a provocation for the organization of the cache. Cache - a few files that are created in the system and only need to read a script from them, and not from the directory, making it tedious sorting and iterate each time. This helps speed up the script. Therefore, if something is askew on the site, first remove the cache and reload the site in your browser twice. Two - the magic number. Dual booting allows you to experience the universal mastshtabnost your site. If after all this crooked - knocking in support, t. e. me.

Now let's set up grabbing news. To do this, open cronrss. php. Put it on the tape previously selected news Yandex. I will tell you a secret - like a lot of news feeds - make clones cronrss. php and mount their challenge in the index. php. Want different tapes from different sites - please refer to any programmer. It is important that your script is making the news in the right format and store them in a folder rssnews_. Definitely recommend to put in cronrss. php sinonimirovanie and mixing. Sinonimirovanie for RCC operates separately. And it will help create the news, at least with a hint of uniqueness.

Approximately the same set creation avtopolzovateley. Details can be find on the official website of the script.

There remain only news site. But there is no adjustment at all - just zapihnite their news in a folder news_. That's all.

You can skip any step. Script is almost indifferent to all your actions. He was restless applies only to one thing - the lack of content in your data - if cleared etut folder and trying to download the site, would be a mistake. download content to this directory and then you will be happy.

80% of customers limits their actions downloading content to a folder data, migrating a small template and file configbase. php. Everything else - things optional, and many are not used at all. Especially for these clients to be released version of the script Lite edition, which will be reduced to setting three steps: fill in the picture for a cap, pour a file whose name ends with the content, customize a configuration file of not more than 5-7 lines.

I repeat for those who are constantly asked what the script is still a pattern, the main thing - shove it in the label and properly set the path in the config.

This post will go up to the next script, a mini-guides. I also look favorably on the publication of this script on your blogs or sites that link to the same place? .

No comments:

Post a Comment