Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-08-05 06:33:55

lucass
Member
Registered: 2012-07-07
Posts: 21

Plugin for tour dates / Change admin URL

Hey everyone,

I’m trying to build a TXP theme for a band – can anyone recommend me a simple plugin for managing tour dates?

And is there a way to change the admin url from /textpattern to /login or /admin?

Thanks in advance!

{Edited to adapt title to topic’s content. – Uli}

Last edited by uli (2012-08-08 11:07:48)

Offline

#2 2012-08-05 07:18:47

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Plugin for tour dates / Change admin URL

smd_calendar might be of help.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2012-08-05 11:04:03

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Plugin for tour dates / Change admin URL

lucass wrote:

And is there a way to change the admin url from /textpattern to /login or /admin?

There are several options. There is the Multi-site installation option, simply creating a symbolic link is possible, so is using ModRewrite and there are always server’s virtualhosts.

Personally, I mostly just create a symbolic link by running the following in the shell (via SSH):

$ cd /path/to/site/index/containing/textpattern/dir
$ ln -s textpattern login

After that you can access Textpattern’s admin-side via a the symlink’s path. To prevent anyone getting lost in the old, real location, you can throw a stub .htaccess to the the /textpattern directory that redirects users accessing to the directory to correct location. Along the lines of:

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteCond %{REQUEST_FILENAME} /textpattern/
	RewriteRule ^(.*) /app/$1 [R]
</ifModule>

Offline

Board footer

Powered by FluxBB