{"id":139,"date":"2010-04-16T11:54:45","date_gmt":"2010-04-16T09:54:45","guid":{"rendered":"http:\/\/rcreated.com\/blog\/?p=139"},"modified":"2015-09-01T19:52:33","modified_gmt":"2015-09-01T17:52:33","slug":"nazvanie-sajta-v-title","status":"publish","type":"post","link":"http:\/\/rcreated.com\/blog\/joomla\/nazvanie-sajta-v-title\/","title":{"rendered":"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0430\u0439\u0442\u0430 \u0432 title"},"content":{"rendered":"<div style=\"float: right; margin-left: 10px;\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-via=\"rcreated\" data-count=\"vertical\" data-url=\"http:\/\/rcreated.com\/blog\/joomla\/nazvanie-sajta-v-title\/\">Tweet<\/a><\/div>\n<p>\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u0434\u043e\u0440\u043e\u0433\u0438\u0435 \u0434\u0440\u0443\u0437\u044c\u044f. \u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 Joomla 1.5 \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438, \u0447\u0442\u043e \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 Joomla 1.0, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0430\u0439\u0442\u0430 \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 title &#8212; \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435 \u0441\u0430\u0439\u0442\u0430 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0430 \u044d\u0442\u043e \u043e\u0439 \u043a\u0430\u043a \u043d\u0435 \u0445\u043e\u0440\u043e\u0448\u043e! \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0412\u0430\u043c \u043f\u0440\u0438\u0434\u0441\u0442\u0430\u0432\u043b\u044e 2 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0451 \u0432 \u043b\u0443\u0447\u0448\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443!<\/p>\n<p><span style=\"color: #ff0000;\">\u0418\u0442\u0430\u043a 1 \u0421\u041f\u041e\u0421\u041e\u0411:<\/span><\/p>\n<p><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b index.php \u0432\u0430\u0448\u0435\u0433\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u0430 <\/span><\/span>\u0438 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u0441\u043b\u0435 \u0442\u0435\u0433\u0430 <span style=\"color: #ff0000;\"><em>&lt;?php<\/em><\/span><span style=\"color: #ff0000;\"> <span style=\"color: #000000;\">\u0442\u0430\u043a\u043e\u0439 \u043a\u043e\u0434:<\/span><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><span style=\"color: #000000;\"><!--more--><\/span><\/span><\/p>\n<pre>$document = &amp; JFactory::getDocument();\r\n$config = &amp; JFactory::getConfig();\r\n$fulltitle = $document-&gt;title.' - '.$config-&gt;getValue('sitename');\r\n$document-&gt;setTitle( $fulltitle );<\/pre>\n<p>\u0412\u043e\u0442 \u0438 \u0432\u0441\u0435 \u0442\u0435\u043f\u0435\u0440\u044c\u00a0 \u043d\u0430 \u0432\u0441\u0435\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445, \u043a\u0440\u043e\u043c\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0439, \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0432\u0438\u0434 &#171;\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0442\u0430\u0442\u044c\u0438 &#8212; \u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0430\u0439\u0442\u0430&#187;.<\/p>\n<p><span style=\"color: #ff0000;\">2 \u0421\u041f\u041e\u0421\u041e\u0411:<\/span><\/p>\n<p>\u0415\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u043f\u043b\u0430\u0433\u0438\u043d \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043d <span style=\"color: #ff0000;\">TitleManager.\u00a0 <span style=\"color: #000000;\">\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u0430, \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438:<\/span><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">1) \u041d\u0435\u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d<\/span><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">2) \u0412\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0433\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0430\u0439\u0442\u0430 \u0434\u043e \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b<\/span><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">3) \u041d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 &#171;\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c&#187; \ud83d\ude42<\/span><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">\u0412\u0443\u0430\u043b\u044f! \u0421\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0441\u0430\u0439\u0442 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0438 \u0440\u0430\u0434\u0443\u0435\u043c\u0441\u044f, <\/span><\/span>\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0430\u0439\u0442\u0430 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0432 title<span style=\"color: #ff0000;\"><span style=\"color: #000000;\">.<\/span><\/span><\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u043f\u043e\u0441\u0442 <strong>\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0430\u0439\u0442\u0430 \u0432 title <\/strong>\u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d. \u0412\u0441\u0435\u043c \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<\/p>\n<p><a href=\"http:\/\/rcreated.com\/blog\/\">\u042fcreated\u2019s blog<\/a><\/p>\n<form style=\"text-align: center; background: none repeat scroll 0% 0% transparent;\" action=\"http:\/\/feedburner.google.com\/fb\/a\/mailverify\" method=\"post\">\u041f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u042fcReated\u2019s blog:<br \/>\n<input style=\"width: 140px;\" name=\"email\" type=\"text\" value=\"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0412\u0430\u0448 e-mail\" \/><br \/>\n<input name=\"uri\" type=\"hidden\" value=\"TallibsBlog\" \/><br \/>\n<input name=\"loc\" type=\"hidden\" value=\"ru_RU\" \/><br \/>\n<input type=\"submit\" value=\"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f\" \/><\/form>\n<p><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">\u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u043c\u0435\u0448\u043d\u043e\u0433\u043e:<\/span><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><span style=\"color: #000000;\"><a href=\"http:\/\/rcreated.com\/blog\/wp-content\/uploads\/2010\/04\/921849-2010.04.14-01.28.53-lays.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-143\" title=\"921849-2010.04.14-01.28.53-lays\" src=\"http:\/\/rcreated.com\/blog\/wp-content\/uploads\/2010\/04\/921849-2010.04.14-01.28.53-lays.jpg\" alt=\"\" width=\"619\" height=\"595\" srcset=\"http:\/\/rcreated.com\/blog\/wp-content\/uploads\/2010\/04\/921849-2010.04.14-01.28.53-lays.jpg 619w, http:\/\/rcreated.com\/blog\/wp-content\/uploads\/2010\/04\/921849-2010.04.14-01.28.53-lays-300x288.jpg 300w\" sizes=\"(max-width: 619px) 100vw, 619px\" \/><\/a><br \/>\n<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tweet \u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u0434\u043e\u0440\u043e\u0433\u0438\u0435 \u0434\u0440\u0443\u0437\u044c\u044f. \u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 Joomla 1.5 \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438, \u0447\u0442\u043e \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 Joomla 1.0, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0430\u0439\u0442\u0430 \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 title &#8212; \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435 \u0441\u0430\u0439\u0442\u0430 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435, \u0430 \u044d\u0442\u043e \u043e\u0439 \u043a\u0430\u043a \u043d\u0435 \u0445\u043e\u0440\u043e\u0448\u043e! \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0412\u0430\u043c \u043f\u0440\u0438\u0434\u0441\u0442\u0430\u0432\u043b\u044e 2 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0451 &hellip; <a href=\"http:\/\/rcreated.com\/blog\/joomla\/nazvanie-sajta-v-title\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[84,86,72,85],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/rcreated.com\/blog\/wp-json\/wp\/v2\/posts\/139"}],"collection":[{"href":"http:\/\/rcreated.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rcreated.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rcreated.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rcreated.com\/blog\/wp-json\/wp\/v2\/comments?post=139"}],"version-history":[{"count":8,"href":"http:\/\/rcreated.com\/blog\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"predecessor-version":[{"id":4343,"href":"http:\/\/rcreated.com\/blog\/wp-json\/wp\/v2\/posts\/139\/revisions\/4343"}],"wp:attachment":[{"href":"http:\/\/rcreated.com\/blog\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rcreated.com\/blog\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rcreated.com\/blog\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}