MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Jul 05, 2009, 08:43 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
»
Development & Coding
»
Core Code
(Moderator:
OpenGeek
)
»
Modifications to allow weblinks to have META Keywords and template variables.
Pages: [
1
]
Go Down
« Previous topic
Next topic »
Print
Author
Topic: Modifications to allow weblinks to have META Keywords and template variables. (Read 4603 times)
0 Members and 1 Guest are viewing this topic.
steph
Member
Posts: 85
Modifications to allow weblinks to have META Keywords and template variables.
«
on:
Jan 28, 2006, 12:43 PM »
17/12/2006. I've posted the mods for 0.9.5 in a
reply further down the page
.
05/12/2006. The original core code modification was for 0.9.1. I've posted the mod for MODx-095rc3-rev2066 below.
Hi all.
I've modified /manager/actions/dynamic/mutate_content.dynamic.action.php to allow weblinks to have META Keywords and template variables.
The changes were small:
a) Modified some conditions to allow the META Keywords tab and the TVs to show for weblinks in the manager.
b) Removed an html hidden field that prevented weblinks being associated with a template.
The changes were made to allow me to categorise and group weblinks with the aid of a modified DropMenu snippet, which can filter docs by a regexp on their keywords or a TV.
http://modxcms.com/forums/index.php/topic,2588.0.html
Please let me know whether these changes could have any derogatory effects on the operation of MODx.
Steph
P.S. I also changed the description field to a textarea, simply to allow more of it to be seen.
reply url added
mutate_content.dynamic.action.php.zip
(11.16 KB - downloaded 305 times.)
«
Last Edit: Jan 30, 2007, 06:31 AM by zi
»
Logged
Stephan Dale
http://mindspill.net/computing/cross-platform-notes/modx.html
modx(a)mindspill.net
steph
Member
Posts: 85
Re: Modifications to allow weblinks to have META Keywords and template variables
«
Reply #1 on:
Dec 05, 2006, 02:17 PM »
Here's the modified core code for MODx-095rc3-rev2066 along with the original so you can do a comparison to see what's changed. (remove the .txt extension).
mutate_content.dynamic.php is the new one.
mutate_content.dynamic.php.orig is the original.
It goes in manager/actions/.
Aargh! It's not letting me post the damn thing. "Sorry! There is already an attachment with the same filename as the one you tried to upload. Please rename the file and try again." No, it's not! This is the 3rd different name I've tried!
...
If the God of quirks helps me, they'll be posted below.
Logged
Stephan Dale
http://mindspill.net/computing/cross-platform-notes/modx.html
modx(a)mindspill.net
steph
Member
Posts: 85
Re: Modifications to allow weblinks to have META Keywords and template variables
«
Reply #2 on:
Dec 05, 2006, 02:20 PM »
Remove the .1 from the filename. I had to add this to allow me to post it.
mutate_content.dynamic.php.1.zip
(22.86 KB - downloaded 165 times.)
Logged
Stephan Dale
http://mindspill.net/computing/cross-platform-notes/modx.html
modx(a)mindspill.net
doze
Coding Team
Posts: 3,662
....Boom!
Re: Modifications to allow weblinks to have META Keywords and template variables
«
Reply #3 on:
Dec 05, 2006, 07:20 PM »
I have wondered that why TV's were disabled from the weblinks in the firstplace.. I know that they are not processed when weblink is accessed, but that doesnt mean that they would not be usefull to have. When you have TV's in weblinks, you can forexample build categorized link list with ditto very easily.. and so on. I suggest to add this change to the core.
Logged
New MODx wiki!
Please help up with documentation efforts! ||
Old Wiki
heliotrope
Coding Team
Posts: 2,517
Re: Modifications to allow weblinks to have META Keywords and template variables.
«
Reply #4 on:
Dec 05, 2006, 07:24 PM »
I second that Doze.
:-)
Logged
Made with MODx :
traduction en ligne
|
agence de traduction
|
copadel, fruits et légumes
|
Provence
|
Dictionnaire en ligne
Professional Website:
dixsix, communication interactive
Dr. Scotty Delicious
Coding Team
Posts: 1,183
D.F.P.A.
Re: Modifications to allow weblinks to have META Keywords and template variables
«
Reply #5 on:
Dec 05, 2006, 11:44 PM »
+1 on that for me too.
I have been trying to add categories to my "Friendly Pirates" (links section) as they are varied in content type.
-sD-
Logged
My Blog:
http://scottydelicious.com
OpenGeek
MODx Co-Founder
Moderator
Posts: 5,814
damn accurate caricatures...
Re: Modifications to allow weblinks to have META Keywords and template variables
«
Reply #6 on:
Dec 06, 2006, 12:31 AM »
This did not make it into 0.9.5, which was released just a few short hours ago. But I'm definitely all in favor of including this, and we can get it into 0.9.5.1 which will follow shortly, once we have more translations completed.
Logged
Jason Coward
MODx Co-Founder
xPDO Founder
CTO @
Collabpad
work
productively.
work
intelligently.
work
together
.
MODx
Development
|
SVN
|
Fisheye
xPDO
Development
|
SVN
|
Fisheye
Light is just a vibration of a note too. Everything is. You've got to keep that in mind.
Frank Zappa
zi
MODx Special Forces /
Administrator
Posts: 3,329
May Peace Be On You
Re: Modifications to allow weblinks to have META Keywords and template variables.
«
Reply #7 on:
Dec 06, 2006, 04:42 AM »
Very nice work work steph!
thanks for sharing.
regards.
Logged
Subscribe to
MODx Commercial Support Plans
Share and Explore websites made in MODx
--------------------------------------------------
Follow me on Twitter
My Blog
,
Resource Center
ziworks | Custom/Free MODx Templates
steph
Member
Posts: 85
Re: Modifications to allow weblinks to have META Keywords and template variables
«
Reply #8 on:
Dec 06, 2006, 07:22 AM »
Thanks.
Please note that I've not tested my changes to MODx-095rc3-rev2066. I made these in response to a request from spoetnik at
http://modxcms.com/forums/index.php/topic,2588.30.html
.
I'm running 0.9.2.2 so I know the changes are ok with that version. The changes I made to 095rc3-rev2066 were identical to those I made to 0.9.1 (and 0.9.2.2) so provided the new mutate_content.dynamic.php and mutate_content.dynamic.action.php don't differ too much, there should not be a problem. I'm waiting to hear a response from spoetnik on the other thread to see whether it's all ok.
Since 0.9.5 has been released I'll upgrade, make the mod for that version, test and post when ready. This should be by the end of the week.
Btw, someone needs to update the button on the homepage to indicate the change from 0.9.2 to 0.9.5.
Logged
Stephan Dale
http://mindspill.net/computing/cross-platform-notes/modx.html
modx(a)mindspill.net
rthrash
Foundation
Posts: 10,471
Re: Modifications to allow weblinks to have META Keywords and template variables.
«
Reply #9 on:
Dec 06, 2006, 09:07 AM »
Update done. Thanks!
Logged
MODx
is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you
help us help you
,
read the wiki
, and review snippet parameters even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @
Collabpad
work
productively.
work
intelligently.
work
together.
MODx
Current
|
Dev
|
SVN Root
|
JIRA (Bugs)
|
Confluence (Revolution Wiki)
|
Fisheye SVN Browser
steph
Member
Posts: 85
Re: Modifications to allow weblinks to have META Keywords and template variables
«
Reply #10 on:
Dec 17, 2006, 10:21 AM »
Here's the 0.9.5 version. Rename to mutate_content.dynamic.php and place in manager/actions/.
mutate_content.dynamic.php.1.txt
(65.13 KB - downloaded 203 times.)
Logged
Stephan Dale
http://mindspill.net/computing/cross-platform-notes/modx.html
modx(a)mindspill.net
johnvb
Jr. Member
Posts: 48
Re: Modifications to allow weblinks to have META Keywords and template variables
«
Reply #11 on:
Dec 20, 2006, 02:56 PM »
This is something I've hoped for for a while. Thanks!
Logged
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
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> Front-end Document Management
=> 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
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.3
===> 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
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Webworker Lounge
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
International Support & Translations
-----------------------------
=> Internationalization
=> Bulgarian
===> Поддръжка
=====> Често задавани въпроси
=====> Инсталация
=====> Модули, Плъгини, Снипети и код
=====> Дизайн и Шаблони
===> Документация, Ръководства и Превод
=====> Документация
=====> Ръководства
=====> Превод
===> Общество
=====> Съобщения
=====> Представете се
=====> Представете сайта си
=====> Дискусии извън MODx
=> Chinese
=> Czech
===> Oznámení
=====> Důleitá oznámení/novinky
=====> Bezpečnost
===> Komunita
=====> Oznámení
=====> Představte se, prosím
=====> Ukázky práce
=====> Různé aneb cokoli co se jinam nehodí
===> 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)
=> Dutch
===> 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
=> Filipino
===> 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
=> Finnish
===> 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
=> French
===> 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
===> 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
=> Hebrew
===> הכרזה
=====> חדשות חשובות
=====> אבטחה
===> תמיכה
=====> התקנה
=====> תיעוד, מדריכים ותרגומים
=====> עיצוב ותבניות
=====> שאלות נפוצות
===> תיעוד, מדריכים ותרגומים
=====> תיעוד
=====> מדריכים
=====> תרגומים
===> קהילה
=====> הודעות
=====> הצג את עצמך
=====> אתרים לדוגמא
=====> כללי
=> Irish
=> Italian
===> 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
===> サポート
=====> 良くある質問
=====> インストール
=====> モジュール・プラグイン・スニペット・本体
=====> デザインやテンプレート
===> マニュアル・テュートリアル・翻訳
=====> マニュアル
=====> 事例集、テュートリアル
=====> 日本語化
===> コミュニティ
=====> お知らせ
=====> MODxサイト展示場
=====> 自己紹介
=====> 雑談
=====> 国産リソース
=> Persian - فارسي
===> پشتيباني
=====> راهنما
=====> نصب
=====> ماژول , پلاگین ها , کد ها و جزییات
=====> طراحی و قالب ها
===> مستند سازی , آموزش ها و ترجمه ها
=====> مستند سازی
=====> آموزش ها
=====> ترجمه ها
===> انجمن ها
=====> اخبار
=====> معرفی کردن خود
=====> نمایش دادن سایت ها
=====> بحث های عمومی و سایر موضوعات
=> Polish
===> 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
===> 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
===> Поддержка
=====> ЧАВО (FAQ)
=====> Установка
=====> Модули, плагины, сниппеты и код
=====> Дизайны и шаблоны
===> Документация, Уроки, Перевод
=====> Документация
=====> Уроки
=====> Перевод
===> Сообщество
=====> Объявления
=====> Представьтесь публике
=====> Галерея сайтов
=====> Диван
=> Scandanavian
===> 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
=> Slovak
=> Spanish
===> 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é
=> Swedish
=> 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ışı