Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-12-22 11:45:22
- Robrain
- New Member
- Registered: 2005-12-21
- Posts: 3
Four problems
I’ve searched the forums and the FAQ for these problems so I don’t understand how no one else has these problems but anyways here it goes:
1) I can’t figure out how to edit the tabs. The Home tab goes to my main URL and not to the home of the blog and the about and contact tabs go to 404 errors, I don’t know how to insert contact information or about information. (Incase you need to know i’m using messy because my host doesn’t support clean URL’s). I also want to add a tab but don’t know how to do this…
2) The large, medium and small buttons don’t work.
3) I only have one article and on that article I selected comments on and there’s no option to comment.
4) I know this one has been covered on the forums but I couldn’t quite work out what to do from other threads, excerpts? If someone could tell me how to include them in a simple way, because the excerpt box doesn’t work.
Thanks in advance.
Offline
Re: Four problems
Only 4?
1. If your blog is in a sub-directory you need to add that directory to your site address in “Admin/Preferences” and you will need to create sections in the “Sections” tab for “About” and “Contact”.
2. I have no idea what this is but I’m going to assume you have installed a template or something. More information is required.
3 & 4. For excerpts to work you need to add some code to the default FORM template which includes some conditionals. It goes something like this:-
<code>
<txp:if_article_list>
<txp:if_excerpt>
<txp:excerpt />
<txp:permlink>But there’s more</txp:permlink>
<txp:else />
<txp:body />
</txp:if_excerpt>
<txp:else />
<txp:body />
</txp:if_article_list>
<txp:comments_invite /></code>
<br />
This code will use an excerpt on the front-page if there is an excerpt else it will show the full body, and on the backpage it will always show the full body. You put the excerpt text that you want to appear in the excerpt textarea just under the main article textarea. Note the <code><txp:comments_invite /></code> tag at the bottom. That creates the link to the backpage (comments). It is not surrounded by any other tags.
This code should replace the <code><txp:body /></code> and <code><txp:comments_invite /></code> tag in your default FORM template. Keep all the other stuff.
Last edited by thebombsite (2005-12-22 16:45:36)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Pages: 1