Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-12-17 12:28:42
- fjellman
- New Member
- Registered: 2005-12-17
- Posts: 5
Extreme newbie question: I have a site and want to put articles inside
Hi all.
The case is this:
I have made a site (the first page anyway) and on this site there is a div-tag called “includes”. This layer is ment to hold one article that different admins can edit. That is all I want to do with Textpattern. Just single pages that are supposed to be updated from time to time by others than me. Can someone give me a step-by-step instruction on how to to this? I do not want to make an entire site with Textpattern, and do not understand how to get articles into an existing site. I would research more if I had the time, but this project is due finsihed by christmas. I thought I would understand Textpattern faster than I have, so now I’m in time-trouble.
Regards
Morten
Offline
Re: Extreme newbie question: I have a site and want to put articles inside
<a href=“http://textpattern.com/faq/65/how-do-i-embed-textpattern-in-an-external-page”>FAQ</a>. Short answer: what you’re asking can’t be done, but there are other methods that’ll give you the same end result.
Offline
#3 2005-12-17 14:32:26
- fjellman
- New Member
- Registered: 2005-12-17
- Posts: 5
Re: Extreme newbie question: I have a site and want to put articles inside
Thank you for your suggestion. Does this mean that I should copy my source code into the TP templates? And what does txp:php mean? Sorry for asking such, I imagine, simple questions. I’m just a little frantic right now :)
Regards
Morten
Offline
Re: Extreme newbie question: I have a site and want to put articles inside
<a href=“http://textpattern.net/wiki/index.php?title=Txp:php”>txp:php documentation</a>.
<blockquote>Does this mean that I should copy my source code into the TP templates?</blockquote>
Essentially, yes. You’d need to, of course, modify your source to work with Textpattern and configure your Textpattern templates, CSS, etc. But that’s the basic idea.
Last edited by Elenita (2005-12-17 14:59:18)
Offline
#5 2005-12-17 15:54:24
- fjellman
- New Member
- Registered: 2005-12-17
- Posts: 5
Re: Extreme newbie question: I have a site and want to put articles inside
Thank you!
What exactly do I have to put into the source for it to work with TP? And as for the css, can’t I just copy all my css over the TP css? I will not be using any of the features in TP except for publishing articles(without date, comments etc), so all the tags in the source that need to be formatted would be mine, right?
Thank you for helping me.
Regards
Morten
Offline
Re: Extreme newbie question: I have a site and want to put articles inside
Your css should work fine if pasted straight into the “styles” editor. But because TxP is capable of using more than one stylesheet (theoretically, an unlimited number could be stored in the database), you need to make sure that you call the correct one using the <code><txp:css /></code> tag.
<blockquote>I will not be using any of the features in TP except for publishing articles(without date, comments etc), so all the tags in the source that need to be formatted would be mine, right?</blockquote>
Not really. You would, at the very least, need to use some Textpattern tags to make sure the article(s) you wanted to display showed up in the correct place. If you want to control how the article was displayed (even without permalinks, prev/next links, etc.), there’d be still more tweaking to do.
I don’t mean to be rude, but may I ask why you decided to use Textpattern? Not that anything you’ve suggested so far is difficult (much less impossible) to do, but a lot of what you seem to be doing is counter-intuitive to how Textpattern works. There’s nothing wrong with that, but considering that you’re on a tight timeframe I can’t help but wonder if you’re using the wrong tool for the job.
Last edited by Elenita (2005-12-19 04:19:39)
Offline
#7 2005-12-18 10:34:32
- fjellman
- New Member
- Registered: 2005-12-17
- Posts: 5
Re: Extreme newbie question: I have a site and want to put articles inside
Thanks again for your reply.
I’ll do some trial and error for a while and see if I can’t get it to work. :)
The reason for using TxP is basically because it seemed like a small enough CMS for the job, and the fact that it spits out valid xhtml code made it very attractive. I will use TxP on my own site where I will experiment to learn it fully. It seems a bit time consuming to learn a new cms everytime the project differs in size, so I went for TxP as it looks good enough to handle small as well as large projects.
Regards
Morten
Offline
Re: Extreme newbie question: I have a site and want to put articles inside
I hope your experimenting goes well.
Again, I don’t want to discourage you from using Textpattern. It definitely qualifies as a flexible, standards-compliant CMS that handles a wide variety of projects well. I, of course, love it—or I wouldn’t be spending so much of my time on these boards. But sometimes, jumping into a piece of software on a tight timeframe — particularly when a lot of your needs don’t jive out of the box with the software’s default way of doing things — can be a difficult, unnecessarily frustrating experience.
I hope all goes well for you.
Last edited by Elenita (2005-12-19 05:22:17)
Offline
#9 2005-12-19 16:58:50
- fjellman
- New Member
- Registered: 2005-12-17
- Posts: 5
Re: Extreme newbie question: I have a site and want to put articles inside
Thank you :)
I agree that jumping into new software when on a tight timeframe is a bad idea. The thing is I need(or rather want) the code to be xhtml complient. I have no knowledge of other cms so I chose TxP. If you have an alternative which is simpler to understand and does what I want it to do, then I would very much like to hear about it. I will still use TxP in the future, but for this project I’ll take pretty much anything that does the job right. :)
Regards
Morten
Offline