Я могу только одно посоветовать: переходите на modxSmarty. Там бы это было так: {if !$smarty.get.page} {field name=content} {/if}
Если я правильно понимаю, то нужно выводить текст на первой странице, а на остальных нет. Если это так, то вам нужно написать примерно так (если используете getPage): [[+page:eq=1
:then=[[*content]]
:else=``]]
Может я что-то делаю не так?! Вот пошагово:
Hello friends! For those who do not know me: my name is Nickolay Lanets (aka Fi1osof) and I am one of MODX Ambassadors in Russia. modx.com/ambassadors/listing/fi1osof-russia-modx-ambassador I am here to introduce new MODX Revolution extras that will help you to build community websites, collective blogs and forums: modSociety + mod Blog / modForum Brief introduction We all know that MODX is growing. More and more people choose MODX for their websites. There are many e-commerce extras for MODX but many website owners want to have a forum or a blog at their websites. If you want to create a blog you need to install several extras and make them work together. It may be difficult for a beginner. But what if you need a collective blog with many authors and possibility to add articles from the front end? It is impossible to realize this without deep knowledge of MODX. If a webmaster wants to set up forum he has to use Discuss because it is the only native solution. On my opinion there must be more social extras and that’s why I am here. modSociety + modBlog / modForum will solve all these and many other problems. modSociety is a basic extra for blogs, forums and other social engines. All social websites (blogs, chats, forums etc) are very similar in general. They have categories (=blogs), topics (=blog posts), comments (=replies) etc. modSociety installs all required resource types and other things required for any social website. This extra prepares your site. modBlog – easy to set up blog engine with possibility to have many authors. modBlog allows to create a site like hubpages.com or squidoo.com where people can post their articles and other people can vote and leave comments. I will setup modBlog on my own website to replace current social engine. modForum — forum engine with all necessary logic, templates, backend and frontend. As you can see the general goal of this package is to provide MODX community with new forum extra. Main features of modForum Easy to set up English and Russian languages Fast speed. Simultaneous website and forum authorization. (modForum uses native user table) Categories and boards Moderation Friendly URL’s Avatars E-mail notifications And a lot of other features that every forum should have. All these extras will be available to the public. I am not going to hide them. Every webmaster will be able to set up these extras on his MODX Revolution website. As you can see I and my team will have to do huge work. That’s why we decided to ask MODX community to support our project with donations. We are going to collect some money and start working in 2 weeks. Every donator will be listed in this topic and will receive our gratitude. Every donation will help our project and thus will help MODX to grow! E-mail for PayPal donations: info@modxclub.ru If you want to donate using other payment methods, leave a reply here. Here is a brief video demonstration of what we have already developed. The video shows early beta of modSociety + modBlog. It is beta guys and many new features will be added. The video was created to show you that we are really working and already have a starting point.
К сожалению, я не удачно выбрал масштаб (почти 1900 точек), и на выходе получилось не только не очень хорошего качества видео, но и в принципе на меньших экранах смотреть вряд ли имеет смысл. Сделаю выводы, и в дальнейшем буду писать так же на 1200 точек. А пока то, что есть. P.S. большое спасибо всем, кто участвовал! Обязательно отпишитесь здесь о своих впечатлениях. Не стесняйтесь говорить и о том, что было не так. На это не надо закрывать глаза, а надо подумать как исправить и сделать вебинары интересней и эффективней.
Здравствуйте. Столкнулся на первый взгляд с достаточно простой задачей, но ковыряя параметры не получается сделать следующее. На странице www.koshkidoma.ru/porodyi/ выводится текст, внизу идёт вывод каталога из PageNav, вообщем нужно чтобы на страницах с пагинацией не выводился текст. В шаблоне пытаюсь вот так: [[if? &subject=[[+navPg]]
&operator=[[*content]]
&then=[[*content]]
&else=``]] Конечно логики особой в этом не вижу, хотя если вывод контента вставить в else то текст пропадает со всех страниц, а он должен быть только на главной странице, а не на страницах пагинации типа www.koshkidoma.ru/porodyi/page-2/ Надеюсь на вашу помощь. Заранее спасибо.
Через 10 минут начинаем.
Ctrl+F по странице наводит на ссылку dev.twitter.com В целом с твиттером не было никаких проблем, он нормально подключается. Думаю, можете использовать любой поисковый модуль для MODX-а. А позже появится наш, конкретно для ShopModxBox (войдет в новую версии). На одном проекте уже пишется. ?
Все настроил кроме твиттера, есть у кого-то мануал? И simplesearch есть, а на сайте поиска не вижу.
К слову, не мало народу планирует сегодня поучаствовать…