Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-10-05 09:31:10

Gallex
Member
Registered: 2006-10-08
Posts: 1,315

cms replacing

there is joomla running webpage. i would like to install txp there. what is the easiest way to do it? should i just install it into subfolder and at the end when new page is set up correctly move it into root folder? or is there more clever solution? how you would solve this? is it possible to install somehow txp into root folder right a way?

Offline

#2 2010-10-06 22:37:00

ajw-art
Member
Registered: 2010-02-10
Posts: 33

Re: cms replacing

You can install textpattern into any folder you want; you just have to make sure that the “path to site” and site url are set correctly in the admin section after install. As far as the actual coding of the pages goes, make sure that you use <txp:site_url /> when declaring paths to files so that the correct relative path will be maintained when/if you move TXP from the sub folder to the root.

Offline

#3 2010-10-07 08:13:08

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: cms replacing

I once did something similar. The hosting company created a new subdomain “new.domain.com” with an empty web root for me to install Textpattern and related files. That way I didn’t disturb the current site at “domain.com”.

Once the Textpattern site was running fine, I called them and they changed settings for “domain.com” to point to the new web root, no moving of files necessary.

As ajw-art mentioned, the use of <txp:site_url /> is highly recommended.

Last edited by masa (2010-10-07 08:13:52)

Offline

#4 2010-10-08 11:00:55

Gallex
Member
Registered: 2006-10-08
Posts: 1,315

Re: cms replacing

masa wrote:

As ajw-art mentioned, the use of <txp:site_url /> is highly recommended.

is it possible to use it in css? i mean, when site is in subfolder i always need manually to add subfolder name to background-image paths

Offline

#5 2010-10-08 11:17:21

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: cms replacing

I’ve never tried it, but rah_css_parse should do the trick.

Offline

Board footer

Powered by FluxBB