MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Dec 04, 2008, 12:41 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search via SMF
or Google:
modx forums
all of modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Donate to MODx:
Donations
MODx Community Forums
»
Add-ons, Extensions & Elements
»
Creating & Repurposing Content
»
Ditto
(Moderators:
Mark
,
PaulGregory
)
»
big problems with Ditto (not for beginer)
Pages: [
1
]
Go Down
« Previous topic
Next topic »
Print
Author
Topic: big problems with Ditto (not for beginer) (Read 1870 times)
0 Members and 1 Guest are viewing this topic.
SamZ
Sr. Member
Posts: 401
всегда ищу работу :-)
big problems with Ditto (not for beginer)
«
on:
May 19, 2007, 03:03 AM »
Hello
I have two ditto calls on tha same page.
1.[!Ditto? &summarize=`1` &tpl=`portf_chank` &paginate=`1`!] - i use it for gallery
2.[!Ditto? &parents=`3` &tpl=`li` &debug=`1` &paginate=`0` &summarize=`50` &depth=`2` &filter=`tvclients,[*clients*], 1|pagetitle,[*pagetitle*],2` !] - for filtering priject with tha same client
On first (start=0) page everything is great
On Second (start=2) I don't have 1 value (in ditto (2))
on 3d (start=2) I don't have all value.
http://shop.fast-site.net/9.html
live sample
pack.zip
(4.01 KB - downloaded 88 times.)
«
Last Edit: May 19, 2007, 03:44 AM by SamZ
»
Logged
[MODULE] CSV IMPORT :: модуль для добавления больших каталогов, из файлов с разделителями, с сохранением древовидной структуры.
russian
english
[FAQ] MODX 096
(основные проблемы и способы их решения)
zi
MODx Special Forces /
Administrator
Posts: 3,017
May Peace Be On You
Re: big problems with Ditto (not for beginer)
«
Reply #1 on:
May 19, 2007, 04:09 AM »
Hi Samz,
What version of Ditto are you using? Moreover if I am right Ditto doesn't interpret [*xyz*] in its call.
For more information on Ditto Filtering, please read:
http://ditto.modxcms.com/tutorials/basic_filtering.html
Hope it helps.
regards.
Logged
Subscribe to
MODx Commercial Support Plans
“Internet Explorer’s CSS rendering: WYSIWTF”. — someone genius
--------------------------------------------------
MODx Docs
MODx Wiki
Bug Tracker
Download Center
Donations
Forum Rules
ziDesigns
ziDesigns Resources
ziworks | Custom/Free MODx Templates
SamZ
Sr. Member
Posts: 401
всегда ищу работу :-)
Re: big problems with Ditto (not for beginer)
«
Reply #2 on:
May 19, 2007, 04:57 AM »
Quote from: zi on May 19, 2007, 04:09 AM
What version of Ditto are you using?
I am using 096 RC3 with ditto 202
Quote from: zi on May 19, 2007, 04:09 AM
Moreover if I am right Ditto doesn't interpret [*xyz*] in its call.
It works on
http://shop.fast-site.net/9.html
Quote from: zi on May 19, 2007, 04:09 AM
For more information on Ditto Filtering, please read:
http://ditto.modxcms.com/tutorials/basic_filtering.html
I know everything about with documentation.
Thanks for trying help.
Logged
[MODULE] CSV IMPORT :: модуль для добавления больших каталогов, из файлов с разделителями, с сохранением древовидной структуры.
russian
english
[FAQ] MODX 096
(основные проблемы и способы их решения)
heliotrope
Coding Team
Posts: 2,447
Re: big problems with Ditto (not for beginer)
«
Reply #3 on:
May 19, 2007, 05:04 AM »
Hi,
not sure to understand your pb but You should add the id parameter to your ditto call.
the start will be applied on the call from which it's been activated.
:-)
1.[!Ditto? &id=`call1` &summarize=`1` &tpl=`portf_chank` &paginate=`1`!] - i use it for gallery
2.[!Ditto? &parents=`3` &tpl=`li` &debug=`1` &paginate=`0` &summarize=`50` &depth=`2` &filter=`tvclients,[*clients*], 1|pagetitle,*pagetitle*],2` !]
and then add the call1 prefix to your pagination placeholder.
P.S: there is an extra space in your filter ", 1". You should remove it.
Logged
Made with MODx :
traduction en ligne
|
agence de traduction
|
copadel, fruits et légumes
|
Provence
|
Dictionnaire en ligne
Professional Website:
dixsix, communication interactive
SamZ
Sr. Member
Posts: 401
всегда ищу работу :-)
Re: big problems with Ditto (not for beginer)
«
Reply #4 on:
May 19, 2007, 05:53 AM »
Quote from: heliotrope on May 19, 2007, 05:04 AM
not sure to understand your pb but You should add the id parameter to your ditto call.
the start will be applied on the call from which it's been activated.
it's don
Quote from: heliotrope on May 19, 2007, 05:04 AM
1.[!Ditto? &id=`call1` &summarize=`1` &parents=`[*id*]` &tpl=`portf_chank` &paginate=`1`!] - i use it for gallery
2.[!Ditto? &parents=`3` &tpl=`li` &debug=`1` &paginate=`0` &summarize=`50` &depth=`2` &filter=`tvclients,[*clients*],1|pagetitle,*pagetitle*],2` !]
P.S: there is an extra space in your filter ", 1". You should remove it.
it's don
Quote from: heliotrope on May 19, 2007, 05:04 AM
and then add the call1 prefix to your pagination placeholder.
I did't understood how to do it.
I am using [+pages+] placeholder for paginate
Logged
[MODULE] CSV IMPORT :: модуль для добавления больших каталогов, из файлов с разделителями, с сохранением древовидной структуры.
russian
english
[FAQ] MODX 096
(основные проблемы и способы их решения)
heliotrope
Coding Team
Posts: 2,447
Re: big problems with Ditto (not for beginer)
«
Reply #5 on:
May 19, 2007, 05:57 AM »
Quote
I am using [+pages+] placeholder for paginate
Ditto adds an underscore to the id so [+call1_pages+] should do the trick.
:-)
Logged
Made with MODx :
traduction en ligne
|
agence de traduction
|
copadel, fruits et légumes
|
Provence
|
Dictionnaire en ligne
Professional Website:
dixsix, communication interactive
SamZ
Sr. Member
Posts: 401
всегда ищу работу :-)
Re: big problems with Ditto (not for beginer)
«
Reply #6 on:
May 19, 2007, 06:12 AM »
Code:
[!Ditto? &summarize=`1` &parents=`[*id*]` &tpl=`portf_chank` &paginate=`1`!]
<div class="pages">
<span class="left">[+call1_pages+]<span class="ditto_currentpage"> </span>
</span>
<span class="right"><a href="[*pic_link*]" title="[*pic_title*]">посмотреть сайт</a></span> </div>
<div class="client">
<h1>[*pagetitle*]</h1>
<h2>Клиент: [*clients*]
</h2>
</div>
<div id="col1">
[*content*]
<p class="teg">Теги: {{chank_tags}}</p>
</div>
<div id="col2">
<strong>Eщё проекты этого клиента</strong>
<ul>
[!Ditto? &parents=`3` &tpl=`li` &debug=`1` &paginate=`0` &summarize=`50` &depth=`2` &filter=`tvclients,[*clients*],1|pagetitle,[*pagetitle*],2` !]
</ul>
Am I right?
I don't have pages in whis case. But then i go to 9.html&start=1 result is tha same
Logged
[MODULE] CSV IMPORT :: модуль для добавления больших каталогов, из файлов с разделителями, с сохранением древовидной структуры.
russian
english
[FAQ] MODX 096
(основные проблемы и способы их решения)
heliotrope
Coding Team
Posts: 2,447
Re: big problems with Ditto (not for beginer)
«
Reply #7 on:
May 19, 2007, 06:15 AM »
Could you please provide your ditto version ?
If you are running Ditto 2 you don't have to prefix the tv anymore.
So you filter should be &filter=`clients,....`
:-)
Logged
Made with MODx :
traduction en ligne
|
agence de traduction
|
copadel, fruits et légumes
|
Provence
|
Dictionnaire en ligne
Professional Website:
dixsix, communication interactive
SamZ
Sr. Member
Posts: 401
всегда ищу работу :-)
Re: big problems with Ditto (not for beginer)
«
Reply #8 on:
May 19, 2007, 11:28 AM »
Quote from: heliotrope on May 19, 2007, 06:15 AM
Could you please provide your ditto version ?
If you are running Ditto 2 you don't have to prefix the tv anymore.
So you filter should be &filter=`clients,....`
Ditto 202 MODX 096 rc3 &filter=`clients,....` or &filter=`tvclients,....` it does not matter.
You can see my ditto "Debug Console" ob with pages
"Debug Console"
http://shop.fast-site.ru/9.html?start=1&ditto_debug=open
http://shop.fast-site.ru/9.html&start=0
- hear everything works great.
http://shop.fast-site.ru/9.html&start=1
- mis 1 result
http://shop.fast-site.ru/9.html&start=2
- ...
filtering result is tha same "prefetch data" and Selected IDs
but
"Retreived data" is different
Thanks everybody.
Correct call in my case is:
[!Ditto? &summarize=`1` &id=`call1` &parents=`[*id*]` &tpl=`portf_chank` &paginate=`1`!]
<div class="pages">
<span class="left">[+call1_pages+]<span class="ditto_currentpage"> </span>
</span>
«
Last Edit: May 19, 2007, 01:16 PM by SamZ
»
Logged
[MODULE] CSV IMPORT :: модуль для добавления больших каталогов, из файлов с разделителями, с сохранением древовидной структуры.
russian
english
[FAQ] MODX 096
(основные проблемы и способы их решения)
Pages: [
1
]
Go Up
Print
« Previous topic
Next topic »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Important News
=> Security Notices
-----------------------------
Commercial Support
-----------------------------
=> [CS] About Commercial Support
-----------------------------
Development & Coding
-----------------------------
=> Commercial Inquiries & Bounties
=> Core Code
===> MODx Next
===> xPDO
=> Module, Plugin & Snippet Creation and Modification
=> In Development
=> Templates
=> Internationalization
===> Bulgarian
===> Chinese
===> Czech
===> Dutch
===> French
===> German
===> Irish
===> Italian
===> Japanese
===> Polish
===> Portuguese
===> Russian
===> Slovak
===> Spanish
===> Swedish
===> Persian - فارسي
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.2
===> 0.9.6.1
===> 0.9.6
===> 0.9.5 and earlier
=> General Support
===> MODx 101
===> E-Commerce, E-Marketing, Analytics & SEO
===> Hosting Experiences
===> IIS / Windows Hosting Issues
=> Documentation, Tips & Tricks
===> Documentation Suggestions & Corrections
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> QuickEdit
=> Users, Authentication & Personalization
===> WebloginPE
===> WebLogin, WebSignup and WebChangePwd
=> Rich Text Editors & File Browser
===> TinyMCE
===> FCKeditor
===> MCPuck File Browser
=> Forms, Form Processing & Anti-Spam
===> eForm
=> Search
===> AjaxSearch
=> E-business
=> Polls, Calendars, Address Book and Community
=> Third-party integrations
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> Backup & Versioning
===> Doc Finder
===> ManagerManager
===> PHx
=> Templates
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Web Design and Development
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
Czech Community
-----------------------------
=> Oznámení
===> Důležitá oznámení/novinky
===> Bezpečnost
=> Podpora
===> FAQ (často kladené otázky)
===> Instalace
===> Moduly, pluginy, "snippets & code" (šablony zdrojových kódů)
===> Design & Šablony
=> Dokumentace, tutoriály (návody) a překlady
===> Dokumentace
===> Tutoriály (návody)
===> Překlady (lokalizace)
=> Komunita
===> Oznámení
===> Představte se, prosím
===> Ukázky práce
===> Různé aneb cokoli co se jinam nehodí
-----------------------------
Bulgarian Community
-----------------------------
=> Поддръжка
===> Често задавани въпроси
===> Инсталация
===> Модули, Плъгини, Снипети и код
===> Дизайн и Шаблони
=> Документация, Ръководства и Превод
===> Документация
===> Ръководства
===> Превод
=> Общество
===> Съобщения
===> Представете се
===> Представете сайта си
===> Дискусии извън MODx
-----------------------------
Dutch Community
-----------------------------
=> Ondersteuning
===> Veel gestelde vragen
===> Modules, Plugins, Snippets & Code
===> Design & Templates
=> Documentatie, Tutorials en Vertalingen
===> Documentatie
===> Tutorials
===> Vertalingen
=> Community
===> Aankondigingen
===> Stel jezelf voor
===> Site Showcase
===> De stamkroeg
-----------------------------
Finnish Community
-----------------------------
=> Tuki
===> UKK
===> Asennus
===> Moduulit, liitännäiset, koodinpätkät
===> Ulkoasu/Sivustopohjat
=> Dokumentaatio, oppaat ja käännökset
===> Dokumentaatio
===> Käännökset
===> Oppaat
=> Yhteisö
===> Tiedotteet
===> Esittele itsesi
===> MODx sivustosi
===> Kahvihuone
-----------------------------
Filipino Community
-----------------------------
=> Suporta
===> Kadalasang tanong
===> Instalasyon
===> Moduler, Maidadagdag, Karagdagang mga Code
===> Desenyo at Templates
=> Dokumentasyon, Mga Turo, Mga Salin
===> Dokumentasyon
===> Mga Turo
===> Mga Salin
=> Kumunidad
===> Anunsyo
===> Ipakilala ang sarili
===> Ang Galing ng pinoy
===> Tsismisan atbp
-----------------------------
French Community
-----------------------------
=> Support
===> FAQ
===> Installation
===> Module, plugin, snippets
===> Design/Templates
=> Documentation, Tutoriels et Traductions
===> Documentation
===> Traduction
===> Tutoriels
=> Communauté
===> Annonces
===> Présentez vous
===> Vos sites
===> Le Bistrot Français
-----------------------------
German Community
-----------------------------
=> Support (de)
===> FAQ (de)
===> Installation (de)
===> Module, Plugins, Snippets & Code (de)
===> Design & Templates (de)
=> Dokumentation, Tutorials und Übersetzung
===> Dokumentation
===> Tutorials (de)
===> Übersetzung
=> Community (de)
===> Ankündigungen
===> Stellt Euch vor
===> Beispielseiten
===> Off Topic / Verschiedenes
-----------------------------
Irish Community
-----------------------------
=> Tacaíocht
===> CC Ceisteanna Coitianta
===> Breiseáin (cláir bhreise), Snippets & Comhaid
===> Suiteáil
===> Dearadh & Teimpléid
=> Doiciméid, Teagascóireacht agus Aistriúchán
===> Doiciméadú
===> Teagascóireacht
===> Aistriúchán
=> Pobal
===> Fógraí
===> Cuir Tú Féin in Aithne
===> Gailearaí an Láithreáin
===> Caifé / An Tábhairne / Ábhar Cainte Eile / Ilghnéitheach
-----------------------------
Italian Community
-----------------------------
=> Supporto
===> FAQ
===> Installazione
===> Moduli, Plugin, Snippet e altro codice
===> Web Design e Template
=> Documentazione, Tutorial e Traduzione
===> Documentazione
===> Tutorial
===> Traduzione
=> Comunità
===> Annunci
===> Presentazioni
===> Siti in vetrina
===> Chiacchiere in libertà
-----------------------------
Japanese Community
-----------------------------
=> サポート
===> 良くある質問
===> インストール
===> モジュール・プラグイン・スニペット・本体
===> デザインやテンプレート
=> マニュアル・テュートリアル・翻訳
===> マニュアル
===> 事例集、テュートリアル
===> 日本語化
=> コミュニティ
===> お知らせ
===> MODxサイト展示場
===> 自己紹介
===> 雑談
===> 国産リソース
-----------------------------
Persian Community
-----------------------------
=> پشتيباني
===> راهنما
===> نصب
===> ماژول , پلاگین ها , کد ها و جزییات
===> طراحی و قالب ها
=> مستند سازی , آموزش ها و ترجمه ها
===> مستند سازی
===> آموزش ها
===> ترجمه ها
=> انجمن ها
===> اخبار
===> معرفی کردن خود
===> نمایش دادن سایت ها
===> بحث های عمومی و سایر موضوعات
-----------------------------
Polish Community
-----------------------------
=> Wsparcie
===> FAQ
===> Instalacja
===> Moduły, pluginy, snipety i kod
===> Wygląd i szablony
=> Dokumentacja, tutoriale i tłumaczenie
===> Dokumentacja
===> Tutoriale
===> Tłumaczenie
=> Społeczność
===> Ogłoszenia
===> Przedstaw się
===> Twój serwis WWW
===> Hyde Park
-----------------------------
Portuguese Community
-----------------------------
=> Suporte
===> FAQ - Dúvidas Frequentes
===> Instalação
===> Módulos, Plugins, Snippets e Código
===> Design e Templates
=> Documentação, Guias e Traduções
===> Documentação
===> Guias
===> Traduções
=> Comunidade
===> Anúncios
===> Apresente-se!
===> Bar da esquina (fora de tópico)
===> Portfólio de Sites
-----------------------------
Russian Community
-----------------------------
=> Поддержка
===> ЧАВО (FAQ)
===> Установка
===> Модули, плагины, сниппеты и код
===> Дизайны и шаблоны
=> Документация, Уроки, Перевод
===> Документация
===> Уроки
===> Перевод
=> Сообщество
===> Объявления
===> Представьтесь публике
===> Галерея сайтов
===> Диван
-----------------------------
Scandinavian Community
-----------------------------
=> Support
===> Frågor och svar
===> Installation
===> Moduler, plugins, snippets och kod
===> Design & sidmallar
=> Dokumentation, guider och översättningar
===> Dokumentation
===> Guider
===> Översättningar
=> Webbgemenskap
===> Meddelanden
===> Presentera dig själv
===> Visa upp dina webbsidor
===> Ordet fritt
-----------------------------
Spanish Community
-----------------------------
=> Soporte
===> FAQ
===> Instalación
===> Modulos, Plugins, Snippets & Código
===> Diseño y plantillas
=> Documentación, Tutoriales y Traducciones
===> Documentatción
===> Tutoriales
===> Traducciones
=> Comunidad
===> Anuncios
===> Presentaciones personales
===> Muestra de sitios
===> El Café
-----------------------------
TÜRKÇE (Turkish)
-----------------------------
=> Destek
===> SSS
===> Kurulum
===> Modüller, Pluginler, Snippetlar & Kodlar
===> Dizayn & Temalar
=> Belgeleme, Eğitmenler ve Çeviri
===> Belgeleme
===> Eğitmenler
===> Çeviri
=> Topluluk
===> Duyurular
===> Kendinizi Tanıtın
===> Site Vitrini
===> Konu Dışı