Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-11-15 04:24:32

tcloud
New Member
Registered: 2010-11-14
Posts: 3

where is documentation on templates or themes

I am new to TXp and have installed Txp 4.3.0 on a remote host.

I want to install a template — but where is the documentation on this topic?

On my trial site’s Extensions > Templates page nothing appeared in the dropdown. I clicked on “Go” and got a message similar to the one below. I created the directory the message indicated with my ftp program, went back, still nothing in the drop-down, clicked Go, got yet another message …. and then another and another. How many directories do I have to create? Why isn’t there any documentation on this subject?

Template Directory Missing
The template directory `/home2/tcloud/public_html/textpattern/_templates/style/plugins` does not exist, and could not be automatically created. Would you mind creating it yourself by running something like

     mkdir /home2/tcloud/public_html/textpattern/_templates/style/plugins
    chmod 777 /home2/tcloud/public_html/textpattern/_templates/style/plugins

I don’t understand the “mkdir” and “chmod” — where do I enter those commands in my ftp program?
What do the double slashes mean in some of the missing directory warnings?

Where is the documentation? I would be happy to create the directories — if only there were a list of what is required somewhere, but finding them one at a time is frustrating.

Offline

#2 2010-11-15 04:56:34

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

Re: where is documentation on templates or themes

tcloud wrote:

I want to install a template — but where is the documentation on this topic?

TXP doesn’t have inbuild click-and-install templating system. You must be using some plugin. What is the plugin in question, and what is the theme?

You probably will get more views and have higher change to get correct answer if you ask the question in the plugin’s support thread (if that particular plugin has one).

Offline

#3 2010-11-15 09:03:42

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,000
Website GitHub

Re: where is documentation on templates or themes

as Gocom wrote you are using a template plugin and the directions should be in the help for that plugin, or else with the template you wish to use.

mkdir is just a command to create a directory like you did in your ftp program. chmod is usually more hidden in FTP programs – often you right click on the file and choose something like “change permissions” or “get info” where you can then set the read/write permissions that correspond to 777 (usually the FTP program shows you that).

Usually the template will contain the directory structure you need including any sub-folders and after uploading that you’ll just need to set the permissions.


TXP Builders – finely-crafted code, design and txp

Offline

#4 2010-11-15 14:13:23

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

Re: where is documentation on templates or themes

Gocom wrote:

TXP doesn’t have inbuild click-and-install templating system. You must be using some plugin.

As Gocom said. In case it helps further clarify:

Textpattern’s native “templating” system is through the browser. You go to the Presentation tab and then cut and paste your x/html, txp tags, css, etc. into Pages, Forms, Css.

For graphics you either upload them via ftp to their own folder and call them from you code in pages/forms/css or upload them into the images tabs and call them using txp tags.

To make things easier there are several plugins that help speed the process by allowing you to move the content in the pages/forms/css in and out of the database to file directories.

Many of the pre-packaged templates are using one of those plugins. mem_templates is currently popular and may be the plugin you are using.

Last edited by maverick (2010-11-15 14:13:46)

Offline

#5 2010-11-15 14:42:03

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: where is documentation on templates or themes

tcloud wrote:

Where is the documentation? I would be happy to create the directories — if only there were a list of what is required somewhere, but finding them one at a time is frustrating.

You have to create one directory `/home2/tcloud/public_html/textpattern/_templates – after that you can export your pages, forms, styles to this directory for backup purposes. If you want to upload a new theme, you have to ftp it into the _templates directory as a subdirectory, then it will show in the drop down.

Since we don’t know what theme you are using, or what plugin, it’s a bit hard to diagnose the situation.

Offline

#6 2010-11-15 18:24:12

tcloud
New Member
Registered: 2010-11-14
Posts: 3

Re: where is documentation on templates or themes

Thanks, I looked for help with templates and found nothing. I found a recommendation for a plugin and loaded it but there are no instructions for it:
mem_templates allegedly by someone named Michael Manfre:
http://manfre.net/project/905/mem_templates

Any suggestions about changing the look of Txp — templates, etc. — would be greatly appreciated.

thanks,
Tom

Offline

#7 2010-11-15 18:42:43

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: where is documentation on templates or themes

tcloud wrote:

Any suggestions about changing the look of Txp — templates, etc. — would be greatly appreciated.

Start off at this page on the wiki, at the end of the page you’ll find links to user contributed material.

Offline

#8 2010-11-15 19:05:57

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

Re: where is documentation on templates or themes

tcloud wrote:

mem_templates allegedly by someone named Michael Manfre:

Manfre used to be quite active and authored a number of plugins.

I believe Manfre’s template plugin was based off of Bert’s hcg_templates

tcloud wrote:

Any suggestions about changing the look of Txp — templates, etc. — would be greatly appreciated.

If you are not comfortable with coding your own site, or like to look at examples to learn from, Textgarden is a great place to start.

You will notice a number of templates by Stuart (bombsite). His templates use the mem_templates plugin, and he has extensive help files with his packages.

Likewise, if you follow the download link for hcg_templates, you will see Bert has an attractive template package called CrystalX also available for download. He too has instructions for usage include, if I recall correctly.

Last edited by maverick (2010-11-15 19:07:03)

Offline

Board footer

Powered by FluxBB