palyo Posted December 2, 2008 Share Posted December 2, 2008 Подскажите пожалуйста где можно изменить структуру заголовка (title) для улучшения оптимизации форума& Link to comment Share on other sites More sharing options...
Fisana Posted December 2, 2008 Share Posted December 2, 2008 В общем шаблоне. Первая сверху строчка меню в свойствах стиля. Только оставьте там переменную, а впереди припишите свое, иначе тайтл на всех страницах будет одинаковым. Link to comment Share on other sites More sharing options...
palyo Posted December 3, 2008 Author Share Posted December 3, 2008 В общем шаблоне. Первая сверху строчка меню в свойствах стиля. Только оставьте там переменную, а впереди припишите свое, иначе тайтл на всех страницах будет одинаковым. вот эта строчка <title><% TITLE %></title> , а где именно формируется <% TITLE %> просто мне нужно изменить загаловок именно в теме форума Link to comment Share on other sites More sharing options...
andaril Posted December 3, 2008 Share Posted December 3, 2008 в class_display.php (sources/classes/) обрабатывается массив. И обрабатывается <% title %> сам же массив складывается по частям в файлах в action_public Link to comment Share on other sites More sharing options...
palyo Posted December 4, 2008 Author Share Posted December 4, 2008 в class_display.php (sources/classes/) обрабатывается массив. И обрабатывается <% title %> сам же массив складывается по частям в файлах в action_public а скажите пожалуйста, в какой именно файле и где можно исправить именно загаловок темы. Он идет типа: названия темы - названия форума, а мне нужно сделать: названия темы - названия форума - названия темы. Заранее благодарен. Link to comment Share on other sites More sharing options...
andaril Posted December 4, 2008 Share Posted December 4, 2008 sources/action_public/topics.php'TITLE' => $this->topic['title'] . ' - ' . $this->ipsclass->vars['board_name'],заменить на'TITLE' => $this->topic['title'] . ' - ' . $this->ipsclass->vars['board_name'] . ' - ' . $this->topic['title'],(-: Link to comment Share on other sites More sharing options...
palyo Posted December 5, 2008 Author Share Posted December 5, 2008 sources/action_public/topics.php'TITLE' => $this->topic['title'] . ' - ' . $this->ipsclass->vars['board_name'],заменить на'TITLE' => $this->topic['title'] . ' - ' . $this->ipsclass->vars['board_name'] . ' - ' . $this->topic['title'],(-: спасибо большое все получилось, а еще вопрос, а как сделать изменения в названии форума, то есть идет: название сайта - название определенного форума, а нужно сделать: название определенного форума - название сайта - название определенного форума. Заранее благодарен Link to comment Share on other sites More sharing options...
andaril Posted December 5, 2008 Share Posted December 5, 2008 могли б и сами поискать.sources/action_public/forums.php'TITLE' => $this->ipsclass->vars['board_name']." -> ".$this->forum['name'],на'TITLE' => $this->forum['name']." - ".$this->ipsclass->vars['board_name']." - ".$this->forum['name'], Link to comment Share on other sites More sharing options...
palyo Posted December 6, 2008 Author Share Posted December 6, 2008 могли б и сами поискать.sources/action_public/forums.php'TITLE' => $this->ipsclass->vars['board_name']." -> ".$this->forum['name'],на'TITLE' => $this->forum['name']." - ".$this->ipsclass->vars['board_name']." - ".$this->forum['name'], Спасибо все получилось :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now