Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-15 22:55:26

barnettgs
Member
Registered: 2005-09-20
Posts: 23

After spending some hours getting used to TT, I need to ask few Qs...

I found Textpattern to be excellent software, a breeze of fresh air as compared to any other CMS/blogs!

Textpattern will become my no1 choice if I can figure out how to do few things.

  1. I understand the difference between section/categories but after trying out few test pages, there is one thing puzzling me – For example, I created new section called ‘Radio Controlled’ with Front page turned off and made new article under ‘Radio Controlled’, also selected ‘hope for the future’ category. The page does not show up in ‘hope for the future’ category unless I ticked ‘Front page’ on option in Radio Controlled section page. Not sure why is that, am I missing something?
  1. I read some tutorials for putting a list of articles under section or category but my head is dazzled by code, where should I put the code in, html template or form? For example, there are few articles under ‘Radio Controlled’ section and if I want to create a nav menu which link you to ‘Radio Controlled’ articles list page (with links in list to open full page, not blog style) but I do not want it to show up in Radio Controlled page, how I do this?
  1. If I want to create a Contact page with contact form & submit box, can it be done by putting in my own html code in article section or…?
  1. I got the impression that you can’t have a Front page option (Similar to section) on every page regardless of same section/category? Is there other way but if not, thats ok as I think I can work around this.

Sorry for asking few questions but I think I’m not that far from complete understanding how textpattern works so I can’t wait to get my hands dirty!

Thanks

Gary

Last edited by barnettgs (2006-01-15 23:39:18)

Offline

#2 2006-01-16 00:16:46

RenJonsin
Member
From: Tarpon Springs, FL USA
Registered: 2005-02-06
Posts: 103
Website

Re: After spending some hours getting used to TT, I need to ask few Qs...

  1. It’s behaving the way it is supposed to. If you put an article in the Radio Controlled section and have that section set to not show on the front page, it doesn’t matter what caegory it’s filed under. It stil won’t show on the front page.
  2. You should be able to call that page with the url http://www.yourdomain.com/radio controlled/
  3. This might make it easier
  4. Do you mean a home link? A section page? You can put a list of recent articles on any page with the <code><txp:recent_articles /></code> tag.

Last edited by RenJonsin (2006-01-16 00:19:46)

Offline

#3 2006-01-16 00:39:12

barnettgs
Member
Registered: 2005-09-20
Posts: 23

Re: After spending some hours getting used to TT, I need to ask few Qs...

Ok, I will explain this more clearly.

  1. - I meant that when an article is posted under ‘Radio Controlled’ section and ‘hope for the future’ category – this article does not show up in ‘hope for future’ category (apart from Radio Controlled section which is ok)…this article supposed to shows up in both Radio Controlled and ‘Hope for future’ category but it doesn’t unless I enabled ‘Front page’ in Radio Controlled – Is that normal?
  1. Yes, I know already about http://www.yourdomain.com/radio controlled/ but after you have said that, I realised I was thinking the wrong side of my brain(!), so what I was trying to say that I would like to change ‘Radio Controlled’ page with articles in it (blog-like) to bullet listing. How can I do this?
  1. Thanks
  1. On index page of textpattern (homepage but is it under ‘articles’ section?), there are some articles in section of ‘Radio Controlled’ that I want to be on front page but at the same time, there are few other articles of the same section I do not want to shown in front page.

Hope you understand what I am trying to say. Sorry, my english isn’t that great as it is my second language.

Regards

Gary

Offline

#4 2006-01-16 01:14:37

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: After spending some hours getting used to TT, I need to ask few Qs...

  1. - you can put html code in your page template or in your article, whichever is more convenient for you … in your article, either disable textile for that post, or wrap your code in < notextile >< /notextile > tags

+ + +

article & article_custom tags are your power tools – check the manual’s explanation of how they work again (linked), and then maybe this FAQ entry

for #2 – note the form and listform attributes of the article tag – on ‘section’ homepages (which are ‘article lists’) you can call a form that outputs all articles in an unordered list, and ‘individual articles’ or pages can call a form that presents title, body, excerpt, article image, etc

break a leg : )

Last edited by nardo (2006-01-16 01:15:31)

Offline

#5 2006-01-16 01:42:22

barnettgs
Member
Registered: 2005-09-20
Posts: 23

Re: After spending some hours getting used to TT, I need to ask few Qs...

Ok, I’m still not going anywhere with articles listing. I’m going to explain what I did so maybe you can see where i’m going wrong! :)

Starting with template page, I copy archive page and named the page as ‘list’

and I put in the code like this:

<code>
<!— center —>
<div id=“content”>

<txp:article />
<ul>
<txp:article_custom form=“list” section=“Radio Controlled” />
</ul>
</div>
</code>

And I went to section, create new section called Radio Controlled and selected page ‘list’.

So it doesn’t work but I have no idea of where I went wrong!

Last edited by barnettgs (2006-01-16 01:49:17)

Offline

#6 2006-01-16 02:11:34

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: After spending some hours getting used to TT, I need to ask few Qs...

before we go any further, create an article form (under presentation/forms) called ‘list’ with something in it… e.g. txp:title tag

page templates – you don’t need one for each section, etc… a txp:article tag in a page template is section- and category-sensitive, remember that!

Offline

#7 2006-01-16 12:43:15

barnettgs
Member
Registered: 2005-09-20
Posts: 23

Re: After spending some hours getting used to TT, I need to ask few Qs...

> nardo wrote:

> before we go any further, create an article form (under presentation/forms) called ‘list’ with something in it… e.g. txp:title tag

page templates – you don’t need one for each section, etc… a txp:article tag in a page template is section- and category-sensitive, remember that!

Right, you are confusing me further still. Couldn’t you provide me a step by step with the code provided?

Because if I create a form called list and if I’m not going to create page template, how do I apply it to Radio Controlled section?

Sorry, my head will not go straight with little replies but if I got it, I would be able to figure out how it works.

Thanks

Offline

Board footer

Powered by FluxBB