Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How to add the welcome static page instead of index.php
Hi guys,
I own web with textpattern system at domain http://dimasnet.com. It was used like a blog and now I need to add the new part of the web content at http://art.dimasnet.com with absolutely another design and structure. So I want to create the welcome page at http://dimasnet.com where the visitors could choose where will they go to the blog at dimasnet.com or to the new web content at http://art.dimasnet.com. Is there a way to save my http://dimasnet.com website structure and to add this welcome page? I am sorry for my English it is not still perfect, I hope you will understand me. Simple way is to create new folder at main domain and create static index.php file with welcome dialog, but I wish to save my website structure. Please help :)
Thank You,
Dimas.
Offline
Re: How to add the welcome static page instead of index.php
Although I’ve never done this I would try the following. Hope this helps.
- Create a sub-domain called art for your domain.
- Place a second copy of TXP there.
- Replace the config-dist.php in /art/textpattern with a copy of /textpattern/config.php from your original install.
- Create a new page template, section, and style for your new /art site using the admin area here: http://dimasnet.com/textpattern
Note that the new install in the the /art sub-domain should access the same database as your original install. The reason you can put it there is so that when someone goes to http://dimasnet.com/art, TXP is there to deliver your content you have stored in your existing database. You will not want to install another database for the second copy of TXP. You might just copy and paste your existing one to the new art sub-domain. Again the only purpose of having a duplicate copy in /art is to serve up your database from a different location.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline