Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-06 09:11:34

Champak
Member
Registered: 2006-01-31
Posts: 56

Default write article

Is there a way to make a default article write form with content already in it? Even if it needs to be hard coded.

Offline

#2 2006-02-06 18:26:49

jamiew
Archived Plugin Author
From: NYC
Registered: 2005-01-08
Posts: 74
Website

Re: Default write article

I’m currently working on a plugin to do something very much like this. It’ll require a bit of hardcoding (setting up default article types) but I plan to make it as simple as possible.

The goal is to make a variety of simplified, specialized “write” tabs. I want to also do specialized “articles” tabs (or just a more robust articles tab) to filter by type and display relevant info (custom fields, etc.)

Offline

#3 2006-02-06 19:16:05

jamiew
Archived Plugin Author
From: NYC
Registered: 2005-01-08
Posts: 74
Website

Re: Default write article

By the way, if you want to do this by hand right now look through textpattern/txp_article.php

Offline

#4 2006-02-06 19:37:14

Champak
Member
Registered: 2006-01-31
Posts: 56

Re: Default write article

I found this <code><textarea style=“width:400px;height:420px” rows=“1” cols=“1” name=“Body” tabindex=“2”></code>
and put a
<code>value=“something”</code> in it.
Nothing happens. I even did it with the textarea just below it named excerpts and nothing happened. Where in the file am I supposed to go, and what exactly do I put in? Thanks.

Offline

Board footer

Powered by FluxBB