MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Aug 08, 2008, 02:19 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
modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Read what MODx Developers say:
MODx Dev. Blogs
MODx Community Forums
»
Add-ons, Extensions & Elements
»
Creating & Repurposing Content
»
Ditto
(Moderators:
Mark
,
PaulGregory
)
»
[Snippet] NewsListing 6.3.3
Pages: [
1
]
2
3
...
20
Go Down
« Previous topic
Next topic »
Print
Author
Topic: [Snippet] NewsListing 6.3.3 (Read 75457 times)
0 Members and 1 Guest are viewing this topic.
Mark
Moderator
Posts: 3,247
Ditto Developer
[Snippet] NewsListing 6.3.3
«
on:
Oct 29, 2005, 10:58 PM »
NewsListing Version 6.4.2
STABLE RELEASE
The 6.4.x series has been deemed stable and the 6.3.x series deprecated. Please continue any discussions here:
http://modxcms.com/forums/index.php/topic,3873.0.html
Archived version of 6.3.3 Release Header:
Quote
NewsListing Version 6.3.3
BUGFIX RELEASE
Features
Bold
indicates newest.
Ability to call all parts of the document object in a template via [+documentobject+] and all tv's via [+
tv
nameoftv+]
multilevel/hierarchal support
TV sorting
Include and exclude filtering
RSS output
Pagination
Page display
Xhtml strict month based archives
Multisort capabilities
Updated documentation
Multicall abilities/toggle archives
Installation
Quote
Overwrite the contents of NewsListing with the contents of the file snippet.newslisting.6.3.3.txt
Make sure functions.php gets to assets/snippets/newslisting/functions.php
If you are doing this via the File Manager you will need to create the newslisting directory.
Thats it!
snippet.newslisting.6.3.3.zip
(12.74 KB - downloaded 1674 times.)
«
Last Edit: May 05, 2006, 02:14 PM by Mark
»
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
Dr. Scotty Delicious
Coding Team
Posts: 1,170
Dr. of Fine Pirate Arts
Re: [Snippet] NewsListing
«
Reply #1 on:
Oct 29, 2005, 11:48 PM »
Awesome, and thanks. That was less than 12 hours from the time the problem was reported to the posting of the corrected code, and that includes figuring out what "the problem" was. That task takes like 6 months in [* insert other CMS here*] time. I think if anything quantifies the solidarity of the community of a CMS, this speaks volumes. I believe the ease of use, and the new features will draw folks to MODx 9x, but it is the community that will keep them around. You folks feel like family that have been around forever.
-sD-
«
Last Edit: Oct 29, 2005, 11:50 PM by ScottyDelicious
»
Logged
We pillage, we plunder, we rifle and loot. Drink up me 'earties, Yo Ho!
We kidnap and ravage and don't give a hoot. Drink up me 'earties, Yo Ho!
Yo Ho, Yo Ho! A pirate's life for me.
http://scottydelicious.com
http://piratemachine.org
http://treasurechestcart.com
My Amazon Wishlist
Download
WebLoginPE 1.3.0
: A complete web user management snippet for MODx.
TreasureChest Documentation:
http://www.treasurechestcart.com/documentation.html
.
TreasureChest
. Easy MODx eCommerce!
Mark
Moderator
Posts: 3,247
Ditto Developer
Re: [Snippet] NewsListing
«
Reply #2 on:
Oct 30, 2005, 11:39 AM »
Thank you!
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
Mark
Moderator
Posts: 3,247
Ditto Developer
Re: [Snippet] NewsListing
«
Reply #3 on:
Nov 01, 2005, 10:09 AM »
UPDATED
. See first post.
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
Mark
Moderator
Posts: 3,247
Ditto Developer
Re: [Snippet] NewsListing
«
Reply #4 on:
Nov 04, 2005, 10:10 AM »
UPDATED AGAIN
See first post.
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
sottwell
Documentation Team
Posts: 7,628
Re: [Snippet] NewsListing
«
Reply #5 on:
Nov 04, 2005, 11:54 AM »
Still have some typos in the argument checking...truc instead of trunc in the isset function.
Code:
$trunc = isset($truc) ? $trunc : true;
// should there be summary/short version of the posts?
$truncsplit = isset($trucSplit) ? $truncSplit : true;
// should the post be summarized at the "splitter"?
$splitter = isset($trucAt) ? $truncAt : "<!-- splitter -->";
// where to split the text
//$lentoshow = isset($trucLen) ? $truncLen : 450;
// how many characters to show of blogs
// DEPRECATED: too easy to split in middle of an A tag, use splitter, above
// but left here to uncomment if you feel so inclined
Logged
sottwell.com has moved to a lovely Solaris 10 server!
Log in
username guest, password guestuser.
The templates that were available on loripsum.co.uk will become available on the sottwell.com server once I get it properly organized.
Dr. Scotty Delicious
Coding Team
Posts: 1,170
Dr. of Fine Pirate Arts
Re: [Snippet] NewsListing
«
Reply #6 on:
Nov 04, 2005, 12:56 PM »
Quote from: sottwell on Nov 04, 2005, 11:54 AM
Still have some typos in the argument checking...truc instead of trunc in the isset function.
I did a find all "truc" and replace all with "trunc" in BBEdit. See if this looks correct.
snippet.newslisting.txt
(10.55 KB - downloaded 1357 times.)
Logged
We pillage, we plunder, we rifle and loot. Drink up me 'earties, Yo Ho!
We kidnap and ravage and don't give a hoot. Drink up me 'earties, Yo Ho!
Yo Ho, Yo Ho! A pirate's life for me.
http://scottydelicious.com
http://piratemachine.org
http://treasurechestcart.com
My Amazon Wishlist
Download
WebLoginPE 1.3.0
: A complete web user management snippet for MODx.
TreasureChest Documentation:
http://www.treasurechestcart.com/documentation.html
.
TreasureChest
. Easy MODx eCommerce!
mrruben5
Jr. Member
Posts: 10
Re: [Snippet] NewsListing
«
Reply #7 on:
Nov 04, 2005, 02:17 PM »
Excellent
I'm surprised I saw my name there.
Logged
Robsta
Full Member
Posts: 116
Re: [Snippet] NewsListing
«
Reply #8 on:
Nov 07, 2005, 06:30 PM »
Quote from: ScottyDelicious on Nov 04, 2005, 12:56 PM
Quote from: sottwell on Nov 04, 2005, 11:54 AM
Still have some typos in the argument checking...truc instead of trunc in the isset function.
I did a find all "truc" and replace all with "trunc" in BBEdit. See if this looks correct.
I was trying to get this working earlier... either I didn't have the right parameters set, or the truncation doesn't seem to work.
I was testing with one post, and could only get the entire document content to appear, which is pretty default when using [[NewsListing?startID=8]]. The '&truncLen' option, set to '&truncLen=20' to test it, wasn't doing as expected. I tried it was using the download in ScottyDelicious' post, as well as the updated file at the top of the post (looked to be the same one actually).
Or am I missing something obvious?
Logged
Visit
CubeCartForums.org
to talk serious ecommerce!
Spot the biggest mistake in business... "Backups? I'm far too busy to take backups!"
www.inspired-solutions.net
Mark
Moderator
Posts: 3,247
Ditto Developer
Re: [Snippet] NewsListing
«
Reply #9 on:
Nov 07, 2005, 06:35 PM »
&truncLen does not exist at the moment!
It was the old trunctuate at x characters function which is at the moment nonfunctional.
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
Robsta
Full Member
Posts: 116
Re: [Snippet] NewsListing
«
Reply #10 on:
Nov 07, 2005, 06:39 PM »
Quote from: Mark on Nov 07, 2005, 06:35 PM
&truncLen does not exist at the moment!
It was the old trunctuate at x characters function which is at the moment nonfunctional.
Ahh.... thanks.
Logged
Visit
CubeCartForums.org
to talk serious ecommerce!
Spot the biggest mistake in business... "Backups? I'm far too busy to take backups!"
www.inspired-solutions.net
sottwell
Documentation Team
Posts: 7,628
Re: [Snippet] NewsListing
«
Reply #11 on:
Nov 07, 2005, 07:22 PM »
It's much better to use the Summary (introtext in the database) field for this, even if all it is is a copy/paste of the first few lines of the article itself. This way you avoid nasty surprises like images appearing and enlarging an otherwise nice neat "teaser".
Logged
sottwell.com has moved to a lovely Solaris 10 server!
Log in
username guest, password guestuser.
The templates that were available on loripsum.co.uk will become available on the sottwell.com server once I get it properly organized.
Mark
Moderator
Posts: 3,247
Ditto Developer
Re: [Snippet] NewsListing
«
Reply #12 on:
Nov 07, 2005, 07:43 PM »
Agreed
Logged
Documentation
TRAC (Bugtracker)
Forum
How to get help
User Wiki
Credits
SVN Server
Ditto HQ
Stable Download
Development Download
Robsta
Full Member
Posts: 116
Re: [Snippet] NewsListing
«
Reply #13 on:
Nov 08, 2005, 08:29 AM »
Quote from: sottwell on Nov 07, 2005, 07:22 PM
It's much better to use the Summary (introtext in the database) field for this, even if all it is is a copy/paste of the first few lines of the article itself. This way you avoid nasty surprises like images appearing and enlarging an otherwise nice neat "teaser".
Yea, good idea.
Logged
Visit
CubeCartForums.org
to talk serious ecommerce!
Spot the biggest mistake in business... "Backups? I'm far too busy to take backups!"
www.inspired-solutions.net
sottwell
Documentation Team
Posts: 7,628
Re: [Snippet] NewsListing
«
Reply #14 on:
Nov 08, 2005, 09:23 AM »
Especially when the client adds his own new pages...
Logged
sottwell.com has moved to a lovely Solaris 10 server!
Log in
username guest, password guestuser.
The templates that were available on loripsum.co.uk will become available on the sottwell.com server once I get it properly organized.
Pages: [
1
]
2
3
...
20
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ışı