MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Nov 21, 2008, 07:29 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
Search via SMF
or Google:
modx forums
all of modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Read
Frequently Asked Questions (FAQ)
MODx Community Forums
»
Development & Coding
»
Core Code
(Moderators:
zi
,
PaulGregory
)
»
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 3885 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 287 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 146 times.)
Logged
Stephan Dale
http://mindspill.net/computing/cross-platform-notes/modx.html
modx(a)mindspill.net
doze
Coding Team
Posts: 3,212
....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
MODxWiki
|| Please, list wiki worthy material
here
!
heliotrope
Coding Team
Posts: 2,433
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,172
Dr. of Fine Pirate Arts
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
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.
OpenGeek
MODx Co-Founder
Foundation
Posts: 5,007
looking a little more like my avatar again...
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
Principal @
Collabpad
work
productively.
work
intelligently.
work
together
.
MODx
Development
|
SVN
|
Fisheye
xPDO
Development
|
SVN
|
Fisheye
If you think of yourselves as helpless and ineffectual, it is certain that you will create a despotic government to be your master. The wise despot, therefore, maintains among his subjects a popular sense that they are helpless and ineffectual.
— Frank Herbert
zi
MODx Special Forces /
Administrator
Posts: 3,006
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
“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
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: 9,514
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 (097 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 173 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
=> 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ışı