Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-03-16 18:51:41

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

Improve default pages & forms

Being on the road to a templating system, I’ve been looking at the default pages & forms.

The default pages:

  • archive – used (not protected and identical to default)
  • default – used
  • error_default – used

The default forms:

  • comments_display – used
  • default – used
  • lofi – not used
  • search_results – used (not protected)
  • single – not used
  • comments – used
  • comment_form – used
  • popup_comments – used (not protected)
  • files – used
  • Links – not used (protected)
  • noted – not used
  • plainlinks – used (not protected)

So I’m down to 8 forms from 12, easier to work with.

Offline

#2 2007-03-16 19:08:10

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Improve default pages & forms

Yep

Offline

#3 2007-03-19 18:14:10

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

Re: Improve default pages & forms

What would make a default install easier to grasp for newbies?

  • Pages:
    • archive – Remove it, just use default.
    • default – Use form=”“ on all tags, <txp:article limit=“5” /> becomes <txp:article form=“default” limit=“5” />
  • Forms:
    • Get rid of lofi, single, Links and noted since they are not being used.
    • Change the $essential_forms array in /textpattern/include/txp_form.php to protect the 8 remaining forms.

With the above changes, a default install is less intimidating and easier to grasp for a new user. Including forms that are not used is confusing and seeing what form a particular tag uses goes a log way towards understanding how it all fits in.

Offline

#4 2007-03-19 18:33:58

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Improve default pages & forms

Totally agree.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#5 2007-03-19 18:40:02

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: Improve default pages & forms

Yup, I also agree.


Regards,

Joey

Offline

Board footer

Powered by FluxBB