MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Jul 05, 2009, 01:37 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
:Read what MODx Developers say:
MODx Dev. Blogs
MODx Community Forums
»
Support
»
General Support
»
[Hack] Subsites - (Solve Friendly Alias Path)
Pages:
1
...
5
6
[
7
]
8
9
Go Down
« Previous topic
Next topic »
Print
Author
Topic: [Hack] Subsites - (Solve Friendly Alias Path) (Read 37450 times)
0 Members and 1 Guest are viewing this topic.
gspark
Member
Posts: 90
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #90 on:
May 10, 2007, 06:13 PM »
the textarea is too short in the config area
20070510_16.12.11.jpg
(14.36 KB, 171x320 - viewed 298 times.)
Logged
Vait
Full Member
Posts: 194
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #91 on:
Sep 03, 2007, 11:15 AM »
i had it installed with 0.9.5. but then upgraded to 0.9.6 and it stopped working, anyone got subsites working with 096? Thanks!
Logged
Pure MODx sites
Viriko.ru
&
Viriko.com
- Multilingual and running on 1 MODx
hironaka
New Member
Posts: 2
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #92 on:
Sep 13, 2007, 03:08 PM »
Hi all,
I too needed multi-site/subsite support, so I've updated and cleaned up the hack to work with the latest SVN/development version (0.9.6.1) of MODx. The attached GNU patch file should be all you need (Under *nix: cd your-modx-directory && patch -p1 < modx-subsite-0.9.6.patch.txt). Still working on it, so I might update this patch later on.
I have made a few minor adjustments to the hack itself in order to get friendly-URLs working again, and I haven't tried it out with 0.9.6 yet, so YMMV (but it works fine for me
)
modx-subsite-0.9.6.patch.txt
(9.78 KB - downloaded 232 times.)
Logged
OpenGeek
MODx Co-Founder
Foundation
Posts: 5,813
damn accurate caricatures...
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #93 on:
Sep 13, 2007, 04:51 PM »
Thanks for the contribution hironaka.
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
Dimmy
Testers
Posts: 1,898
Я не говорю по-русски 私は日本語を話さない
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #94 on:
Sep 20, 2007, 05:06 AM »
is this only working for subdomains or also for totally separated domains?
we have 4 domain names like this:
name.nl
name.de
name.com
name.fr
I like to use one instalation for 4 domains.
do i need to forward de domains to the main site? or how do i do this? do i need to change dns? so that all point to one site? I have no idea
but it would be great if i type in name.de/page.html that i keep that adres in the urlbar and that the menu is also pointing to .de even tho the site runs on .com.
maybe somone could help me to understand how i would do this.
thank you (I installed the files on a 0.9.6 but i do not see any change in the settings.)
Dimmy
Logged
"They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, because if you play it forwards, it installs Windows."
Nederlands beste portal voor pda en mobiel internet
sal
Full Member
Posts: 104
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #95 on:
Nov 18, 2007, 08:13 PM »
I'm interested in trialling this hack from scratch but can't get it working. Using the patch from hironaka, this is what I done (I'm on OS X).
1. Downloaded and unarchived
modx-0.9.6.1.tar.gz
2. Placed
modx-subsite-0.9.6.patch.txt
in the resulting directory, (full path being "/Library/WebServer/Documents/modx-0.9.6.1/modx-subsite-0.9.6.patch.txt")
3. Opened up Terminal, cd to the right directory and tried "patch -p1 < modx-subsite-0.9.6.patch.txt" but it just returns "patch unexpectedly ends in middle of line, patch: **** Only garbage was found in the patch input."
Help?
PS: Also tried this after a fresh remote install of 0.9.6.1, ssh'd in and with the patch file in the same directory as "assets" and "manager", I tried "
patch -p1 < patch.txt
" but "
-bash: patch: command not found
" was returned which I was semi-expecting.
«
Last Edit: Nov 18, 2007, 09:24 PM by sal
»
Logged
sottwell
Documentation Team
Posts: 8,837
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #96 on:
Nov 19, 2007, 03:14 AM »
If you SSH in, you'll need to su to root before you can run patch. Unless your SSH login is as root, which it certainly should not be.
Logged
sottwell.com has moved to a lovely Solaris 10 server!
Log in
username guest, password guestuser.
Templates are now becoming available at
http://sottwell.com/templates.html
Os0Boucko
Jr. Member
Posts: 5
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #97 on:
Nov 19, 2007, 01:35 PM »
This sound very interesting, could someone upload the modified files for the 0.9.6 release, I can't get the patch to work.
thx
Logged
sal
Full Member
Posts: 104
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #98 on:
Nov 19, 2007, 06:02 PM »
I just manually applied the changes myself to the few files that are involved in this hack and it looks to work with a quick 5 min check from me. Here's the relevant files that should get it going for a
0.9.6
install (I use 0.9.6.1 and its fine also). Just upload using the directory structure in the ZIP to your MODx base (it's all directed at the "manager" directory) and it should be good to go.
All this at your own risk of course, but it looks fine to me.
modx-0.9.6-subsites.zip
(58.56 KB - downloaded 320 times.)
«
Last Edit: Nov 20, 2007, 04:11 PM by sal
»
Logged
Os0Boucko
Jr. Member
Posts: 5
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #99 on:
Nov 20, 2007, 07:24 AM »
Thx you sal, i'll try it and if needed ill upgrade to 0.9.6.1 version
Ok, done.
I'm a little confuse.I don't have acces to .htaccess/dns so I have to ask my provider to do the changes.
I got 3 domain name:
mydomain.com
mydomain.net
myOtherdomain.com
When I log to my main domain ftp there is 3 folders(mydomain.com,mydomain.net,myOtherdomain.com) with the content of the actual websites . So I guess there is some kind of redirection behind.
I would like that 1 modx manage all thoses websites.
My opinion is that I should ask the provider to redirect all the domain to the same folder (where modx is installed) and use modx-subsite to redirect the user to the right document(id) according to his request.
Is that right ?
Will the user see in his navigation bar the domain name he requested ?
Thx for help
«
Last Edit: Nov 20, 2007, 10:59 AM by Os0Boucko
»
Logged
sal
Full Member
Posts: 104
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #100 on:
Nov 20, 2007, 02:57 PM »
Yep, point all domains at the same MODx install and as I understand it, the domain/sub-domain used to access the website determines which document gets served up. This would be set in the new Subsites option from the Tools > Configuration > Site page.
So for say a MODx install to manage 3 different websites (one.com, two.com and three.com for example), MODx would by default manage one website (one.com), create 2 documents for the other two domains, associate the other two domains with a respective document ID in the Subsites option and it should just work. I haven't worked through all the little subtleties to Subsites yet but I expect it to work out fine for a current project I'm working on.
Logged
Os0Boucko
Jr. Member
Posts: 5
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #101 on:
Nov 21, 2007, 02:05 AM »
OK, thx sal.
I'll give some feedback in one week, when my project will be finished... I can't wait to see it
Logged
pixelranger
Full Member
Posts: 149
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #102 on:
Dec 16, 2007, 06:05 AM »
Hello!
What i'm doing wrong??
1) created subdomain(dispenser.site.com) from my admin/reseller inteface2) removed default html welcome page from subdomain
/bhome/part2/01/pribor/site.com/www - domain folder
/bhome/part2/01/pribor/site.com/www/dispenser - subdomain folder(auto creating)
3) upload modx files in domain
4) created a folder in modx domain. id-32
5) enabled subsites in modx system configuration
6) subsite: dispenser.site.com 32 7 7
no errors in domain
open
http://dispenser.site.com/blog.html
- 404 error, but i have page( Document's alias - blog, id is 47. This document is subfolder of document(id 32))
«
Last Edit: Dec 16, 2007, 06:25 AM by pixelranger
»
Logged
pixelranger
Full Member
Posts: 149
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #103 on:
Dec 17, 2007, 04:42 PM »
Help me!!!
Logged
BobRay
Coding Team
Posts: 3,175
Re: [Hack] Subsites - (Solve Friendly Alias Path)
«
Reply #104 on:
Dec 17, 2007, 05:03 PM »
Does this work?
http://dispenser.site.com/index.php?id=47
Also, is MODx's .htaccess file in the root directory of the MODx install? If so, posting the top part of it here (down through the friendly url part) might help us help you.
Bob
Logged
MODx info for newbies:
http://bobsguides.com/MODx.html
Pages:
1
...
5
6
[
7
]
8
9
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ışı