Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-10-14 08:37:05

chandiniverma
New Member
From: India
Registered: 2014-04-28
Posts: 3

Some Info required

I am new to text pattern.. I would like to know whether the following are possible in txt pattern

1. multi domain website with separate database and admin panel from single installation..
2. seperate theme for each websites?
3. seperate plugins for separate websites
4. An event calender with registration and registration forms?

thank you

Offline

#2 2014-10-14 09:42:18

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,448
Website GitHub

Re: Some Info required

Hi, and welcome to Textpattern.

Textpattern has a multi-site option in which you use a single set of core files with multiple databases. Those databases can reside on different domains, it’s up to you how you configure it.

Each admin panel works from its own domain e.g.:

www.yoursite1.com/textpattern
www.yoursite2.com/textpattern
...

Each website and admin panel is thus a separate entity. They have their own identity, their own Page templates, preferences, plugins, everything. They just share physical files so if you upgrade the Textpattern files, they are all upgraded simultaneously.

One thing that is shared are admin-side themes. Since these are installed as physical files in the core, when you install an admin-side theme, it becomes available as an option to all the sites. You can use the smd_admin_themes plugin to manage and choose which themes are installed and set as the default theme for each site.

Public ‘themes’ are created by Page templates and what Textpattern refers to as ‘Forms’ (re-usable snippets). You can install a plugin such as cxc_templates, or (maybe) hcg_templates to help manage public themes. There are some nice starter themes on Textgarden, but Textpattern does not have a simple theme switcher like, say, WordPress does. You tend to design your sites using HTML and Txp tags to do what you want or use a theme as a baseline and customise it.

As for an event calender, there is a plugin (smd_calendar). Registration forms are also something you need a plugin or two for. There’s mem_self_register or mck_login to allow people to sign-up from the public site. mck_login also has a sign-in form to allow people to log in. If you want to offer different content for registered/logged-in users, you have a plethora of options depending on what you want to achieve:

  • cbe_frontauth similar to mck_login (but without the registration option)
  • rvm_privileged to determine if a logged-in user has privileges to do something
  • smd_access_keys to offer secure, token-controlled access to resources
  • smd_user_manager for advanced user, group and privilege management (it also has a tag similar to rvm_privileged to take action depending on who’s logged in)

Hope that helps.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2014-10-14 16:35:42

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Some Info required

In addition to Bloke’s excellent reply, I would add that if by registration forms you mean the ability to register for events, you may also be able to use zem_contact_reborn.

Alternately, a custom form that you create using basic web standards like html, javascript, etc, and/or a code from a third party online form provider like formstack, google forms, wufoo, etc., could also be used.

Offline

Board footer

Powered by FluxBB