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:40 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
:Read what MODx Developers say:
MODx Dev. Blogs
MODx Community Forums
»
Support
»
Documentation, Tips & Tricks
(Moderators:
zi
,
PaulGregory
)
»
How to wrap other URL into MODx?
Pages: [
1
]
2
Go Down
« Previous topic
Next topic »
Print
Author
Topic: How to wrap other URL into MODx? (Read 9149 times)
0 Members and 1 Guest are viewing this topic.
chanh
Guest
How to wrap other URL into MODx?
«
on:
Feb 16, 2006, 04:08 PM »
Is there an easy way to do a wrap in MODx of other URL?
Let say I have a forum running on
http://localhost/forum
but I want that to look like part of MODx.
So I like to see "Forum" will be list on the navigation menu and when the "Forum" link is click it will show the forum as part of the main MODx site not a completely separate forum site.
Any tips would be appreciated.
Thanks
Logged
Djamoer
Testers
Posts: 1,492
No one can limit a man other than the man himself.
Re: How to wrap other URL into MODx?
«
Reply #1 on:
Feb 16, 2006, 04:28 PM »
Ehmm...
Do you want the link in the address bar to be the same one with MODx, or you want the forum to be displayed inside MODx template?
If you just want a link redirection, then you can use WebLink on MODx, to have forum.html to be directed to forum subfolder for example.
If you want to display the forum inside MODx template, than you need to cacth the output from the forum and display it inside MODx using snippet or placeholder maybe.
Btw Chanh, I do realize that you're looking for the best coupling between community system and content manageemnt system. Is that right?
I'm interested to help you out, if you want to.
Sincerely,
Logged
Wendy Novianto (
DJAMOER Solution and Design
)
Search
|
Download Latest Release
|
General Support
About MODx
|
Documentation
|
Bugs/Wishlist
|
FORUM RULES
banzai
Testers
Posts: 853
MODx Italia
Re: How to wrap other URL into MODx?
«
Reply #2 on:
Feb 16, 2006, 04:34 PM »
I do not know if I have understood all, but i think you simply need to create a new page, called 'forum' , then put inside it, a wrapper snippet.
Logged
MODx Websites Showcase
Add your site to
www.modx.it
!
-----------------------------------------------------
FREE MODx Templates
www.tattoocms.it
-----------------------------------------------------
VIDEO: whats new in MODx 0.9.5
|
VIDEO: MODx PHP Application Framework
|
bubuna.com - Web & Multimedia Design
chanh
Guest
Re: How to wrap other URL into MODx?
«
Reply #3 on:
Feb 16, 2006, 04:58 PM »
Yes, I want the forum to show inside MODx.
I know how to create a page but I don't know how to wrap it inside MODx.
Basically I just want the forum look like part of MODx not a separate site.
You can see
http://chanh.blogdns.com
and when you click on "Forum" link it take you to a total different site outside of MODx.
Logged
garryn
Coding Team
Posts: 1,114
Re: How to wrap other URL into MODx?
«
Reply #4 on:
Feb 16, 2006, 05:06 PM »
Hi chanh,
If I was doing it, I would create a weblink that points to your forum and then customise your forum template to look like your modx site (rather than the other way round)
It's only a suggestion as I've not installed a forum on my site yet so can't give you any first hand experience.
Hope that helps, Garry
Logged
Search
|
Download Latest Release
|
General Support
About MODx
|
Documentation
|
Bugs/Wishlist
|
FORUM RULES
Garry Nutting
— http://www.immerse.me.uk - My Playground
|
My Amazon Wishlist
|
XBOX 360 Gamertag: webnerd
banzai
Testers
Posts: 853
MODx Italia
Re: How to wrap other URL into MODx?
«
Reply #5 on:
Feb 16, 2006, 05:09 PM »
If you only need an i frame ( to use in a page called 'forum') you can use wrapper snippet.
If you want to import only content of external link you can use a grab snippet.
Grab.txt
(0.29 KB - downloaded 487 times.)
Wrapper.txt
(3.57 KB - downloaded 479 times.)
Logged
MODx Websites Showcase
Add your site to
www.modx.it
!
-----------------------------------------------------
FREE MODx Templates
www.tattoocms.it
-----------------------------------------------------
VIDEO: whats new in MODx 0.9.5
|
VIDEO: MODx PHP Application Framework
|
bubuna.com - Web & Multimedia Design
banzai
Testers
Posts: 853
MODx Italia
Re: How to wrap other URL into MODx?
«
Reply #6 on:
Feb 16, 2006, 05:10 PM »
Quote from: garryn on Feb 16, 2006, 05:06 PM
Hi chanh,
If I was doing it, I would create a weblink that points to your forum and then customise your forum template to look like your modx site (rather than the other way round)
It's only a suggestion as I've not installed a forum on my site yet so can't give you any first hand experience.
Hope that helps, Garry
This is another - more clean - solution
Logged
MODx Websites Showcase
Add your site to
www.modx.it
!
-----------------------------------------------------
FREE MODx Templates
www.tattoocms.it
-----------------------------------------------------
VIDEO: whats new in MODx 0.9.5
|
VIDEO: MODx PHP Application Framework
|
bubuna.com - Web & Multimedia Design
chanh
Guest
Re: How to wrap other URL into MODx?
«
Reply #7 on:
Feb 16, 2006, 05:58 PM »
Well, the Wrapper is kinda work, maybe! but the Grab would work if not for this bug
: Table 'chanh_zmodx.smf_sessions' doesn't exist
/home/chanh/public_html/smf/Sources/Load.php
1867
Doing what garrym suggest would be ok except that it means more template to do and to maintance.
Thanks for the suggestions
Logged
banzai
Testers
Posts: 853
MODx Italia
Re: How to wrap other URL into MODx?
«
Reply #8 on:
Feb 16, 2006, 06:20 PM »
Oops! i forgot View Port Template Variable - native alternative to wrapper in modx.
Logged
MODx Websites Showcase
Add your site to
www.modx.it
!
-----------------------------------------------------
FREE MODx Templates
www.tattoocms.it
-----------------------------------------------------
VIDEO: whats new in MODx 0.9.5
|
VIDEO: MODx PHP Application Framework
|
bubuna.com - Web & Multimedia Design
chanh
Guest
Re: How to wrap other URL into MODx?
«
Reply #9 on:
Feb 16, 2006, 09:08 PM »
Where can I find "view port"?
Thanks
Logged
rthrash
Foundation
Posts: 9,106
Re: How to wrap other URL into MODx?
«
Reply #10 on:
Feb 16, 2006, 09:19 PM »
It's one of the display widgets on TVs. A bit of a mystery as to how
exactly
it works, but not too bad in a pinch
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
chanh
Guest
Re: How to wrap other URL into MODx?
«
Reply #11 on:
Feb 16, 2006, 09:22 PM »
Is there a sample on how to do that?
Thanks
Logged
rthrash
Foundation
Posts: 9,106
Re: How to wrap other URL into MODx?
«
Reply #12 on:
Feb 16, 2006, 10:13 PM »
Honestly your best, most reliable way to do it unfortunately is creating a custom theme for SMF.
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
dernier_recours
Member
Posts: 83
Re: How to wrap other URL into MODx?
«
Reply #13 on:
Feb 17, 2006, 12:44 PM »
Once, I used a scalable iframe trick:
Between <head> and </head>, add:
Code:
<script type="text/javascript" language="JavaScript">
<!--
function calcHeight()
{
var the_height=document.getElementById('the_iframe').contentWindow.document.body.scrollHeight; //find the height of the internal page
document.getElementById('the_iframe').style.height=the_height; //change the height of the iframe
}
//-->
</script>
Into the document:
Code:
<iframe src="for_example/punbb/index.php" id="the_iframe" onLoad="calcHeight();" width="600px" height="1" name="the_iframe" scrolling="no" frameborder="0">If you see this text your browser didn't support iframes. so see the page click on at the fowllowing link. <a href="link to the forum" target="_blank">Forum</A></iframe>
Logged
at the edge of dawn,
you ask yourself if your shadow did follow you down
all night long
chanh
Guest
Re: How to wrap other URL into MODx?
«
Reply #14 on:
Feb 17, 2006, 02:25 PM »
It seems to only work in IE but not in FF until I make the height tall enough for the page then something show up.
Thanks
Logged
Pages: [
1
]
2
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ışı