MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Sep 08, 2008, 10:39 AM
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
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
)
»
[Ditto] Select documents to appear on homepage via checkbox
Pages: [
1
]
Go Down
« Previous topic
Next topic »
Print
Author
Topic: [Ditto] Select documents to appear on homepage via checkbox (Read 4894 times)
0 Members and 1 Guest are viewing this topic.
0ad
Member
Posts: 99
[Ditto] Select documents to appear on homepage via checkbox
«
on:
Apr 18, 2006, 10:34 AM »
Hi all
Sorry for being thick, but I can't see in the Newslisting snippet documentation how this feature can be used using Newslisting Multilevel and Var filter. If anyone has a sec to point me in the right direction, I'd be much obliged.
Continued thanks team
J
Logged
Please consider the research and evidence of the Scholars for 9/11 Truth at
http://www.st911.org
Mark
Moderator
Posts: 3,247
Ditto Developer
[Ditto] Select documents to appear on homepage via checkbox
«
Reply #1 on:
Apr 28, 2006, 02:21 PM »
All you need to do is set StartID to 0, multilevel to 1, and use tvname as the filter
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
0ad
Member
Posts: 99
[Ditto] Select documents to appear on homepage via checkbox
«
Reply #2 on:
Apr 29, 2006, 12:23 AM »
ah, sweet, thanks a million mark.
Logged
Please consider the research and evidence of the Scholars for 9/11 Truth at
http://www.st911.org
0ad
Member
Posts: 99
[Ditto] Select documents to appear on homepage via checkbox
«
Reply #3 on:
Jun 06, 2006, 10:51 AM »
hi, ive tried to read about filters for ages and still cant seem to grasp how they work...
im using a checkbox tv called:
filterthis
Input Option Values:
Yes
Default value:
No
Quote
[!NewsListing &startID=`0` &multilevel=`1` &filter=`tvfilterthis,Yes,==`!]
and its not working, where am i going wrong?
TIA, 0
Logged
Please consider the research and evidence of the Scholars for 9/11 Truth at
http://www.st911.org
Mark
Moderator
Posts: 3,247
Ditto Developer
[Ditto] Select documents to appear on homepage via checkbox
«
Reply #4 on:
Jun 06, 2006, 11:23 AM »
First off, use Ditto. Second, try &filter=`tvfilterthis,Yes,2`. Third, please post in a relevant topic. I have split this topic into a new topic to avoid confusion.
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
0ad
Member
Posts: 99
Re: [Ditto] Select documents to appear on homepage via checkbox
«
Reply #5 on:
Jun 07, 2006, 03:41 AM »
Cheers Mark.
Thanks for Ditto, nope it didnt make a difference and yeah, very sorry.
Got a working example I could look at to try and understand where Im going so wrong?
Nuff respect
0
Logged
Please consider the research and evidence of the Scholars for 9/11 Truth at
http://www.st911.org
Mark
Moderator
Posts: 3,247
Ditto Developer
Re: [Ditto] Select documents to appear on homepage via checkbox
«
Reply #6 on:
Jun 07, 2006, 12:51 PM »
Ok, try the following:
1. Create a tv call ShowOnHomepage as a TEXT FIELD (so we can make sure everything is working). Assign its default value to 0.
2. Call Ditto with filter=`tvShowOnHomepage,1,2`.
3. For any page you want on the homepage set the value of ShowOnHomepage to 1.
Let me know if that works. If it does, you most likely used the wrong syntax for the checkbox (it happens).
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
0ad
Member
Posts: 99
Re: [Ditto] Select documents to appear on homepage via checkbox
«
Reply #7 on:
Jun 08, 2006, 05:08 AM »
no, it didnt work mate. I've PM'ed you my login details...
Logged
Please consider the research and evidence of the Scholars for 9/11 Truth at
http://www.st911.org
Dimmy
Testers
Posts: 1,731
Я не говорю по-русски 私は日本語を話さない
Re: [Ditto] Select documents to appear on homepage via checkbox
«
Reply #8 on:
Jun 08, 2006, 06:46 AM »
I am strugeling with the same problem, would love to see an exaple if you guys get this to work
Logged
"They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, because if you play it forwards, it installs Windows."
Nederlands beste portal voor pda en mobiel internet
Mark
Moderator
Posts: 3,247
Ditto Developer
Re: [Ditto] Select documents to appear on homepage via checkbox
«
Reply #9 on:
Jun 08, 2006, 09:09 AM »
You had a combination of a few simple problems (which I fixed):
1. You were running Ditto 1.0 and not 1.0.1
2. In your snippet call you forgot to start with a ? so nothing was returned
3. You didn't use the correct parameter names (multilevel changed to multiLevel for example)
4. Since you were not using a custom template you had to include the tv in HiddenTVs so that the filter could use it
5. The filter should not have had the last ,2 (sorry, my bad)
Here is the working call:
Code:
[!Ditto? &startID=`0` &multiLevel=`1` &hiddenTVs=`ShowOnHomepage `&filter=`tvShowOnHomepage,1`!]
[/code[
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
0ad
Member
Posts: 99
Re: [Ditto] Select documents to appear on homepage via checkbox
«
Reply #10 on:
Jun 08, 2006, 09:28 AM »
Thanks a million mark! you da man!
Dimmy, if you made any of the mistakes i made, i wont feel so stupid
Cheers guys
0
Logged
Please consider the research and evidence of the Scholars for 9/11 Truth at
http://www.st911.org
Dimmy
Testers
Posts: 1,731
Я не говорю по-русски 私は日本語を話さない
Re: [Ditto] Select documents to appear on homepage via checkbox
«
Reply #11 on:
Jun 08, 2006, 09:32 AM »
what doe hidden tv mean?
I am using a custom template
I used multilevel instead of multiLevel
will try this later and report back here
Logged
"They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, because if you play it forwards, it installs Windows."
Nederlands beste portal voor pda en mobiel internet
Dimmy
Testers
Posts: 1,731
Я не говорю по-русски 私は日本語を話さない
Re: [Ditto] Select documents to appear on homepage via checkbox
«
Reply #12 on:
Jun 09, 2006, 02:29 AM »
Ok seems to work fine now thanks
whell almost I have some docs in unpublished folders that do not show.
this is my call:
Code:
[!Ditto? &startID=`0` &tpl=`DittoTemplate` &filter=`tvShowItem,1` &hiddenTVs=`ShowItem` &multiLevel=`1` &seeTruUnpub=`1`!]
«
Last Edit: Jun 09, 2006, 02:32 AM by Dimmy
»
Logged
"They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, because if you play it forwards, it installs Windows."
Nederlands beste portal voor pda en mobiel internet
doze
Coding Team
Posts: 3,048
....Boom!
Re: [Ditto] Select documents to appear on homepage via checkbox
«
Reply #13 on:
Jun 09, 2006, 03:52 AM »
Quote from: Dimmy on Jun 09, 2006, 02:29 AM
Ok seems to work fine now thanks
whell almost I have some docs in unpublished folders that do not show.
this is my call:
Code:
[!Ditto? &startID=`0` &tpl=`DittoTemplate` &filter=`tvShowItem,1` &hiddenTVs=`ShowItem` &multiLevel=`1` &seeTruUnpub=`1`!]
Just a little typo I guess, the last parameter should be seeT
h
ruUnpub
Logged
MODxWiki
|| Please, list wiki worthy material
here
!
Dimmy
Testers
Posts: 1,731
Я не говорю по-русски 私は日本語を話さない
Re: [Ditto] Select documents to appear on homepage via checkbox
«
Reply #14 on:
Jun 09, 2006, 04:59 AM »
Quote from: doze on Jun 09, 2006, 03:52 AM
Quote from: Dimmy on Jun 09, 2006, 02:29 AM
Ok seems to work fine now thanks
whell almost I have some docs in unpublished folders that do not show.
this is my call:
Code:
[!Ditto? &startID=`0` &tpl=`DittoTemplate` &filter=`tvShowItem,1` &hiddenTVs=`ShowItem` &multiLevel=`1` &seeTruUnpub=`1`!]
Just a little typo I guess, the last parameter should be seeT
h
ruUnpub
oeps nice catch, thats what you get when suffering from dislectie
Logged
"They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, because if you play it forwards, it installs Windows."
Nederlands beste portal voor pda en mobiel internet
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.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 (and 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
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> PHx
=> Templates
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Web Design and Development
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
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ışı