Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-11-20 14:52:07

neoformat
Member
From: Russia
Registered: 2007-02-17
Posts: 37
Website

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

#2 2008-11-21 20:59:10

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

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.

  1. Create a sub-domain called art for your domain.
  2. Place a second copy of TXP there.
  3. Replace the config-dist.php in /art/textpattern with a copy of /textpattern/config.php from your original install.
  4. 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

Board footer

Powered by FluxBB