Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-11-06 02:39:27
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Absolute Textpattern New-comer
Apologies first off to all who are experienced users etc. But i need answers.
So, basically, i design and develop sites with XHTML/CSS, but am about to use Textpattern for the first time. my questions are as follows:
1) is Textpattern php based (like, for example Mambo/Joomla etc.)?
2) Is there any special coding for making a template for the whole site, or is xhtml/css all i need, and everything else is taken care of in Textpattern backend?
3) Any special considerations i should make in template design (eg., class or id better or worse, names, etc)?
Basically i want to know what i have to do to get a pure xhtml/css template from my computer to Textpattern, serving my whole site.
There will be more questions once i am up and running, but this is basically it for now. thanks.
Offline
Re: Absolute Textpattern New-comer
Apologies first off to all who are experienced users etc. But i need answers.
So, basically, i design and develop sites with XHTML/CSS, but am about to use Textpattern for the first time. my questions are as follows:
1) is Textpattern php based (like, for example Mambo/Joomla etc.)?
textpattern uses php/mySQL
2) Is there any special coding for making a template for the whole site, or is xhtml/css all i need, and everything else is taken care of in Textpattern backend?
There are special tags to help you make the site dynamic but it is basically xhtml/css based
3) Any special considerations i should make in template design (eg., class or id better or worse, names, etc)?
Basically i want to know what i have to do to get a pure xhtml/css template from my computer to Textpattern, serving my whole site.
There will be more questions once i am up and running, but this is basically it for now. thanks.
Just write it and txp is flexible enough.
Just check the templates in the online demo here to get the basic idea for it.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2007-11-06 06:01:14
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: Absolute Textpattern New-comer
ok so i get the basi idea – but, for example, on the site it has the slogan as something like (forgive my poor recollection of syntax) <txp_site-slogan /> or something like that (can’t access it right now as it is in strange characters all over). If i wanted to use the Textpattern tag for a slogn, how would i set its content for when i use it? thanks.
Offline
#4 2007-11-06 06:59:22
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: Absolute Textpattern New-comer
That is to say, are the tags set to some value in the template already, and if so, how do i reset them or apply my own values to them?
Offline
#5 2007-11-06 11:59:42
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: Absolute Textpattern New-comer
ok after some messing around i have worked out all other questions for now except this – how do i make the articles on the fron-page limited in length (not show the whole article there)?
Offline
Re: Absolute Textpattern New-comer
Have a read of this article.
The excerpt you want to appear is placed in the smaller textarea below the main article textarea.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#7 2007-11-06 22:34:34
- tc03
- Member
- Registered: 2007-11-06
- Posts: 92
Re: Absolute Textpattern New-comer
Am i right to assume the following from the Textpattern demo ‘Page Templates’: the following code from the body could have been achieved with a link to a ‘From’ instead? Is this what forms are used for?
<!— center —> <div id=“content”> <txp:article limit=“5” />
<txp:if_individual_article>
<p><txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
<txp:link_to_next><txp:next_title /></txp:link_to_next></p>
<txp:else />
<p><txp:older><txp:text item=“older” /></txp:older>
<txp:newer><txp:text item=“newer” /></txp:newer></p>
</txp:if_individual_article>
Offline
#8 2007-11-06 22:46:33
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Absolute Textpattern New-comer
You could do that, if you wanted to use this exact piece of code on more than one page template (or more than once on a page). You’d only have to modify one form in case you need to change it, not several page templates.
See also TextBook.
Offline
Pages: 1