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
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,
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.
-
MODX Staff
- 1,535 Posts
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
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
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.
Quote from: garryn at 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
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
Oops! i forgot View Port Template Variable - native alternative to wrapper in modx.
Where can I find "view port"?
Thanks