cotonti.com : Вывод страниц превью??? https://www.cotonti.com Останні повідомлення в темі Cotonti en Sat, 13 Dec 2025 20:59:21 -0000 Fox Ясно пока Спасибо

]]>
Вт, 27 Вер 2011 21:12:01 -0000
esclkm они для этого и распиханы по плугам - чтобы дать максимальный вес тем что идут с темой

]]>
Вт, 27 Вер 2011 21:02:14 -0000
Fox Спасибо!!!yes Работает. А каким TPL файлам отдаётса приоритет тем что находятса в коробочных плагинах или тем что в теме?

]]>
Вт, 27 Вер 2011 20:59:02 -0000
esclkm {LIST_ROW_TEXT_CUT} должен этот тег помогать

]]>
Вт, 27 Вер 2011 19:18:04 -0000
Fox Ясно Спасибо но это мне непоможет. А кто занимаетса этим разширениям Pages??? Может пожет!?sad

]]>
Вт, 27 Вер 2011 18:24:27 -0000
esclkm <div class="text_data"> {LIST_ROW_TEXT_CUT|cot_string_truncate('$this', 400)} <!-- IF {LIST_ROW_TEXT_CUT} != {LIST_ROW_TEXT_CUT|cot_string_truncate('$this', 400)} -->... <a href="https://www.cotonti.com/{LIST_ROW_URL}">{PHP.L.ReadMore|mb_strtolower}</a><!-- ENDIF --> </div> у меня сделано так но это на колво символов а не на more ]]> Вт, 27 Вер 2011 17:29:30 -0000 Fox  

День добрый Всем!

Обращаюсь к вам за помощью так как на форуме ответа на свой вопрос ненашел. Проблема у меня вот такая: как мне в категориях выводить страницы превью? Короткое содержание страницы и полное содержание при помощи тега <!--more--> ?

Я использую Siena 0.9.4 шаблон стандартный nemesis. В CKEditor кнопку тег <!--more--> добавил, BBcode Parser установлен. Суть проблемы в том, что вывод страниц через {INDEX_NEWS} все работает хорошо страница выводится превью, а уже в категории Новости она выводится полностью неразбиваетса на части так и в остальных категориях. Вот пример:

Добавления страницы:

Congratulations, Cotonti was succesfully installed! You can now login with the user account you created during installation. Next step is to go to the Administration panel and change the settings for your website, such as the title, server settings, language, user groups and extensions. You can safely remove this message by clicking its title, then clicking Edit and Delete this page.

<!--more-->

Congratulations, Cotonti was succesfully installed! You can now login with the user account you created during installation. Next step is to go to the Administration panel and change the settings for your website, such as the title, server settings, language, user groups and extensions. You can safely remove this message by clicking its title, then clicking Edit and Delete this page.

Отображается на главной через {INDEX_NEWS} так:

Congratulations, Cotonti was succesfully installed! You can now login with the user account you created during installation. Next step is to go to the Administration panel and change the settings for your website, such as the title, server settings, language, user groups and extensions. You can safely remove this message by clicking its title, then clicking Edit and Delete this page.

Подробно...

А уже в категории Новости, Статьи или другой отображается так:

Congratulations, Cotonti was succesfully installed! You can now login with the user account you created during installation. Next step is to go to the Administration panel and change the settings for your website, such as the title, server settings, language, user groups and extensions. You can safely remove this message by clicking its title, then clicking Edit and Delete this page.

Congratulations, Cotonti was succesfully installed! You can now login with the user account you created during installation. Next step is to go to the Administration panel and change the settings for your website, such as the title, server settings, language, user groups and extensions. You can safely remove this message by clicking its title, then clicking Edit and Delete this page.

Подробно...

 

Почему-то подробно выводится в самом конце неразбивая страницу на части???

Может мне надо что настроить, установить или в шаблоне подправить??? Помогите плис очень надо, английского PHP и я не знаю. Если неправильно описал суть то дайте знать

Спасибо!!!

Добавлено 20 часов спустя:

Ну кто нибудь поможе??? Или теме конец????sad

]]>
Пн, 26 Вер 2011 11:55:39 -0000